RM07MSAL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for GR/IR list of balances The report compares the GR quantities and values relating to a purchase order with the invoice quantities and values for the same PO...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RM07MSAL into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
MB5S - Display List of GR/IR Balances
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.
Selection Text: ALV_DEF = D Layout
Selection Text: EBELN = D Purchasing document
Selection Text: EBELP = D Item
Selection Text: EKGRP = D Purchasing group
Selection Text: EKORG = D Purchasing organization
Selection Text: FINAL = Final delivery items also
Selection Text: LIFNR = D Vendor
Selection Text: MATNR = D Material
Selection Text: ZERO = Cleared items too
Title: List of GR/IR Balances
Text Symbol: 001 = Database selections
Text Symbol: 002 = Display options
INCLUDE RM07POH.
INCLUDE RM07ALVI.
No SAP DATABASE tables are accessed within this REPORT code!
MMIM_ENTRYCHECK_MAIN CALL FUNCTION 'MMIM_ENTRYCHECK_MAIN' TABLES it_matnr = matnr it_lifnr = lifnr it_ekorg = ekorg it_ekgrp = ekgrp.
ME_READ_HISTORY_DAO CALL FUNCTION 'ME_READ_HISTORY_DAO' EXPORTING data_provider = lr_read_history_dataprovider "1787395 ebeln = ibs-ebeln ebelp = ibs-ebelp webre = ibs-webre i_bypassing_buffer = 'X' "388267 i_refresh_buffer = 'X' "388267 TABLES xekbe = iekbe xekbes = iekbes xekbez = iekbez xekbnk = iekbnk xekbz = iekbz_temp xekbe_ma = iekbe_ma "n1394338 xekbz_ma = iekbz_ma.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_interface_check = l_flag_interface_check "n725824 i_callback_program = alv_repid i_callback_pf_status_set = 'SET_STATUS' i_callback_user_command = 'USER_COMMAND' is_layout = alv_layout it_fieldcat = fc[] i_default = 'X' i_save = 'A' is_variant = alv_variant i_tabname_header = 'HEADER' i_tabname_item = 'ITAB' is_keyinfo = alv_keyinfo is_print = alv_print TABLES t_outtab_header = header[] t_outtab_item = itab[] "n725824 EXCEPTIONS "n725824 OTHERS = 1. "n725824
ME_DISPLAY_PURCHASE_DOCUMENT CALL FUNCTION 'ME_DISPLAY_PURCHASE_DOCUMENT' EXPORTING i_ebeln = itab-ebeln i_ebelp = itab-ebelp i_enjoy = 'X' EXCEPTIONS not_found = 1 no_authority = 2 invalid_call = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.