SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Holiday Calendar, Factory Calendar, Appointment Calendar(BC-SRV-ASF-CAL) SAP BC

SZC_FACTORY_CALENDAR_F01 SAP ABAP INCLUDE - SZCFACTORYCALENDARF01







SZC_FACTORY_CALENDAR_F01 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter SZC_FACTORY_CALENDAR_F01 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT SZC_FACTORY_CALENDAR_F01. "Basic submit
SUBMIT SZC_FACTORY_CALENDAR_F01 AND RETURN. "Return to original report after report execution complete
SUBMIT SZC_FACTORY_CALENDAR_F01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT SZC_FACTORY_CALENDAR_F01

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

CALENDAR_GET_TIMESTAMP CALL FUNCTION 'CALENDAR_GET_TIMESTAMP' IMPORTING CALENDAR_DATE = C_DATE CALENDAR_TIME = C_TIME EXCEPTIONS BUFFER_MISSING = 1 DIRECTORY_OVERFLOW = 2 POOL_OVERFLOW = 3 OTHERS = 4.

REUSE_ALV_LIST_DISPLAY

REUSE_ALV_GRID_DISPLAY * CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = L_REPID I_CALLBACK_PF_STATUS_SET = L_STATUS I_CALLBACK_USER_COMMAND = L_USER_COMMAND I_STRUCTURE_NAME = 'SFC_DISP' IS_LAYOUT = L_LAYOUT IT_FIELDCAT = L_FIELDCAT_CAL_LIST[] IT_EVENT_EXIT = L_EVENT_EXIT[] TABLES T_OUTTAB = ALV_LOOP_100.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_INTERNAL_TABNAME = L_TABNAME I_STRUCTURE_NAME = L_TABNAME CHANGING CT_FIELDCAT = P_FIELDCAT[].

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TITEL = H_TITEL TEXTLINE1 = H_TEXT1 TEXTLINE2 = H_TEXT2 DEFAULTOPTION = 'N' IMPORTING ANSWER = ANTWORT.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TITEL = H_TITEL TEXTLINE1 = H_TEXT1 TEXTLINE2 = H_TEXT2 DEFAULTOPTION = 'N' IMPORTING ANSWER = ANTWORT.

REUSE_ALV_LIST_DISPLAY

REUSE_ALV_GRID_DISPLAY * CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = L_REPID I_CALLBACK_PF_STATUS_SET = L_STATUS I_CALLBACK_USER_COMMAND = L_USER_COMMAND * I_STRUCTURE_NAME = 'SFC_YEAR' IS_LAYOUT = L_LAYOUT_OVERVIEW IT_FIELDCAT = L_FIELDCAT_OVERVIEW[] IT_EVENTS = L_EVENTS[] IT_EVENT_EXIT = L_EVENT_EXIT TABLES T_OUTTAB = ALV_LOOP_300.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_INTERNAL_TABNAME = L_TABNAME I_STRUCTURE_NAME = L_TABNAME CHANGING CT_FIELDCAT = P_FIELDCAT[].

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' IMPORTING ET_EVENTS = E03_LT_EVENTS.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SZC_FACTORY_CALENDAR_F01 or its description.