The Function Module CR_SCHED_VIA_OPERATING_TIME (Ermitteln Einsatzzeit über Arbeitsplatz) is a standard Function Module in SAP ERP and is part of the function group CRK1 within the package CR.
Function Module | CR_SCHED_VIA_OPERATING_TIME |
Short Text | Ermitteln Einsatzzeit über Arbeitsplatz |
Function Group | CRK1 |
Package | CR |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
ARBID | LIKE | CRHD-OBJID | Capacity that can be planned (Work cntr.,single mach.,pers.) | |
DATE_END_IN | LIKE | SY-DATUM | 0 | Finish date (alternative to POINT_IN_TIME) |
DATE_START_IN | LIKE | SY-DATUM | 0 | Start date (alternative to POINT_IN_TIME) |
DURATION_IN | TYPE | CX_DURATION_SEC | 0 | Duration which is distributed across the shift model |
DURATION_UNIT | TYPE | F | 0 | Duration in unit >- day |
FLG_CAPACITY_SCHEDULING | TYPE | FLAG | SPACE | Indicator: Finite scheduling |
FLG_COMPUTE_BEG_END_PROD | TYPE | FLAG | SPACE | ID duration start/finish shift to prod. time |
FLG_DAYS_VIA_STD_CAPACITY | TYPE | FLAG | SPACE | ID durat. via std. avail. capacity, in days |
FLG_EXACT_BREAKS | TYPE | FLAG | SPACE | Control ind.: take breaks into account individually or in total |
FLG_NO_BREAKS | TYPE | FLAG | Keine Unterbrechungen durch Pausen oder Kalender | |
FLG_UNIT_GE_DAY | TYPE | FLAG | SPACE | Ind: finite scheduling with time unit >- day |
KAPA_VERSNR | LIKE | KAKO-VERSA | 0 | Version number of the capacity (else from KAKO) |
KAPID | LIKE | KAKO-KAPID | Capacity to which is scheduled | |
POINT_IN_TIME_END_IN | TYPE | CX_POINT_IN_TIME | 0 | End time up to which one calculates |
POINT_IN_TIME_START_IN | TYPE | CX_POINT_IN_TIME | 0 | Starting time from which one calculates |
TIME_END_IN | LIKE | SY-UZEIT | 0 | Finish time |
TIME_START_IN | LIKE | SY-UZEIT | 0 | Start time |
UNIT | LIKE | T006-MSEHI | SPACE | Unit >- day |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
DATE_END_OUT | LIKE | SY-DATUM | Calculated finish date | |
DATE_START_OUT | LIKE | SY-DATUM | Calculated start date | |
DURATION_DAYS_OUT | TYPE | F | Duration in days | |
DURATION_OUT | TYPE | CX_DURATION_SEC | Calculated operating times | |
FLG_ONLY_STD_CAPACITY_OUT | TYPE | C | Ind.: available capacity is only std avail. cap. | |
FLG_PREV_DAY_OUT | TYPE | C | Ind: Start time is in previous day's shift | |
MIN_NUM_CAPACITIES | LIKE | KAPA-ANZHL | Minimum number individual capacities in the interval | |
POINT_IN_TIME_END_OUT | TYPE | CX_POINT_IN_TIME | Calculated end time | |
POINT_IN_TIME_START_OUT | TYPE | CX_POINT_IN_TIME | Calculated starting time | |
TIME_END_OUT | LIKE | SY-UZEIT | Calculated finish time | |
TIME_START_OUT | LIKE | SY-UZEIT | Calculated start time |
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 |
---|---|
CAPACITY_NOT_FOUND | Capacity data do not/not entirely exist |
DATE_OUT_OF_CALENDAR_RANGE | No calendar is defined for the date. |
DATE_OUT_OF_PIT_RANGE | Invalid date |
NO_ACTIVE_CAPACITY | No capacity active for finite scheduling |
NO_FREE_CAPACITY | Capa.sched.: short-term plang horizon reached |
NO_OPERATING_TIME | Work center has no capacity |
PARAMETERS_NOT_VALID | Invalid combination of the time-related parameters |
UNIT_CONVERSION_ERROR | |
WORKCENTER_NOT_VALID | Invalid work center |