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

PCIESMX0 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = p_company IMPORTING comp_name = comp_name address = address EXCEPTIONS not_found = 1 OTHERS = 2.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = addr1_sel IMPORTING address_value = addr1_val EXCEPTIONS parameter_error = 0.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p_reple infty = '0002' begda = p_begda endda = p_endda TABLES infty_tab = lt_p0002 EXCEPTIONS OTHERS = 0.

HR_MX_FORMAT_NAME CALL FUNCTION 'HR_MX_FORMAT_NAME' EXPORTING vorna = ls_p0002-vorna nachn = ls_p0002-nachn nach2 = ls_p0002-nach2 IMPORTING newvorna = ls_p0002-vorna newnachn = ls_p0002-nachn newnach2 = ls_p0002-nach2 EXCEPTIONS OTHERS = 0.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p_reple infty = '0185' begda = p_begda endda = p_endda TABLES infty_tab = lt_p0185 EXCEPTIONS OTHERS = 0.

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING persnr = p_pernr TABLES in_rgdir = pt_rgdir_full EXCEPTIONS no_record_found = 1 OTHERS = 2.

CD_READ_DATE_RANGE_ACTUAL_NV CALL FUNCTION 'CD_READ_DATE_RANGE_ACTUAL_NV' EXPORTING begda = begda_14 endda = endda_14 TABLES rgdir_in = pt_rgdir_full rgdir_out = rgdir2.

PYXX_SPECIFY_OBJECTS CALL FUNCTION 'PYXX_SPECIFY_OBJECTS' TABLES specified_objects = lt_specified_objects.

HR_PCLX_INIT_BUFFER CALL FUNCTION 'HR_PCLX_INIT_BUFFER'.

HR_IMPORT_RGDIR_FROM_PCLX CALL FUNCTION 'HR_IMPORT_RGDIR_FROM_PCLX' EXPORTING cluster_id = lc_clusterid employee_number = p_pernr TABLES import_rgdir = rgdir2 EXCEPTIONS no_results = 1 no_read_authority = 2 OTHERS = 3.

PYXX_READ_RGDIR_PAYRESULTS CALL FUNCTION 'PYXX_READ_RGDIR_PAYRESULTS' EXPORTING clusterid = lc_clusterid employeenumber = p_pernr read_only_buffer = true TABLES rgdir = rgdir2 imported_periods = pt_payresult EXCEPTIONS import_error = 1 OTHERS = 2.

HR99L00_GET_ACTUAL_AND_ORIG_RT CALL FUNCTION 'HR99L00_GET_ACTUAL_AND_ORIG_RT' EXPORTING pernr = pernr-pernr molga = pmx00_molga TABLES filtered_rgdir = lt_rgdir rgdir = pt_rgdir_full lgart = r_lgart actual_and_orig_rt = lt_actual_orig_rt EXCEPTIONS t500l_not_maintained = 1 no_read_authority = 2 import_error = 3 OTHERS = 4.

HR_PAYROLL_PERIOD_GET CALL FUNCTION 'HR_PAYROLL_PERIOD_GET' EXPORTING payroll_area = p_abkrs date = p_fpend IMPORTING payroll_year = w_pabrj payroll_period = w_pabrp EXCEPTIONS OTHERS = 0.

SSF_FUNCTION_MODULE_NAME CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' EXPORTING formname = p_formname variant = ' ' direct_call = ' ' IMPORTING fm_name = fm_name EXCEPTIONS no_form = 1 no_function_module = 2 OTHERS = 3.



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