The Function Module CY_GET_TIMEINTERVAL (Computes start date and finish date according to given period type) is a standard Function Module in SAP ERP and is part of the function group CYCP within the package CY.
Function Module | CY_GET_TIMEINTERVAL |
Short Text | Computes start date and finish date according to given period type |
Function Group | CYCP |
Package | CY |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
CALENDAR_ID | LIKE | RC65A-KALID | SPACE | Calendar ID |
FISCAL_YEAR_VARIANT | LIKE | RC65A-PERIV | SPACE | Fiscal year variant |
PERIOD_TYPE | LIKE | RC65A-DATE_TYPE | Period type | |
SDATEFROM | LIKE | RC65A-DBDATEFROM | Start of interval | |
SDATETO | LIKE | RC65A-DBDATETO | SPACE | End of interval |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
DATEFROM | LIKE | RC65A-LIDAV | Start date of interval | |
DATEFROM_STRING | LIKE | RC65A-DBDATEFROM | Start date of interval as string | |
DATETO | LIKE | RC65A-LIDAB | Finish date of interval | |
DATETO_STRING | LIKE | RC65A-DBDATEFROM | Finish date of interval as string |
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 |
---|---|
INTERVAL_CANNOT_BE_COMPUTED | Dates not computed for various reasons |