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

PCFNCMX1 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING MOLGA = P_MOLGA IMPORTING WAERS = WAERS EXCEPTIONS OTHERS.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING COMPANYCODE = EMPL_EMPRESAS-BUKRS IMPORTING COMP_NAME = EMPL_EMPRESAS-NAME1 EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

HR_MX_PREV_RESULTS CALL FUNCTION 'HR_MX_PREV_RESULTS' EXPORTING PERSNR = P_PERNR DATMO = T549A-DATMO PERMO = T549A-PERMO CUMTY = C_TICAL CUMNO = MES CUMYR = YEAR TABLES RT_ANT = RT_FN * crt_ant = crt_fa * mxcrt_ant = mxcrt_fa T54C1_ANT = T54C1_FN EXCEPTIONS ERROR_NO_RESULTS = 1 ERROR_READ_T54C6 = 2 ERROR_READ_T549Q = 3 OTHERS = 4.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GV_REPID I_CALLBACK_PF_STATUS_SET = GC_PF_STATUS IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT IT_SORT = LT_SORT IT_EVENTS = GT_EVENTS I_TABNAME_HEADER = GC_GT_HEADER_DATA I_TABNAME_ITEM = GC_GT_ITEM_TAB I_STRUCTURE_NAME_HEADER = GC_HEADER_DATA I_STRUCTURE_NAME_ITEM = GC_ITEM_TAB IS_KEYINFO = GS_KEYINFO TABLES T_OUTTAB_HEADER = GT_HEADER_DATA T_OUTTAB_ITEM = GT_ITEM_TAB EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = GV_REPID I_INTERNAL_TABNAME = IV_TABLE I_STRUCTURE_NAME = IV_STRUCT I_INCLNAME = GV_REPID CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTS EXCEPTIONS LIST_TYPE_WRONG = 1 OTHERS = 2.



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