SET_DUE_DATE_TIME SAP Method Determine Start Time for Scheduling
Below is documentation, parameters and attributes of ABAP Method SET_DUE_DATE_TIME within SAP class IF_EX_BADI_EAM_DUE_DATE_TIME. 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 IF_EX_BADI_EAM_DUE_DATE_TIME 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_DUE_DATE_TIME can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SET_DUE_DATE_TIME
.| Name | Type | Data Type | Description | Default Value |
| ACTION | Importing | TYPE FCODE | Function Code | |
| I_ABRUFART | Importing | TYPE T399W-CALL_TYPE | Scheduling Type (Order, Notification, ...) | |
| I_ILOA | Importing | TYPE ILOA | Location Data | |
| I_IMHIS | Importing | TYPE WC_WMHIS | The Call To Be Changed | |
| I_MPLA | Importing | TYPE WC_WMPLA | Maintenance Plan | |
| T_AMHIS | Importing | TYPE WC_T_WMHIS | All Calls | |
| T_IMHIS | Importing | TYPE WC_T_WMHIS | All Calls to be Changed | |
| T_IMMPT | Importing | TYPE WC_T_WMMPT | Cycle definitions and MeasPoints for MaintPlan | |
| T_IMPOS | Importing | TYPE WC_T_WMPOS | Maintenance Items | |
| T_MHIO | Importing | TYPE T_MHIO | Table of Call Objects | |
| T_PACKAGE_DATA_ST_TL | Importing | TYPE WC_T_PACKAGE_DATA_ST_TL | Packages Used | |
| DUE_DATE_TIME | Changing | TYPE MHIS-DUE_DATE_TIME | Start Time for Scheduling |
Exceptions of Method SET_DUE_DATE_TIME
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_EAM_DUE_DATE_TIME.
DATA: lv_ACTION TYPE FCODE,
lv_DUE_DATE_TIME TYPE MHIS-DUE_DATE_TIME,
lv_I_ABRUFART TYPE T399W-CALL_TYPE,
lv_I_ILOA TYPE ILOA,
lv_I_IMHIS TYPE WC_WMHIS,
lv_I_MPLA TYPE WC_WMPLA,
lv_T_AMHIS TYPE WC_T_WMHIS,
lv_T_IMHIS TYPE WC_T_WMHIS,
lv_T_IMMPT TYPE WC_T_WMMPT,
lv_T_IMPOS TYPE WC_T_WMPOS,
lv_T_MHIO TYPE T_MHIO,
lv_T_PACKAGE_DATA_ST_TL TYPE WC_T_PACKAGE_DATA_ST_TL,
lv_other TYPE c.
CALL METHOD lo_class=>SET_DUE_DATE_TIME(
EXPORTING
ACTION = lv_ACTION
I_ABRUFART = lv_I_ABRUFART
I_ILOA = lv_I_ILOA
I_IMHIS = lv_I_IMHIS
I_MPLA = lv_I_MPLA
T_AMHIS = lv_T_AMHIS
T_IMHIS = lv_T_IMHIS
T_IMMPT = lv_T_IMMPT
T_IMPOS = lv_T_IMPOS
T_MHIO = lv_T_MHIO
T_PACKAGE_DATA_ST_TL = lv_T_PACKAGE_DATA_ST_TL
CHANGING
DUE_DATE_TIME = lv_DUE_DATE_TIME ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects