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

PCREMMX0 SAP ABAP INCLUDE - Main routine: HMXCRET0







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


INCLUDES used within this REPORT PCREMMX0

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:

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING program = g_program restriction = lt_restriction EXCEPTIONS OTHERS = 0.

HR_GET_BUSINESS_ADD_IN * CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' * EXPORTING * exit_name = l_badi_name * IMPORTING * is_implemented = l_is_implemented * CHANGING * instance = l_badi_instance.

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

HRMXL00_LAST_CUMULATION_PER CALL FUNCTION 'HRMXL00_LAST_CUMULATION_PER' EXPORTING molga = lc_molga cumty = lc_cumty cumno = lc_cumno cumyr = p_year date = w_endda rgdir = pt_rgdir_in read_inper = space IMPORTING seqnr = w_seqnr_last EXCEPTIONS no_rgdir_entry = 1 error_read_t549a = 2 customizing_incomplete = 3 OTHERS = 4.

HR99L00_FIRST_CUMULATION_PER CALL FUNCTION 'HR99L00_FIRST_CUMULATION_PER' EXPORTING molga = lc_molga cumty = lc_cumty cumno = lc_cumno cumyr = p_year date = w_begda rgdir = pt_rgdir_in read_inper = 'X' IMPORTING seqnr = w_seqnr_first EXCEPTIONS no_rgdir_entry = 1 error_read_t549a = 2 customizing_incomplete = 3 OTHERS = 4.

CD_EVALUATION_PERIODS CALL FUNCTION 'CD_EVALUATION_PERIODS' EXPORTING bonus_date = ls_inper_directory-ipend inper_modif = ls_inper_directory-iperm inper = ls_inper_directory-inper pay_type = ls_inper_directory-inpty pay_ident = ls_inper_directory-inpid all_results_of_run = false TABLES rgdir = pt_rgdir_in evpdir = lt_eval_tab iabkrs = pnpabkrs[] EXCEPTIONS OTHERS = 0.

HR99L00_FIRST_CUMULATION_PER CALL FUNCTION 'HR99L00_FIRST_CUMULATION_PER' EXPORTING molga = lc_molga cumty = lc_cumty cumno = lc_cumno cumyr = p_year date = w_begda rgdir = pt_rgdir_in read_inper = 'X' IMPORTING seqnr = w_first_seqnr EXCEPTIONS no_rgdir_entry = 1 error_read_t549a = 2 customizing_incomplete = 3 OTHERS = 4.

HR99L00_LAST_CUMULATION_PER CALL FUNCTION 'HR99L00_LAST_CUMULATION_PER' EXPORTING molga = lc_molga cumty = lc_cumty cumno = lc_cumno cumyr = p_year date = w_endda rgdir = pt_rgdir_in read_inper = 'X' IMPORTING seqnr = w_last_seqnr EXCEPTIONS no_rgdir_entry = 1 error_read_t549a = 2 customizing_incomplete = 3 OTHERS = 4.

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 = pt_rgdir 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 = pt_rgdir imported_periods = pt_payresult EXCEPTIONS import_error = 1 OTHERS = 2.

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_data_emp-nombre newnachn = ls_data_emp-apepat newnach2 = ls_data_emp-apemat EXCEPTIONS OTHERS = 0.

HR_GET_BUSINESS_ADD_IN * CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' * EXPORTING * exit_name = l_badi_name * IMPORTING * is_implemented = l_is_implemented * CHANGING * instance = l_badi_instance.

HR_GET_BUSINESS_ADD_IN * CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' * EXPORTING * exit_name = l_badi_name * IMPORTING * is_implemented = l_is_implemented * CHANGING * instance = l_badi_instance.



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