MP037040 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 MP037040 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!
RP_GET_CURRENCY call function 'RP_GET_CURRENCY' exporting molga = calcmolga endda = p0370-begda importing waers = p0370-waers exceptions molga_not_in_t001p = 1 no_entry_found_in_table_t001 = 2 no_entry_found_in_table_t500p = 3 others = 4.
DD_DD07V_GET call function 'DD_DD07V_GET' exporting domain_name = 'PMX_TDIST' langu = sy-langu withtext = 'X' tables dd07v_tab = i_dd07v.
HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting pernr = p0370-pernr infty = c_0001 begda = lv_basedt endda = lv_basedt importing subrc = subrc tables infty_tab = l_p0001 exceptions infty_not_found = 1 others = 2.
HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting pernr = p0370-pernr infty = c_0372 begda = low_date endda = lv_basedt importing subrc = subrc tables infty_tab = lt_p0372 exceptions infty_not_found = 1 others = 2.
HR_MX_INFO_CALC_PRCNT call function 'HR_MX_INFO_CALC_PRCNT' exporting feleg = p0370-ifech fecha = lv_basedt pdecr = p0370-pdecr saldi = l_p0372-sdimx werks = l_p0001-werks btrtl = l_p0001-btrtl iv_bukrs = l_p0001-bukrs iv_persg = l_p0001-persg iv_persk = l_p0001-persk iv_abkrs = l_p0001-abkrs importing pnuev = q0370-inprc sw_act_prcnt = sw_info_new_prcnt changing zoeco = l_zoeco exceptions wrong_economic_zone = 1 others = 2.
HR_MX_SDI_SELECT_P0372 call function 'HR_MX_SDI_SELECT_P0372' exporting p_endda = pv_basedt tables pp0372 = lt_p0372 pp0372_sel = lt_p0372_sel.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0370-pernr infty = gc_infty_0370 TABLES infty_tab = lt_p0370 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.