MP333940 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 MP333940 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!
CU_READ_RGDIR_NEW CALL FUNCTION 'CU_READ_RGDIR_NEW' EXPORTING persnr = p_pernr check_read_authority = space IMPORTING molga = lv_molga TABLES in_rgdir = lt_rgdir EXCEPTIONS OTHERS = 1.
CD_READ_LAST_RESULT_IN_RGDIR CALL FUNCTION 'CD_READ_LAST_RESULT_IN_RGDIR' IMPORTING ptx_rgdir_nv = ls_rgdir TABLES pt_rgdir = lt_rgdir.
PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = lv_relid employeenumber = p_pernr sequencenumber = ls_rgdir-seqnr * read_only_international = 'X' check_read_authority = ' ' CHANGING payroll_result = ls_result EXCEPTIONS OTHERS = 1.
PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = lv_relid employeenumber = p_pernr sequencenumber = ls_rgdir-seqnr * read_only_international = 'X' check_read_authority = ' ' CHANGING payroll_result = ls_result EXCEPTIONS OTHERS = 1.
RP_CALC_DATE_IN_INTERVAL * CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL' * EXPORTING * date = p_abrdt * days = 0 * months = lv_num "NUM2 * signum = '+' * years = 0 * IMPORTING * calc_date = p_dlend.
HR_99S_DATE_PLUS_TIME_UNIT CALL FUNCTION 'HR_99S_DATE_PLUS_TIME_UNIT' EXPORTING i_idate = p_abrdt i_time = lv_num i_timeunit = 'M' "Month IMPORTING o_idate = p_dlend EXCEPTIONS invalid_period = 1 invalid_round_up_rule = 2 internal_error = 3 OTHERS = 4.
HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = lc_feature struc_content = ls_pqap4 IMPORTING back = lv_back EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6 OTHERS = 7.
HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = p3339-pernr IMPORTING entrydate = lv_hire_date.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = p3339-pernr infty = '0000' * BEGDA = endda = lv_fire_date * BYPASS_BUFFER = ' ' * LEGACY_MODE = ' ' * IMPORTING * SUBRC = TABLES infty_tab = lt_p0000[] * EXCEPTIONS * INFTY_NOT_FOUND = 1 * OTHERS = 2 .
HR_GET_TIME_BETWEEN_DATES CALL FUNCTION 'HR_GET_TIME_BETWEEN_DATES' EXPORTING beg_date = lv_hire_date end_date = lv_fire_date IMPORTING * days = lv_days * months = lv_months years = lv_serdur EXCEPTIONS invalid_period = 1 OTHERS = 2.
RP_LAST_DAY_OF_MONTHS * CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' * EXPORTING * day_in = p3339-begda * IMPORTING * last_day_of_month = lv_endda * EXCEPTIONS * day_in_no_date = 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.