SAP Reports / Programs | Materials Management | Inventory Management(MM-IM) SAP MM

RM07MLBS SAP ABAP Report - Display Warehouse Stocks of Material







RM07MLBS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Warehouse Stocks for Material You use this report to display the total stock of a material (quantity and value) at plant and storage location level...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 RM07MLBS 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

MB52 - List of Warehouse Stocks on Hand


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 RM07MLBS. "Basic submit
SUBMIT RM07MLBS AND RETURN. "Return to original report after report execution complete
SUBMIT RM07MLBS 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: CHARG = Batch
Selection Text: EKGRUP = Purchasing Group
Selection Text: LGORT = Storage Location
Selection Text: MATART = Material Type
Selection Text: MATKLA = Material Group
Selection Text: MATNR = Material
Selection Text: NEGATIV = Display Negative Stocks Only
Selection Text: NOVALUES = Do Not Display Values
Selection Text: PA_SOND = Also Select Special Stocks
Selection Text: P_VARI = Layout
Selection Text: SO_SOBKZ = Special Stock Indicator
Selection Text: WERKS = Plant
Selection Text: XMCHB = Display Batch Stocks
Selection Text: NOZERO = D .
Title: Display Warehouse Stocks of Material
Text Symbol: 895 = Error during INSERT in table MMIM_RE_PRINT
Text Symbol: 207 = Data being prepared
Text Symbol: 206 = Read material master
Text Symbol: 205 = Read material short texts
Text Symbol: 204 = Read material valuation
Text Symbol: 203 = Read batch master
Text Symbol: 202 = Read special stocks
Text Symbol: 201 = Read batch stocks
Text Symbol: 200 = Read warehouse stocks
Text Symbol: 165 = Following entries missing from table MBEW:
Text Symbol: 001 = Database Selections
Text Symbol: 005 = Display Options
Text Symbol: 006 = Hierarchical Representation
Text Symbol: 007 = Non-Hierarchical Representation
Text Symbol: 020 = Val.
Text Symbol: 021 = Value Unrestricted
Text Symbol: 022 = Value in Stock Tfr
Text Symbol: 023 = Value in QualInsp.
Text Symbol: 024 = Value Restricted
Text Symbol: 025 = Value BlockedStock
Text Symbol: 026 = Value Rets Blocked
Text Symbol: 027 = Val. GR Blocked St.
Text Symbol: 028 = Val. Tied Empties





Text Symbol: 029 = Value in Transit
Text Symbol: 030 = Val. in Trans./Tfr
Text Symbol: 070 = Scope of List
Text Symbol: 071 = Selection: Special Stocks
Text Symbol: 080 = Settings
Text Symbol: 090 = Display Material Flagged for Deletion
Text Symbol: 095 = Display Negative Stocks
Text Symbol: 100 = Display Batch Stocks
Text Symbol: 101 = Special Stocks, Stock in Transfer at Plant Level
Text Symbol: 110 = Display Consignment Stocks
Text Symbol: 111 = Display Ret. Transp. Packaging
Text Symbol: 160 = Material Valuation Area


INCLUDES used within this REPORT RM07MLBS

No INCLUDES are used within this REPORT code!


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_werks = werks it_lgort = lgort it_ekgrp = ekgrup it_sobkz = so_sobkz.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = def_variante.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = def_variante EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = def_variante EXCEPTIONS not_found = 2.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = c_hdb_dbcon_get EXCEPTIONS function_not_exist = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_interface_check = l_f_check i_callback_program = repid is_layout = layout it_fieldcat = fieldcat[] i_default = 'X' i_save = 'A' is_variant = variante it_events = gt_events[] "n667256 i_tabname_header = 'HEADER' i_tabname_item = 'BESTAND' is_keyinfo = keyinfo is_print = alv_print it_sort = sort[] it_excluding = excluding[] TABLES t_outtab_header = header t_outtab_item = bestand EXCEPTIONS OTHERS = 2.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = def_variante_f4 i_save = 'A' * it_default_fieldcat = IMPORTING e_exit = variant_exit es_variant = def_variante EXCEPTIONS not_found = 2.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'. "n667256

ME_CHECK_T160M CALL FUNCTION 'ME_CHECK_T160M' "n579976 EXPORTING "n579976 i_arbgb = 'M7' "n579976 i_msgnr = '393' "n579976 EXCEPTIONS "n579976 nothing = 0 "n579976 OTHERS = 1. "n579976



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