DETERMINE_DIST_DUR_BY_STRATEGY SAP Method Determine Distance/Duration with given Strategy









Below is documentation, parameters and attributes of ABAP Method DETERMINE_DIST_DUR_BY_STRATEGY 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_DIST_DUR_BY_STRATEGY can also be found below:

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


Parameters of Method DETERMINE_DIST_DUR_BY_STRATEGY

.

NameTypeData TypeDescriptionDefault Value
IT_MTR_GROUPImportingTYPE
TT_MTR_GROUP_HT
Table Type for Assignemt of Mtr to Mtr Group
IV_OPTIMIZED_RESULTImportingTYPE
BOOLE_D
Create only optimized results
IV_OVERWRITEImportingTYPE
BOOLE_D
Overwrite buffered entries
ET_RESULT_OPTExportingTYPE
/SCMB/T_DDD_RESULT_OPT
Distance Result for VSR optmizer
CO_MESSAGE_HANDLERChangingTYPE REF TO
/SCMB/CL_LDDD_MESSAGE_HANDLER
Message Handler for LDDD Messages
CT_LOCATIONSChangingTYPE
/SCMB/TT_DDD_LOC_BUFFER
Location Buffer
CT_REQUEST_EXTERNALChangingTYPE
/SCMB/T_DDD_DIDU_REQUEST
SCMB DDD Request Table Type for Dist and Dura Det
CT_REQUEST_INTERNALChangingTYPE
/SCMB/T_DDD_REQUEST_STRATEGY
SCMB DDD Request Table Type for Strategy Determination



Exceptions of Method DETERMINE_DIST_DUR_BY_STRATEGY

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_CT_LOCATIONS TYPE /SCMB/TT_DDD_LOC_BUFFER,
lv_CT_REQUEST_EXTERNAL TYPE /SCMB/T_DDD_DIDU_REQUEST,
lv_CT_REQUEST_INTERNAL TYPE /SCMB/T_DDD_REQUEST_STRATEGY,
lv_ET_RESULT_OPT TYPE /SCMB/T_DDD_RESULT_OPT,
lv_IT_MTR_GROUP TYPE TT_MTR_GROUP_HT,
lv_IV_OPTIMIZED_RESULT TYPE BOOLE_D,
lv_IV_OVERWRITE TYPE BOOLE_D,
lv_other TYPE c.

CALL METHOD /SCMB/CL_DIST_DUR_DET=>DETERMINE_DIST_DUR_BY_STRATEGY(
EXPORTING
IT_MTR_GROUP = lv_IT_MTR_GROUP
IV_OPTIMIZED_RESULT = lv_IV_OPTIMIZED_RESULT
IV_OVERWRITE = lv_IV_OVERWRITE
IMPORTING
ET_RESULT_OPT = lv_ET_RESULT_OPT
CHANGING
CO_MESSAGE_HANDLER = lv_CO_MESSAGE_HANDLER
CT_LOCATIONS = lv_CT_LOCATIONS
CT_REQUEST_EXTERNAL = lv_CT_REQUEST_EXTERNAL
CT_REQUEST_INTERNAL = lv_CT_REQUEST_INTERNAL ).

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!