SAP ABAP Function Module F4_DATE_CONTROL (Display factory calendar or Gregor. calendar and choose a day)
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 | F4_DATE_CONTROL | Display factory calendar or Gregor. calendar and choose a day |
Function Group | SCAC | Calendar: Controls |
Program Name | SAPLSCAC | Kalender: Controls |
INCLUDE Name | LSCACU01 |
Parameters
Type | Parameter Name | Typing | Associated Type | Default value | Optional | Pass Value | Short text |
---|---|---|---|---|---|---|---|
Exporting | SELECT_DATE | TYPE | WORKFLDS-GKDAY | selected date | |||
Exporting | SELECT_WEEK | TYPE | SCAL-WEEK | ||||
Exporting | SELECT_BEGIN | TYPE | SYST-DATUM | ||||
Exporting | SELECT_END | TYPE | SYST-DATUM | ||||
Exporting | SELECT_MONTH | TYPE | SCAL-WEEK | Selected month | |||
Importing | DATE_FOR_FIRST_MONTH | TYPE | WORKFLDS-GKDAY | SY-DATUM | For determining the first month to be displayed | ||
Importing | DISPLAY | TYPE | WORKFLDS-DISPL | SPACE | X = no selection option | ||
Importing | FACTORY_CALENDAR_ID | TYPE | WORKFLDS-CALID | SPACE | Factory Calendar | ||
Importing | GREGORIAN_CALENDAR_FLAG | TYPE | SPACE | Display Gregorian calendar | |||
Importing | HOLIDAY_CALENDAR_ID | TYPE | WORKFLDS-HIDENT | SPACE | Public Holiday Calendar | ||
Importing | HOLIDAY_STYLE | TYPE | I | '6' | |||
Importing | PROGNAME_FOR_FIRST_MONTH | TYPE | SYST-REPID | SPACE | to determine the date at the cursor position | ||
Importing | WEEK_BEGIN_DAY | TYPE | T246-WOTNR | 1 | |||
Importing | SELECT_OPTION_WEEK | TYPE | WORKFLDS-DISPL | SPACE | |||
Importing | SELECT_OPTION_MONTH | TYPE | WORKFLDS-DISPL | SPACE | |||
Importing | DATE_POSITION | TYPE | CHAR1 | SPACE | Position des selektierten Datums (space = Mitte, T = oben, B = unten) | ||
Exception | CALENDAR_BUFFER_NOT_LOADABLE | TYPE | Factory calendar read error | ||||
Exception | DATE_AFTER_RANGE | TYPE | Date is later than factory calendar | ||||
Exception | DATE_BEFORE_RANGE | TYPE | Date is earlier than factory calendar's | ||||
Exception | DATE_INVALID | TYPE | Date in invalid format | ||||
Exception | FACTORY_CALENDAR_NOT_FOUND | TYPE | Factory calendar is not available | ||||
Exception | HOLIDAY_CALENDAR_NOT_FOUND | TYPE | Holiday calendar is not available | ||||
Exception | PARAMETER_CONFLICT | TYPE | Pass Factory calendar and Holiday calendar | ||||
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 | 20000128 |
SAP Release Created in |