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

PCSDMMX0 SAP ABAP INCLUDE - Main routines for wage integration







PCSDMMX0 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 PCSDMMX0 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 PCSDMMX0. "Basic submit
SUBMIT PCSDMMX0 AND RETURN. "Return to original report after report execution complete
SUBMIT PCSDMMX0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Main routines for wage integration


INCLUDES used within this REPORT PCSDMMX0

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:

HR_MX_SEL_MOLGA call function 'HR_MX_SEL_MOLGA' EXPORTING persnr = pernr-pernr begda = pn-begda endda = pn-endda EXCEPTIONS not_found = 1.

HR_MX_SEL_REGISTRO_PATRONAL call function 'HR_MX_SEL_REGISTRO_PATRONAL' EXPORTING persnr = pernr-pernr begda = pn-begda endda = pn-endda sel_repat = prepat[] TABLES p0001 = p0001 EXCEPTIONS no_it0001_record_found = 1 repat_not_within_range = 2 others = 3.

HR_MX_SDI_SELECT_P0372 CALL FUNCTION 'HR_MX_SDI_SELECT_P0372' EXPORTING P_BEGDA = P_BEGDA P_ENDDA = P_ENDDA TABLES PP0372 = P0372 PP0372_SEL = PT_P0372_SEL.

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING PERSNR = pernr-pernr * BUFFER = * NO_AUTHORITY_CHECK = ' ' * IMPORTING * MOLGA = TABLES IN_RGDIR = lt_rgdir1 EXCEPTIONS NO_RECORD_FOUND = 1 OTHERS = 2.

CD_SELECT_SRTZA CALL FUNCTION 'CD_SELECT_SRTZA' EXPORTING RECORD_TYPE = 'A' TABLES IN_RGDIR = lt_rgdir1 OUT_RGDIR = lt_rgdir2.

CD_SELECT_VOID CALL FUNCTION 'CD_SELECT_VOID' EXPORTING VOID_INDICATOR = space TABLES IN_RGDIR = lt_rgdir2 OUT_RGDIR = lt_rgdir1.

PYXX_READ_RGDIR_PAYRESULTS CALL FUNCTION 'PYXX_READ_RGDIR_PAYRESULTS' EXPORTING CLUSTERID = lc_clusterid EMPLOYEENUMBER = pernr-pernr * READ_ONLY_BUFFER = READ_ONLY_INTERNATIONAL = 'X' TABLES RGDIR = pt_rgdir IMPORTED_PERIODS = lt_payresult EXCEPTIONS IMPORT_ERROR = 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 PCSDMMX0 or its description.