The Function Module DURATION_DETERMINE (Calendar: Determine duration between two times) is a standard Function Module in SAP ERP and is part of the function group SCA4 within the package SZC.
Function Module | DURATION_DETERMINE |
Short Text | Calendar: Determine duration between two times |
Function Group | SCA4 |
Package | SZC |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
FACTORY_CALENDAR | LIKE | SCAL-FCALID | Factory calendar | |
UNIT | LIKE | T006-MSEHI | Time unit |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
DURATION | LIKE | Duration |
These are the CHANGING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
END_DATE | LIKE | SY-DATUM | SY-DATUM | End date |
END_TIME | LIKE | SY-UZEIT | SY-UZEIT | End Time |
START_DATE | LIKE | SY-DATUM | SY-DATUM | Start date |
START_TIME | LIKE | SY-UZEIT | SY-UZEIT | Start time |
This function module does not define any TABLE parameters.
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
DATE_NOT_VALID | Date is invalid |
DATE_OUT_OF_CALENDAR_RANGE | Date outside factory calendar validity |
FACTORY_CALENDAR_NOT_FOUND | Factory calendar not found |
PARAMETERS_NOT_VALID | Input parameters invalid |
SI_UNIT_MISSING | Time unit missing |
UNIT_CONVERSION_ERROR | Time unit conversion error |