MP320440 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 MP320440 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_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = iv_pernr infty = gc_infty_3203 * BEGDA = '18000101' * ENDDA = '99991231' * BYPASS_BUFFER = ' ' * LEGACY_MODE = ' ' IMPORTING subrc = lv_subrc TABLES infty_tab = lt_p3203 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = t001p-molga begda = sy-datum endda = sy-datum IMPORTING waers = cv_waers EXCEPTIONS OTHERS = 1.
RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = t001p-molga begda = iv_leadt endda = iv_leadt IMPORTING waers = cv_waers EXCEPTIONS OTHERS = 1.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = iv_pernr infty = gc_infty_3203 begda = iv_leadt endda = iv_leadt * BYPASS_BUFFER = ' ' * LEGACY_MODE = ' ' IMPORTING subrc = lv_subrc TABLES infty_tab = lt_p3203 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = p3204-paydt foreign_amount =
-betrg foreign_currency = -waers local_currency = iv_waers IMPORTING local_amount = lv_amt EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = iv_pernr infty = gc_infty_3204 begda = p3204-leadt endda = p3204-leadt bypass_buffer = 'X' TABLES infty_tab = lt_p3204 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-001 display_cancel_button = space IMPORTING answer = lv_answer.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = gc_field_reitm value_org = 'S' TABLES value_tab = lt_item EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = gc_field_lgart value_org = 'S' TABLES value_tab = lt_lgart EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING dynpprog = lv_repid dynpnr = lv_dynnr dynprofield = 'P3204-LEADT' retfield = 'LEADT' value_org = 'S' TABLES value_tab = gt_leainf EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = gc_field_learn value_org = 'S' TABLES value_tab = lt_learn EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3204-pernr infty = gc_infty_3204 begda = p3204-leadt endda = p3204-leadt TABLES infty_tab = lt_p3204 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3204-pernr infty = '0001' begda = iv_date endda = iv_date IMPORTING subrc = lv_subrc TABLES infty_tab = it_p0001 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.