PCAFAMX0 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 PCAFAMX0 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = gc_displaystruc CHANGING CT_FIELDCAT = pt_fcat EXCEPTIONS OTHERS = 0.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = gc_displogstruc CHANGING CT_FIELDCAT = p_list->t_fcat EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.
HR_GET_ERROR_LIST CALL FUNCTION 'HR_GET_ERROR_LIST' TABLES ERRORTEXTS = p_list->t_display EXCEPTIONS NO_ERRORS = 1 OTHERS = 2.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = gc_disperrstruc CHANGING CT_FIELDCAT = p_fcat EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = gc_displaystruc CHANGING CT_FIELDCAT = g_listafil->t_fcat EXCEPTIONS OTHERS = 0.
REUSE_ALV_GRID_DISPLAY_LVC CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC' EXPORTING I_CALLBACK_PROGRAM = G_REPNAME IT_FIELDCAT_LVC = G_listAFIL->t_fcat IT_EVENTS = IT_EVENTS IS_PRINT_LVC = I_PRINT TABLES T_OUTTAB = P_AFIL_LIST EXCEPTIONS OTHERS = 0.
REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = lt_comment.
REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = lt_comment.
REUSE_ALV_GRID_DISPLAY_LVC CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC' EXPORTING I_GRID_TITLE = p_grid_title IT_FIELDCAT_LVC = p_t_fcat TABLES T_OUTTAB = p_t_display EXCEPTIONS OTHERS = 0.
SET_PRINT_PARAMETERS CALL FUNCTION 'SET_PRINT_PARAMETERS' EXPORTING IN_PARAMETERS = L_PRINT_PARAMS.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.