MP053840 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 MP053840 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = P0538-pernr IMPORTING entrydate = P_CUR_ENTRY_DATE TABLES entry_dates = l_entry_dates.
HR_LEAVING_DATE CALL FUNCTION 'HR_LEAVING_DATE' EXPORTING persnr = P0538-pernr TABLES leaving_dates = l_entry_dates EXCEPTIONS leaving_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.
HR_KR_BUSINESSPLACE_GET_DATA CALL FUNCTION 'HR_KR_BUSINESSPLACE_GET_DATA' EXPORTING PERS_AREA = P0001-WERKS PERS_SUBAREA = P0001-BTRTL mode = ' ' address_nation = addr_version IMPORTING bus_place_detail = bupla_detail EXCEPTIONS no_company_code_for_pers_area = 1 no_busplace_for_subarea = 2 no_med_ins_assoc_for_subarea = 3 no_rep_busplace_for_mi_assoc = 4 no_entry_t7krbp_for_bupla = 5 no_businessplace_data = 6 illegal_mode = 7 OTHERS = 8.
CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING persnr = p0538-pernr TABLES in_rgdir = pt_rgdir EXCEPTIONS no_record_found = 1 others = 2.
PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = 'KR' employeenumber = p0538-pernr sequencenumber = wa_rgdir-seqnr CHANGING payroll_result = ps_result EXCEPTIONS illegal_isocode_or_clusterid = 1 error_generating_import = 2 import_mismatch_error = 3 subpool_dir_full = 4 no_read_authority = 5 no_record_found = 6 versions_do_not_match = 7 OTHERS = 8.
DYNP_GET_STEPL CALL FUNCTION 'DYNP_GET_STEPL' IMPORTING POVSTEPL = lt_dynpo-stepl.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0538-pernr infty = '0538' begda = p0538-ospdt endda = p0538-ospdt IMPORTING subrc = l_subrc TABLES infty_tab = gt_p0538 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = 'MP053800' dynumb = '2030' TABLES dynpfields = lt_dynpo.
CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING persnr = p0538-pernr TABLES in_rgdir = rgdir EXCEPTIONS "Checkman Error no_record_found = 1 others = 2.
PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' exporting clusterid = 'KR' employeenumber = p0538-pernr sequencenumber = rgdir-seqnr changing payroll_result = result EXCEPTIONS illegal_isocode_or_clusterid = 1 error_generating_import = 2 import_mismatch_error = 3 subpool_dir_full = 4 no_read_authority = 5 no_record_found = 6 versions_do_not_match = 7 OTHERS = 8.
HR_READ_INFOTYPE * CALL FUNCTION 'HR_READ_INFOTYPE' * EXPORTING * pernr = p0538-pernr * infty = '0538' * begda = rgdir-bondt * endda = rgdir-bondt * TABLES * infty_tab = gt_p0538 * EXCEPTIONS * infty_not_found = 1 * OTHERS = 2.
PYXX_READ_PAYROLL_RESULT * CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' * exporting * clusterid = 'KR' * employeenumber = p0538-pernr * sequencenumber = rgdir_wa-seqnr * changing * payroll_result = result_temp * EXCEPTIONS * illegal_isocode_or_clusterid = 1 * error_generating_import = 2 * import_mismatch_error = 3 * subpool_dir_full = 4 * no_read_authority = 5 * no_record_found = 6 * versions_do_not_match = 7 * OTHERS = 8.
HR_READ_INFOTYPE * CALL FUNCTION 'HR_READ_INFOTYPE' * EXPORTING * pernr = p0538-pernr * infty = '0538' * begda = ls_p0538-ospdt * endda = ls_p0538-ospdt * TABLES * infty_tab = gt_p0538 * EXCEPTIONS * infty_not_found = 1 * OTHERS = 2.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0538-pernr infty = '0538' begda = rgdir-bondt endda = rgdir-bondt TABLES infty_tab = gt_p0538 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.