SAP Reports / Programs | Payroll | Mexico(PY-MX) SAP PY

PCAFAMX0 SAP ABAP INCLUDE - documentation and ABAP source code







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


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 PCAFAMX0. "Basic submit
SUBMIT PCAFAMX0 AND RETURN. "Return to original report after report execution complete
SUBMIT PCAFAMX0 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 PCAFAMX0

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:

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.



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 PCAFAMX0 or its description.