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

PCINFMX1 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

CU_READ_RGDIR * call function 'CU_READ_RGDIR' * EXPORTING * persnr = p_pernr * TABLES * in_rgdir = rgdir * EXCEPTIONS * no_record_found = 1 * others = 2.

CD_SELECT_VOID * call function 'CD_SELECT_VOID' * EXPORTING * void_indicator = space * TABLES * in_rgdir = rgdir * out_rgdir = rgdir_without_void * EXCEPTIONS * others = 1.

CD_SELECT_IPEND_RANGE * call function 'CD_SELECT_IPEND_RANGE' * EXPORTING * ipbeg_date = p_begda * ipend_date = p_endda * TABLES * in_rgdir = rgdir_without_void * out_rgdir = rgdir_selected_dates.

RP_GET_CURRENCY * call function 'RP_GET_CURRENCY' * EXPORTING * molga = $molga * IMPORTING * waers = waers * EXCEPTIONS * others.

HRCA_COMPANYCODE_GETDETAIL * call function 'HRCA_COMPANYCODE_GETDETAIL' * EXPORTING * companycode = p0001-bukrs * IMPORTING * comp_name = empleado-name1 * EXCEPTIONS * not_found = 1 * others = 2.

CU_READ_RGDIR call function 'CU_READ_RGDIR' EXPORTING persnr = p_pernr TABLES in_rgdir = rgdir EXCEPTIONS no_record_found = 1 others = 2.

CD_SELECT_VOID call function 'CD_SELECT_VOID' EXPORTING void_indicator = space TABLES in_rgdir = rgdir out_rgdir = rgdir_without_void EXCEPTIONS others = 1.

CD_SELECT_DATE_RANGE call function 'CD_SELECT_DATE_RANGE' EXPORTING fpper_begda = p_begda fpper_endda = p_endda TABLES in_rgdir = rgdir_without_void out_rgdir = rgdir_selected_dates EXCEPTIONS others = 1.

CD_SELECT_SRTZA call function 'CD_SELECT_SRTZA' EXPORTING record_type = 'A' TABLES in_rgdir = rgdir_selected_dates out_rgdir = new_rgdir EXCEPTIONS others = 1.

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

CD_EVALUATION_PERIODS CALL FUNCTION 'CD_EVALUATION_PERIODS' EXPORTING bonus_date = wa_inper_directory-ipend inper_modif = wa_inper_directory-iperm inper = wa_inper_directory-inper pay_type = wa_inper_directory-inpty pay_ident = wa_inper_directory-inpid all_results_of_run = false TABLES rgdir = lt_rgdir_full evpdir = lt_eval EXCEPTIONS OTHERS = 0.

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 = c_clusterid employee_number = p_pernr TABLES import_rgdir = lt_rgdir EXCEPTIONS no_results = 1 no_read_authority = 2 OTHERS = 3.

PYXX_READ_RGDIR_PAYRESULTS CALL FUNCTION 'PYXX_READ_RGDIR_PAYRESULTS' EXPORTING clusterid = c_clusterid employeenumber = p_pernr read_only_buffer = true TABLES rgdir = lt_rgdir imported_periods = lt_tab_pay 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 PCINFMX1 or its description.