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

PCMSIMX1 SAP ABAP INCLUDE - HRMS-MX: Include for SDI routines at end of payroll







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

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_SDI_SELECT_NEWEST_P0372 call function 'HR_MX_SDI_SELECT_NEWEST_P0372' tables pp0372 = p_p0372 pp0372_sel = p_f0372.

HR_99S_GET_PERMO CALL FUNCTION 'HR_99S_GET_PERMO' EXPORTING p_pernr = pernr-pernr p_begda = wa_rec_dates-begda p_endda = wa_rec_dates-begda IMPORTING p_t549a = ls_t549a p_return_code = lv_returncode.

HR_MX_SDI_INSERT_IT0372 CALL FUNCTION 'HR_MX_SDI_INSERT_IT0372' exporting PV_ABKRS = APER-ABKRS tables p_p0372 = n0372 p_p0000 = p0000 p_p0001 = p0001 p_p0007 = p0007 exceptions error_insert_it0372 = 1 error_modify_it0003 = 2 error_read_pa03_pcr = 3 error_pa03_pcr_locked = 4 others = 5.

HR_MX_SDI_INSERT_IT0372 CALL FUNCTION 'HR_MX_SDI_INSERT_IT0372' TABLES p_p0372 = n0372 p_p0000 = p0000 p_p0001 = p0001 p_p0007 = p0007 EXCEPTIONS error_insert_it0372 = 1 error_modify_it0003 = 2 OTHERS = 3.

DEQUEUE_EPPRELE call function 'DEQUEUE_EPPRELE' exporting * MODE_PREL = 'E' * MANDT = SY-MANDT pernr = p_pernr * infty = * SUBTY = * OBJPS = * SPRPS = * ENDDA = * BEGDA = * SEQNR = * X_PERNR = ' ' * X_INFTY = ' ' * X_SUBTY = ' ' * X_OBJPS = ' ' * X_SPRPS = ' ' * X_ENDDA = ' ' * X_BEGDA = ' ' * X_SEQNR = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' exceptions others = 1.

ENQUEUE_EPPRELE call function 'ENQUEUE_EPPRELE' exporting * MODE_PREL = 'E' * MANDT = SY-MANDT pernr = p_pernr * INFTY = * SUBTY = * OBJPS = * SPRPS = * ENDDA = * BEGDA = * SEQNR = * X_PERNR = ' ' * X_INFTY = ' ' * X_SUBTY = ' ' * X_OBJPS = ' ' * X_SPRPS = ' ' * X_ENDDA = ' ' * X_BEGDA = ' ' * X_SEQNR = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' exceptions foreign_lock = 1 system_failure = 2 others = 3.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING PERNR = pernr-pernr INFTY = '2001' TABLES INFTY_TAB = lt_p2001 EXCEPTIONS INFTY_NOT_FOUND = 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 PCMSIMX1 or its description.