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
⤷
⤷
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 |
|---|---|---|---|---|---|---|---|
| |
DATE | TYPE | SCAL-DATE | Date to be converted into factory calendar date | |||
| |
FACTORYDATE | TYPE | SCAL-FACDATE | Number of the workday in the specified calendar | |||
| |
WORKINGDAY_INDICATOR | TYPE | SCAL-INDICATOR | Flag whether date is a workday | |||
| |
CORRECT_OPTION | TYPE | SCAL-INDICATOR | '+' | Flag how workday should be calculated | ||
| |
DATE | TYPE | SCAL-DATE | Date to be converted into factory calendar date | |||
| |
FACTORY_CALENDAR_ID | TYPE | SCAL-FCALID | Factory calendar ID | |||
| |
CALENDAR_BUFFER_NOT_LOADABLE | TYPE | Factory calendar could not be buffered | ||||
| |
CORRECT_OPTION_INVALID | TYPE | CORRECT_OPTION is not '+' or '-' | ||||
| |
DATE_AFTER_RANGE | TYPE | Date is later than factory calendar definition | ||||
| |
DATE_BEFORE_RANGE | TYPE | Date is earlier than factory calendar definition | ||||
| |
DATE_INVALID | TYPE | Invalid date format | ||||
| |
FACTORY_CALENDAR_NOT_FOUND | TYPE | Factory calendar is not in buffer | ||||
Processing Type
| Normal Function 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 |