The Function Module CX_SCHED_VIA_OPERATING_TIME (Scheduling using operating time) is a standard Function Module in SAP ERP and is part of the function group CXOT within the package CX.
Function Module | CX_SCHED_VIA_OPERATING_TIME |
Short Text | Scheduling using operating time |
Function Group | CXOT |
Package | CX |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
I_ARBID | TYPE | CRHD-OBJID | Work center where operating time is defined | |
I_DATE_END | TYPE | AFVGD-FSAVD | '00000000' | Finish date (for backward scheduling) |
I_DATE_START | TYPE | AFVGD-FSAVD | '00000000' | Start date (for forward scheduling) |
I_DURATION | LIKE | 0 | Duration in unit I_UNIT | |
I_DURATION_SEC | TYPE | CX_DURATION_SEC | 0 | Duration in seconds |
I_FCALID | TYPE | SCAL-FCALID | SPACE | Factory calendar (if no work center) |
I_FLG_CAP_SCHEDULING | TYPE | CX_BOOL | SPACE | Check capacity load (finite loading) |
I_FLG_EXACT_BREAKS | TYPE | CX_BOOL | SPACE | Control ind.: take breaks into account individually or in total |
I_KAPID | TYPE | KBED-KAPID | Capacity key for scheduling basis | |
I_PERNR | TYPE | PCHDY-OBJID | Personnel no. for capacity calculation of person | |
I_POINT_IN_TIME_END | TYPE | CX_POINT_IN_TIME | 0 | Finish time (for backward scheduling) |
I_POINT_IN_TIME_START | TYPE | CX_POINT_IN_TIME | 0 | Start time (for forward scheduling) |
I_TIME_END | TYPE | AFVGD-FSAVZ | '240000' | Finish time (for backward scheduling) |
I_TIME_START | TYPE | AFVGD-FSAVZ | '000000' | Start time (for forward scheduling) |
I_UNIT | TYPE | T006-MSEHI | SPACE | Unit of duration (I_DURATION) |
I_UNIT_EXP | TYPE | T006-MSEHI | SPACE | Unit of duration to be calculated (E_DURATION) |
I_VERSA | TYPE | KAKO-VERSA | Version number of capacity (otherwise from KAKO) |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
E_DATE_END | LIKE | AFVGD-FSAVD | Calculated finish date | |
E_DATE_START | LIKE | AFVGD-FSAVD | Calculated start date | |
E_DURATION | LIKE | Calculated duration in unit I_UNIT_EXP | ||
E_DURATION_SEC | TYPE | CX_DURATION_SEC | Calculated duration in seconds | |
E_MESSAGE_CODE | LIKE | SY-SUBRC | Code for message to be displayed (CX_F_MESSAGE) | |
E_MIN_NUM_CAPACITIES | LIKE | KAPA-ANZHL | Number of available capacities (for splitting) | |
E_POINT_IN_TIME_END | TYPE | CX_POINT_IN_TIME | Calculated finish time | |
E_POINT_IN_TIME_START | TYPE | CX_POINT_IN_TIME | Calculated start time | |
E_TIME_END | LIKE | AFVGD-FSAVZ | Calculated finish time | |
E_TIME_START | LIKE | AFVGD-FSAVZ | Calculated start time | |
E_UNIT | LIKE | T006-MSEHI | Unit of calculated duration (E_DURATION) |
This function module does not define any CHANGING parameters.
This function module does not define any TABLE parameters.
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
PARAMETERS_NOT_VALID | Input parameter not valid |