Funktionsbaustein HOLIDAY GET
Aus SAP-Wiki
Zur Navigation springenZur Suche springen
Dieser Funktionsbaustein HOLIDAY_GET
CALL FUNCTION 'HOLIDAY_GET' " EXPORTING " HOLIDAY_CALENDAR = ' ' " FACTORY_CALENDAR = ' ' " DATE_FROM = SY-DATUM " DATE_TO = SY-DATUM " IMPORTING " YEAR_OF_VALID_FROM = " YEAR_OF_VALID_TO = " RETURNCODE = TABLES HOLIDAYS = " EXCEPTIONS " FACTORY_CALENDAR_NOT_FOUND = 1 " HOLIDAY_CALENDAR_NOT_FOUND = 2 " DATE_HAS_INVALID_FORMAT = 3 " DATE_INCONSISTENCY = 4 " OTHERS = 5 . IF SY-SUBRC <> 0. * Implement suitable error handling here ENDIF.
Literatur
- Function Modules in ABAP: A Quick Reference Guide, von Tanmaya Gupta, S. 207 (EN)
- Common SAP R/3 Functions Manual, von William Lawlor, S. 124 (EN)