DETERMINE SAP Method Determine Duration









Below is documentation, parameters and attributes of ABAP Method DETERMINE within SAP class /SCMB/IF_SC_DURG. 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/IF_SC_DURG into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

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

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


Parameters of Method DETERMINE

.

NameTypeData TypeDescriptionDefault Value
IT_PROPTSImportingTYPE
/SCMB/SC_PROPERTY_TAB
SCMB Scheduling: Table of Properties (Sorted)
IV_ACTITYPEImportingTYPE
/SCMB/SC_ACTI_TYPE
SCMB Scheduling: Technical Description of an Activity
IV_CALLIDImportingTYPE
/SCMB/SC_CALLID
SCMB Scheduling: Identifier for Call of External Services
IV_DATA_NAMEImportingTYPE
/SCMB/SC_DATA_NAME
SCMB Scheduling: Internal Name of a Property
IV_DURATYPEImportingTYPE
/SCMB/SC_DURA_TYPE
SCMB Scheduling: Activity Type Category
IV_LOCA_ENDImportingTYPE
/SCMB/SC_PROPERTY_VALUE
SCMB Scheduling: Value of a Property
IV_LOCA_STARTImportingTYPE
/SCMB/SC_PROPERTY_VALUE
SCMB Scheduling: Value of a Property
IV_SCHEMEImportingTYPE
/SCMB/SC_SCHEME
SCMB Scheduling: Scheduling Schema
EV_DURATIONExportingTYPE
/SCMB/SC_DURATION
SCMB Scheduling: Duration
EV_SUCCESSExportingTYPE
/SCMB/SC_DETER_SUCCESS
SCMB Scheduling: Indicator for Successful Determination
EV_UNIT_DURAExportingTYPE
TIMEUNITNA
Name of Time Unit



Exceptions of Method DETERMINE

/SCMB/CX_SC_DETERMINE - SCMB Scheduling: Exception in Determination Routines

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMB/IF_SC_DURG.
DATA: lv_EV_DURATION TYPE /SCMB/SC_DURATION,
lv_EV_SUCCESS TYPE /SCMB/SC_DETER_SUCCESS,
lv_EV_UNIT_DURA TYPE TIMEUNITNA,
lv_IT_PROPTS TYPE /SCMB/SC_PROPERTY_TAB,
lv_IV_ACTITYPE TYPE /SCMB/SC_ACTI_TYPE,
lv_IV_CALLID TYPE /SCMB/SC_CALLID,
lv_IV_DATA_NAME TYPE /SCMB/SC_DATA_NAME,
lv_IV_DURATYPE TYPE /SCMB/SC_DURA_TYPE,
lv_IV_LOCA_END TYPE /SCMB/SC_PROPERTY_VALUE,
lv_IV_LOCA_START TYPE /SCMB/SC_PROPERTY_VALUE,
lv_IV_SCHEME TYPE /SCMB/SC_SCHEME,
lv_other TYPE c.

CALL METHOD lo_class=>DETERMINE(
EXPORTING
IT_PROPTS = lv_IT_PROPTS
IV_ACTITYPE = lv_IV_ACTITYPE
IV_CALLID = lv_IV_CALLID
IV_DATA_NAME = lv_IV_DATA_NAME
IV_DURATYPE = lv_IV_DURATYPE
IV_LOCA_END = lv_IV_LOCA_END
IV_LOCA_START = lv_IV_LOCA_START
IV_SCHEME = lv_IV_SCHEME
IMPORTING
EV_DURATION = lv_EV_DURATION
EV_SUCCESS = lv_EV_SUCCESS
EV_UNIT_DURA = lv_EV_UNIT_DURA ).

Links to Related Class(s)

/SCMB/IF...
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!