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
.| Name | Type | Data Type | Description | Default Value |
| IO_CONTAINER | Importing | TYPE REF TO IF_SWF_IFS_PARAMETER_CONTAINER | Container to Transfer Parameters | |
| IT_PROPS | Importing | TYPE /SCMB/SC_PROPERTY_TAB | SCMB Scheduling: Table of Properties (Sorted) | |
| IV_ACTIDCAT | Importing | TYPE /SCMB/SC_ACTI_DCAT | SCMB Scheduling: Date Category | |
| IV_ACTITYPE | Importing | TYPE /SCMB/SC_ACTI_TYPE | SCMB Scheduling: Technical Description of an Activity | |
| IV_CALLID | Importing | TYPE /SCMB/SC_CALLID | SCMB Scheduling: Identifier for Call of External Services | |
| IV_DATETYPE | Importing | TYPE /SCMB/SC_DATE_TYPE | SCMB Scheduling: Technical Description of a Date | |
| IV_DATEUNIT | Importing | TYPE TIMEUNITNA | Time Unit of Request Date | |
| IV_DIRECTION | Importing | TYPE TSTR_DIRECTION | Scheduling direction | |
| IV_FCAL | Importing | TYPE WFCID | Factory Calendar of Activity | |
| IV_LOCA | Importing | TYPE /SCMB/SC_PROPERTY_VALUE | Partner/Location of Activity | |
| IV_TIME | Importing | TYPE TIMESTAMP | Request Date (in UTC) | |
| IV_TSTRID | Importing | TYPE TSTRID | Time Stream of Activity: External ID | |
| IV_TZONE | Importing | TYPE TZNZONE | Time Zone of Activity | |
| ET_RESULT | Exporting | TYPE /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 MethodsExample 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