CONVERT_COORDINATES SAP Method Convert Coordinates
Below is documentation, parameters and attributes of ABAP Method CONVERT_COORDINATES within SAP class /SCMB/CL_MAP_SP_SCMB_GENERIC. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMB/CL_MAP_SP_SCMB_GENERIC into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method CONVERT_COORDINATES can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CONVERT_COORDINATES
.| Name | Type | Data Type | Description | Default Value |
| IV_XPOS | Importing | TYPE /SAPAPO/LOC_HORIZGPS | Longitude Specified in GPS Coordinates | |
| IV_YPOS | Importing | TYPE /SAPAPO/LOC_VERTIGPS | Latitude Specified in GPS Coordinates | |
| RS_MAP_OBJECT_POS | Returning | TYPE VBC_S_GEOMAP_OBJECT_POSITION | Geo-Map: Map Object Position |
Exceptions of Method CONVERT_COORDINATES
This method does not have any exceptionsExample ABAP coding
DATA: lv_IV_XPOS TYPE /SAPAPO/LOC_HORIZGPS,
lv_IV_YPOS TYPE /SAPAPO/LOC_VERTIGPS,
lv_RS_MAP_OBJECT_POS TYPE VBC_S_GEOMAP_OBJECT_POSITION,
lv_other TYPE c.
CALL METHOD /SCMB/CL_MAP_SP_SCMB_GENERIC=>CONVERT_COORDINATES(
EXPORTING
IV_XPOS = lv_IV_XPOS
IV_YPOS = lv_IV_YPOS
RECEIVING
RS_MAP_OBJECT_POS = lv_RS_MAP_OBJECT_POS )
"Alternate coding for Method Call with returning parameter
lv_RS_MAP_OBJECT_POS = /SCMB/CL_MAP_SP_SCMB_GENERIC=>CONVERT_COORDINATES(
EXPORTING
IV_XPOS = lv_IV_XPOS
IV_YPOS = lv_IV_YPOS ).
Links to Related Class(s)
/SCMB/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects