SAP ABAP Function Module DATE_CONVERT_TO_FACTORYDATE (Calendar function: Returns factory calendar date for a date)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-SRV-ASF-CAL (Application Component) Holiday Calendar, Factory Calendar, Appointment Calendar
⤷ SZC (Package) R/3 Central Basis Development: Factory Calendar
⤷ BC-SRV-ASF-CAL (Application Component) Holiday Calendar, Factory Calendar, Appointment Calendar
⤷ SZC (Package) R/3 Central Basis Development: Factory Calendar
Basic Data
Function Module | DATE_CONVERT_TO_FACTORYDATE | Calendar function: Returns factory calendar date for a date |
Function Group | SCAL | Calendar functions |
Program Name | SAPLSCAL | |
INCLUDE Name | LSCALU06 |
Parameters
Type | Parameter Name | Typing | Associated Type | Default value | Optional | Pass Value | Short text |
---|---|---|---|---|---|---|---|
Exporting | DATE | TYPE | SCAL-DATE | Date to be converted into factory calendar date | |||
Exporting | FACTORYDATE | TYPE | SCAL-FACDATE | Number of the workday in the specified calendar | |||
Exporting | WORKINGDAY_INDICATOR | TYPE | SCAL-INDICATOR | Flag whether date is a workday | |||
Importing | CORRECT_OPTION | TYPE | SCAL-INDICATOR | '+' | Flag how workday should be calculated | ||
Importing | DATE | TYPE | SCAL-DATE | Date to be converted into factory calendar date | |||
Importing | FACTORY_CALENDAR_ID | TYPE | SCAL-FCALID | Factory calendar ID | |||
Exception | CALENDAR_BUFFER_NOT_LOADABLE | TYPE | Factory calendar could not be buffered | ||||
Exception | CORRECT_OPTION_INVALID | TYPE | CORRECT_OPTION is not '+' or '-' | ||||
Exception | DATE_AFTER_RANGE | TYPE | Date is later than factory calendar definition | ||||
Exception | DATE_BEFORE_RANGE | TYPE | Date is earlier than factory calendar definition | ||||
Exception | DATE_INVALID | TYPE | Invalid date format | ||||
Exception | FACTORY_CALENDAR_NOT_FOUND | TYPE | Factory calendar is not in buffer | ||||
Processing Type
Normal Function Module | |
Remote-Enabled Module | BaseXML supported |
Update Module | Start immediately |
Immediate Start, No Restart | |
Start Delayed | |
Coll.run | |
JAVA Module Callable from ABAP | |
Remote-Enabled JAVA Module | |
Module Callable from JAVA |
History
Last changed by/on | SAP | 19950113 |
SAP Release Created in |