SAP Reports / Programs

RM07MSAL SAP ABAP Report - List of GR/IR Balances







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

MB5S - Display List of GR/IR Balances


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RM07MSAL. "Basic submit
SUBMIT RM07MSAL AND RETURN. "Return to original report after report execution complete
SUBMIT RM07MSAL VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT RM07MSAL

INCLUDE RM07POH.
INCLUDE RM07ALVI.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

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 RM07MSAL or its description.