SCHEDULE_SINGLE SAP Method Schedule an Activity
Below is documentation, parameters and attributes of ABAP Method SCHEDULE_SINGLE 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 SCHEDULE_SINGLE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SCHEDULE_SINGLE
.| 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_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_DATEUNIT | Importing | TYPE TIMEUNITNA | Time Unit of Request Date | |
| IV_DATEUNIT_2ND | Importing | TYPE TIMEUNITNA | Time Unit of Other Date of an Activity | |
| IV_DIRECTION | Importing | TYPE TSTR_DIRECTION | Scheduling Direction | |
| IV_DURATION | Importing | TYPE /SCMB/SC_DURATION | SCMB Scheduling: Duration | |
| IV_FCAL | Importing | TYPE WFCID | Factory Calendar of Activity | |
| IV_LOCA_END | Importing | TYPE /SCMB/SC_PROPERTY_VALUE | Partner/Location of Finish of Activity | |
| IV_LOCA_START | Importing | TYPE /SCMB/SC_PROPERTY_VALUE | Partner/Location of Start 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 | |
| IV_UNIT_DURA | Importing | TYPE TIMEUNITNA | Name of Time Unit | |
| ET_RESULT | Exporting | TYPE /SCMB/SC_EXTMRESULT_GRADE2_TAB | SCMB Scheduling: Results of External Processing Grade 2 |
Exceptions of Method SCHEDULE_SINGLE
/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_GRADE2_TAB,
lv_IO_CONTAINER TYPE IF_SWF_IFS_PARAMETER_CONTAINER,
lv_IT_PROPS TYPE /SCMB/SC_PROPERTY_TAB,
lv_IV_ACTITYPE TYPE /SCMB/SC_ACTI_TYPE,
lv_IV_CALLID TYPE /SCMB/SC_CALLID,
lv_IV_DATEUNIT TYPE TIMEUNITNA,
lv_IV_DATEUNIT_2ND TYPE TIMEUNITNA,
lv_IV_DIRECTION TYPE TSTR_DIRECTION,
lv_IV_DURATION TYPE /SCMB/SC_DURATION,
lv_IV_FCAL TYPE WFCID,
lv_IV_LOCA_END TYPE /SCMB/SC_PROPERTY_VALUE,
lv_IV_LOCA_START TYPE /SCMB/SC_PROPERTY_VALUE,
lv_IV_TIME TYPE TIMESTAMP,
lv_IV_TSTRID TYPE TSTRID,
lv_IV_TZONE TYPE TZNZONE,
lv_IV_UNIT_DURA TYPE TIMEUNITNA,
lv_other TYPE c.
CALL METHOD lo_class=>SCHEDULE_SINGLE(
EXPORTING
IO_CONTAINER = lv_IO_CONTAINER
IT_PROPS = lv_IT_PROPS
IV_ACTITYPE = lv_IV_ACTITYPE
IV_CALLID = lv_IV_CALLID
IV_DATEUNIT = lv_IV_DATEUNIT
IV_DATEUNIT_2ND = lv_IV_DATEUNIT_2ND
IV_DIRECTION = lv_IV_DIRECTION
IV_DURATION = lv_IV_DURATION
IV_FCAL = lv_IV_FCAL
IV_LOCA_END = lv_IV_LOCA_END
IV_LOCA_START = lv_IV_LOCA_START
IV_TIME = lv_IV_TIME
IV_TSTRID = lv_IV_TSTRID
IV_TZONE = lv_IV_TZONE
IV_UNIT_DURA = lv_IV_UNIT_DURA
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