SET_DATE SAP Method Set the Start/Finish Time of an Activity









Below is documentation, parameters and attributes of ABAP Method SET_DATE within SAP class /SCMB/IF_SC_EXTM. 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_EXTM 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 SET_DATE can also be found below:

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


Parameters of Method SET_DATE

.

NameTypeData TypeDescriptionDefault Value
IO_CONTAINERImportingTYPE REF TO
IF_SWF_IFS_PARAMETER_CONTAINER
Container to Transfer Parameters
IT_PROPSImportingTYPE
/SCMB/SC_PROPERTY_TAB
SCMB Scheduling: Table of Properties (Sorted)
IV_ACTIDCATImportingTYPE
/SCMB/SC_ACTI_DCAT
SCMB Scheduling: Date Category
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_DATETYPEImportingTYPE
/SCMB/SC_DATE_TYPE
SCMB Scheduling: Technical Description of a Date
IV_DATEUNITImportingTYPE
TIMEUNITNA
Time Unit of Request Date
IV_DIRECTIONImportingTYPE
TSTR_DIRECTION
Scheduling direction
IV_FCALImportingTYPE
WFCID
Factory Calendar of Activity
IV_LOCAImportingTYPE
/SCMB/SC_PROPERTY_VALUE
Partner/Location of Activity
IV_TIMEImportingTYPE
TIMESTAMP
Request Date (in UTC)
IV_TSTRIDImportingTYPE
TSTRID
Time Stream of Activity: External ID
IV_TZONEImportingTYPE
TZNZONE
Time Zone of Activity
ET_RESULTExportingTYPE
/SCMB/SC_EXTMRESULT_TAB
SCMB Scheduling: Results of External Processing Grade 1



Exceptions of Method SET_DATE

/SCMB/CX_SC_EXTM - SCMB Scheduling: Exceptions External Methods

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMB/IF_SC_EXTM.
DATA: lv_ET_RESULT TYPE /SCMB/SC_EXTMRESULT_TAB,
lv_IO_CONTAINER TYPE IF_SWF_IFS_PARAMETER_CONTAINER,
lv_IT_PROPS TYPE /SCMB/SC_PROPERTY_TAB,
lv_IV_ACTIDCAT TYPE /SCMB/SC_ACTI_DCAT,
lv_IV_ACTITYPE TYPE /SCMB/SC_ACTI_TYPE,
lv_IV_CALLID TYPE /SCMB/SC_CALLID,
lv_IV_DATETYPE TYPE /SCMB/SC_DATE_TYPE,
lv_IV_DATEUNIT TYPE TIMEUNITNA,
lv_IV_DIRECTION TYPE TSTR_DIRECTION,
lv_IV_FCAL TYPE WFCID,
lv_IV_LOCA TYPE /SCMB/SC_PROPERTY_VALUE,
lv_IV_TIME TYPE TIMESTAMP,
lv_IV_TSTRID TYPE TSTRID,
lv_IV_TZONE TYPE TZNZONE,
lv_other TYPE c.

CALL METHOD lo_class=>SET_DATE(
EXPORTING
IO_CONTAINER = lv_IO_CONTAINER
IT_PROPS = lv_IT_PROPS
IV_ACTIDCAT = lv_IV_ACTIDCAT
IV_ACTITYPE = lv_IV_ACTITYPE
IV_CALLID = lv_IV_CALLID
IV_DATETYPE = lv_IV_DATETYPE
IV_DATEUNIT = lv_IV_DATEUNIT
IV_DIRECTION = lv_IV_DIRECTION
IV_FCAL = lv_IV_FCAL
IV_LOCA = lv_IV_LOCA
IV_TIME = lv_IV_TIME
IV_TSTRID = lv_IV_TSTRID
IV_TZONE = lv_IV_TZONE
IMPORTING
ET_RESULT = lv_ET_RESULT ).

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!