DETERMINE_DDD_REQUEST_COORD SAP Method Determine valid coordinates for DDD request









Below is documentation, parameters and attributes of ABAP Method DETERMINE_DDD_REQUEST_COORD within SAP class /SCMB/CL_DIST_DUR_DET. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

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_DIST_DUR_DET 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 directly

The following technical details of method DETERMINE_DDD_REQUEST_COORD can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method DETERMINE_DDD_REQUEST_COORD

.

NameTypeData TypeDescriptionDefault Value
IV_GC_LEVELImportingTYPE
/SAPAPO/GC_LEVEL
Geocoding Level for a Location
IV_LOC_FRImportingTYPE
/SCMB/DE_GUID
GUID of an SCM Master Data Object
IV_LOC_TOImportingTYPE
/SCMB/DE_GUID
GUID of an SCM Master Data Object
IV_REQUEST_IDImportingTYPE
/SCTM/DE_REQUEST_ID
Identification for a Transportation Request
IV_LOCImportingTYPE
/SCMB/DE_GUID
GUID of an SCM Master Data Object
EV_FAILEDExportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
EV_LOC_FR_XPOSExportingTYPE
/SAPAPO/LOC_IC_LONGITUDE
Longitude of a Location, in integer coded format
EV_LOC_FR_YPOSExportingTYPE
/SAPAPO/LOC_IC_LATITUDE
Latitude of a Location, in integer coded format
EV_LOC_TO_XPOSExportingTYPE
/SAPAPO/LOC_IC_LONGITUDE
Longitude of a Location, in integer coded format
EV_LOC_TO_YPOSExportingTYPE
/SAPAPO/LOC_IC_LATITUDE
Latitude of a Location, in integer coded format
EV_LOC_XPOSExportingTYPE
/SAPAPO/LOC_IC_LONGITUDE
Longitude of a Location, in integer coded format
EV_LOC_YPOSExportingTYPE
/SAPAPO/LOC_IC_LATITUDE
Latitude of a Location, in integer coded format
CO_MESSAGE_HANDLERChangingTYPE REF TO
/SCMB/CL_LDDD_MESSAGE_HANDLER
Messages of RC DDD



Exceptions of Method DETERMINE_DDD_REQUEST_COORD

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lv_CO_MESSAGE_HANDLER TYPE /SCMB/CL_LDDD_MESSAGE_HANDLER,
lv_EV_FAILED TYPE BOOLE_D,
lv_EV_LOC_FR_XPOS TYPE /SAPAPO/LOC_IC_LONGITUDE,
lv_EV_LOC_FR_YPOS TYPE /SAPAPO/LOC_IC_LATITUDE,
lv_EV_LOC_TO_XPOS TYPE /SAPAPO/LOC_IC_LONGITUDE,
lv_EV_LOC_TO_YPOS TYPE /SAPAPO/LOC_IC_LATITUDE,
lv_IV_GC_LEVEL TYPE /SAPAPO/GC_LEVEL,
lv_IV_LOC_FR TYPE /SCMB/DE_GUID,
lv_IV_LOC_TO TYPE /SCMB/DE_GUID,
lv_IV_REQUEST_ID TYPE /SCTM/DE_REQUEST_ID,
lv_EV_LOC_XPOS TYPE /SAPAPO/LOC_IC_LONGITUDE,
lv_EV_LOC_YPOS TYPE /SAPAPO/LOC_IC_LATITUDE,
lv_IV_LOC TYPE /SCMB/DE_GUID,
lv_other TYPE c.

CALL METHOD /SCMB/CL_DIST_DUR_DET=>DETERMINE_DDD_REQUEST_COORD(
EXPORTING
IV_GC_LEVEL = lv_IV_GC_LEVEL
IV_LOC_FR = lv_IV_LOC_FR
IV_LOC_TO = lv_IV_LOC_TO
IV_REQUEST_ID = lv_IV_REQUEST_ID
IV_LOC = lv_IV_LOC
IMPORTING
EV_FAILED = lv_EV_FAILED
EV_LOC_FR_XPOS = lv_EV_LOC_FR_XPOS
EV_LOC_FR_YPOS = lv_EV_LOC_FR_YPOS
EV_LOC_TO_XPOS = lv_EV_LOC_TO_XPOS
EV_LOC_TO_YPOS = lv_EV_LOC_TO_YPOS
EV_LOC_XPOS = lv_EV_LOC_XPOS
EV_LOC_YPOS = lv_EV_LOC_YPOS
CHANGING
CO_MESSAGE_HANDLER = lv_CO_MESSAGE_HANDLER ).

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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!