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

PCMASMX9 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

CD_SELECT_RUNDT CALL FUNCTION 'CD_SELECT_RUNDT' EXPORTING rundt_low = ls_rgdir_curr-rundt rundt_high = ls_rgdir_curr-rundt TABLES in_rgdir = new_rgdir out_rgdir = lt_new_rgdir.

CD_SELECT_RUNTM CALL FUNCTION 'CD_SELECT_RUNTM' EXPORTING runtm_low = ls_rgdir_curr-runtm runtm_high = ls_rgdir_curr-runtm TABLES in_rgdir = lt_new_rgdir_s out_rgdir = lt_new_rgdir.

CD_READ CALL FUNCTION 'CD_READ' EXPORTING in_seqnr = ls_rgdir_curr-seqnr IMPORTING out_seqnr = l_last_seqnr TABLES new_rgdir = lt_new_rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2.

CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING entry = lt_new_rgdir IMPORTING calcd = l_calcd.

HR_MX_CUMULATION_ADD CALL FUNCTION 'HR_MX_CUMULATION_ADD' EXPORTING bukrs = wpbp-bukrs paper = p_paper permo = aper-permo begda = aper-begda endda = aper-endda bondt = aper-bondt parm3 = as-parm3 amt_curr = calc_currency molga = calcmolga TABLES rt = rt c1 = c1 mxcrt = mxcrt ptext = ptext error_ptext = error_ptext EXCEPTIONS error_cumulation = 1 error_read_t7mx01 = 2 OTHERS = 3.

HR_MX_PBS_CUM_TABLES CALL FUNCTION 'HR_MX_PBS_CUM_TABLES' "NAML6BK027061 EXPORTING imp_aper = aper imp_pernr = pernr-pernr imp_molga = calcmolga imp_currency = calc_currency log = sw_prot TABLES rt = rt v0 = v0 lnct = lnct olnct = olnct p0756 = p0756 ptext = ptext message_ptext = message_ptext error_ptext = error_ptext EXCEPTIONS cumulation_failed = 1 OTHERS = 2.

HR_MX_CUMULATION_SET CALL FUNCTION 'HR_MX_CUMULATION_SET' EXPORTING pernr = pernr-pernr abkrs = aper-abkrs paper = p_paper "aper-paper permo = aper-permo begda = aper-begda endda = aper-endda bondt = aper-bondt payty = aper-payty payid = aper-payid seqnr = aper-seqnr molga = calcmolga TABLES crt = crt mxcrt = mxcrt omxcrt = omxcrt new_rgdir = new_rgdir ptext = ptext error_ptext = error_ptext p0000 = p0000 EXCEPTIONS error_cumulation = 1 error_read_t549a = 2 OTHERS = 3.

HR_MX_PBS_SET_TABLES CALL FUNCTION 'HR_MX_PBS_SET_TABLES' "NAML6BK027061 EXPORTING imp_aper = aper imp_pernr = pernr-pernr imp_molga = calcmolga IMP_CURRENCY = calc_currency LOG = sw_prot tables * RT = * V0 = lnct = lnct olnct = olnct * P0756 = ptext = ptext MESSAGE_PTEXT = message_ptext ERROR_PTEXT = error_ptext EXCEPTIONS CUMULATION_FAILED = 1 OTHERS = 2.

HR_99S_APPCORRONDA call function 'HR_99S_APPCORRONDA' exporting p_molga = calcmolga p_cogrp = p_as_parm3 p_corr_nr = lv_corr_nr p_val_date = aper-begda p_act_date = aper-begda p_simulation = tst_on importing p_aplicate = p_condition_as exceptions error_locking = 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 PCMASMX9 or its description.