MP321340 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 MP321340 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.
Title: Include MP321340
INCLUDE MP321300_C_UT_LCL_TOOLS IF FOUND.
No SAP DATABASE tables are accessed within this REPORT code!
HR99B00_PP_T799BPP04_READ CALL FUNCTION 'HR99B00_PP_T799BPP04_READ' EXPORTING p_molga = t001p-molga p_idpln = p3213-idpln p_idsbp = p3213-idsbp p_date = p3213-begda p_endda = p3213-endda CHANGING p_tab_t799bpp04 = it_t799bpp04[] EXCEPTIONS * TOO_MANY_RECORDS = 1 no_entries_found = 2 * OTHERS = 99 .
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = p3213-begda foreign_amount =
-fixdd foreign_currency = -waers local_currency = p3213-waers type_of_rate = 'M' IMPORTING local_amount = -fixdd EXCEPTIONS OTHERS = 99.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_SYSTEM_UNDO' text = text-001 info = text-001 IMPORTING result = wa_methd_table-push_undo.
HR99B00_PP_T799BPP04_READ CALL FUNCTION 'HR99B00_PP_T799BPP04_READ' EXPORTING p_molga = t001p-molga p_idpln = p3213-idpln p_idsbp = p3213-idsbp p_seque = q3213-seque p_date = q3213-begda IMPORTING p_wa_t799bpp04 = wa_t799bpp04 EXCEPTIONS OTHERS = 0.
RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = t001p-molga begda = p3213-begda endda = p3213-endda IMPORTING waers = currency valid_endda = h_endda return = return TABLES currency_table = h_currency_table EXCEPTIONS OTHERS = 0.
HR99B00_PP_T799BPP04_READ CALL FUNCTION 'HR99B00_PP_T799BPP04_READ' EXPORTING p_molga = t001p-molga p_idpln = p3213-idpln p_idsbp = p3213-idsbp p_seque = q3213-seque p_date = p3213-begda p_endda = p3213-endda "YRA IMPORTING p_wa_t799bpp04 = wa_t799bpp04 CHANGING p_tab_t799bpp04 = lt_t799bpp04 "YRA EXCEPTIONS * TOO_MANY_RECORDS = 1 no_entries_found = 2 * OTHERS = 99 .
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = p3213-begda foreign_amount = wa_t799bpp04-fixdd foreign_currency = wa_t799bpp04-waers local_currency = p3213-waers type_of_rate = 'M' IMPORTING local_amount = wa_t799bpp04-fixdd EXCEPTIONS OTHERS = 99.
HR99B00_PP_T799BPP04_READ CALL FUNCTION 'HR99B00_PP_T799BPP04_READ' EXPORTING p_molga = t001p-molga p_idpln = p3213-idpln p_idsbp = p3213-idsbp p_seque = q3213-seque p_date = p3213-begda p_endda = p3213-endda "YRA IMPORTING p_wa_t799bpp04 = wa_t799bpp04 CHANGING p_tab_t799bpp04 = lt_t799bpp04 "YRA EXCEPTIONS * no_entries_found = 2 OTHERS = 99.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = p3213-begda foreign_amount = wa_t799bpp04-maxfx foreign_currency = wa_t799bpp04-waers local_currency = p3213-waers type_of_rate = 'M' IMPORTING local_amount = wa_t799bpp04-maxfx EXCEPTIONS OTHERS = 99.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = p3213-begda foreign_amount = wa_t799bpp04-minfx foreign_currency = wa_t799bpp04-waers local_currency = p3213-waers type_of_rate = 'M' IMPORTING local_amount = wa_t799bpp04-minfx EXCEPTIONS OTHERS = 99.
HR99B00_PP_T799BPP01T_READ CALL FUNCTION 'HR99B00_PP_T799BPP01T_READ' EXPORTING * p_sprsl = sy-langu p_molga = p_molga p_idpln = wa_idpln IMPORTING idpln_txt = wa_idpln_txt EXCEPTIONS no_entries_found = 1 OTHERS = 2.
HR99B00_PP_T799BPP01_READ CALL FUNCTION 'HR99B00_PP_T799BPP01_READ' EXPORTING p_molga = t001p-molga p_idpln = p3213-idpln IMPORTING p_w799bpp01 = l_w799bpp01 EXCEPTIONS OTHERS = 0.
HR99B00_PP_T799BPP01_READ CALL FUNCTION 'HR99B00_PP_T799BPP01_READ' EXPORTING p_molga = t001p-molga p_idpln = p3213-idpln IMPORTING p_w799bpp01 = l_w799bpp01 EXCEPTIONS OTHERS = 0.
HR99B00_PP_T799BPP03T_READ CALL FUNCTION 'HR99B00_PP_T799BPP03T_READ' EXPORTING p_molga = t001p-molga p_methd = p_methd p_date = p_date IMPORTING p_methd_txt = p_text EXCEPTIONS no_entries_found = 1 OTHERS = 2.
DYNP_GET_STEPL CALL FUNCTION 'DYNP_GET_STEPL' IMPORTING povstepl = l_stepl EXCEPTIONS stepl_not_found = 0 OTHERS = 0.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'PCTDD' dynpprog = sy-repid dynpnr = sy-dynnr value_org = 'S' TABLES value_tab = value_tab.
DYNP_GET_STEPL CALL FUNCTION 'DYNP_GET_STEPL' IMPORTING povstepl = l_stepl EXCEPTIONS stepl_not_found = 0 OTHERS = 0.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'FIXDD' dynpprog = sy-repid dynpnr = sy-dynnr value_org = 'S' TABLES value_tab = value_tab.
CALL FUNCTION 'HR99B00_PP_T799BPP02_READ' EXPORTING p_molga = t001p-molga p_idpln = p3213-idpln p_idsbp = p3213-idsbp p_date = p3213-begda CHANGING wa_t799bpp02 = ls_t799bpp02 EXCEPTIONS * no_entries_found = 1 OTHERS = 9.
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 MP321340 or its description.