SAP DDIC DATABASE TABLES SPTLRF



Get Example source ABAP code based on a different SAP table
  



ABAP_DDIC - Spatial Reference System
The definition of a spatial reference system is mandatory for table fields with the geodata type GEOM_EWKB. For other data types, this property is not available.
A spatial reference system consists of various parameters that are used to represent a geometry, such as the name of the coordinate system from which the coordinates are derived. The specification of a spatial reference system is done by an integer identifier. The integer identifiers of spatial reference systems that are available in the current SAP HANA database are provided by the HANA-View ST_SPATIAL_REFERENCE_SYSTEMS.
The default value for the identifier of the spatial reference system is 0 and indicates a Cartesian coordinate system. Once a table (or structure) is activated, the definition of the spatial reference system of a geodata type must not be modified.
Spatial reference systems are not managed by ABAP. There is no guarantee that a spatial reference system which is available in one system is also available in a follow-on system. An application that works with spatial reference systems is responsible for providing spatial references in all affected systems by using native HANA functions.



Latest notes:

The program ABAP_DOCU_SHOW_SPATIAL_REF_SYS shows the spatial reference systems that are available in the current system.
NON_V5_HINTS
The instance method GET_SPATIAL_REFERENCE_SYSTEMS of the class CL_DD_DATATYPE reads the possible identifiers for spatial reference systems from the SAP HANA view using Native SQL.
ABAP_HINT_END