SAP Reports / Programs

RLMG0020 SAP ABAP Report - Creating WM View for Multiple Material Masters (Decentr.WM)







RLMG0020 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report selects from the existing material masters at plant level all those material records which have not been maintained for the Warehouse Management view MLGN and which, according to the material type, do not exclude this view...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 RLMG0020 into the relevant SAP transactions such as SE38 or SE80


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 RLMG0020. "Basic submit
SUBMIT RLMG0020 AND RETURN. "Return to original report after report execution complete
SUBMIT RLMG0020 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: MG_BWTAR = ?...(MG_BWTAR)
Selection Text: P_BLOCK = Block Stor.Ind.
Selection Text: P_KZMBF = Message to Inventory Mgmt
Selection Text: P_KZZUL = Addition to existing stock
Selection Text: P_LGBKZ = Storage section ind.
Selection Text: P_LTKZA = Stock rem.type ind.
Selection Text: P_LTKZE = Stock plcmnt type ind.
Selection Text: MG_LGNUM = ?...(MG_LGNUM)
Selection Text: MG_MATNR = ?...(MG_MATNR)
Selection Text: MG_WERKS = ?...(MG_WERKS)
Selection Text: P_AUSME = ?...(P_AUSME)
Selection Text: P_AUSUN = ?...(P_AUSUN)
Selection Text: P_AUSUZ = ?...(P_AUSUZ)
Selection Text: P_BRGEW = ?...(P_BRGEW)
Selection Text: P_GEWEI = ?...(P_GEWEI)
Selection Text: P_LETY1 = ?...(P_LETY1)
Selection Text: P_LETY2 = ?...(P_LETY2)
Selection Text: P_LETY3 = ?...(P_LETY3)
Selection Text: P_LHME1 = ?...(P_LHME1)
Selection Text: P_LHME2 = ?...(P_LHME2)
Selection Text: P_LHME3 = ?...(P_LHME3)
Selection Text: P_LHMG1 = ?...(P_LHMG1)
Selection Text: P_LHMG2 = ?...(P_LHMG2)
Selection Text: P_LHMG3 = ?...(P_LHMG3)
Selection Text: P_LVSME = ?...(P_LVSME)
Selection Text: P_LVSUN = ?...(P_LVSUN)
Selection Text: P_LVSUZ = ?...(P_LVSUZ)
Selection Text: P_STOFF = ?...(P_STOFF)
Selection Text: P_VOLEH = ?...(P_VOLEH)
Selection Text: P_VOLUM = ?...(P_VOLUM)
Selection Text: P_XCHPF = ?...(P_XCHPF)
Selection Text: MAPPE = Session name
Selection Text: DS_NAME = Name of data set
Selection Text: CALTR = Block immediately
Selection Text: BATIN = Batch Input
Title: Creating WM View for Multiple Material Masters (Decentr.WM)
Text Symbol: 001 = WM data that should be common to all material masters
Text Symbol: 002 = 1.,,





Text Symbol: 003 = 2.,,
Text Symbol: 004 = 3.,,
Text Symbol: 005 = Stor.sect.ind...,,
Text Symbol: 006 = Add.exist.stock.,,
Text Symbol: 007 = Block stor.ind..,,
Text Symbol: 008 = Palletization data ----------,,
Text Symbol: 009 = Pall.qty. UM SUT,,
Text Symbol: 010 = St.plcmt.ty.ind.,,
Text Symbol: 011 = St.remov.ty.ind.,,
Text Symbol: 012 = Gross weight....,,
Text Symbol: 013 = WM unit of measure..,,
Text Symbol: 014 = Unit of issue.......,,
Text Symbol: 015 = Volume..........,,
Text Symbol: 016 = Batch requirement...,,
Text Symbol: 017 = Conf.to inv.mgmt,,
Text Symbol: 018 = Material number.,,
Text Symbol: 020 = -----------------------------------------------------------------------------
Text Symbol: 021 = Generated mat.masters WM view
Text Symbol: 022 = Mat.mast.already created WM view
Text Symbol: 023 = Mat.mast.where no WM view is allowed
Text Symbol: 030 = Log for creating several material masters
Text Symbol: 031 = Material masters that could not be created (WM view)
Text Symbol: 032 = Material masters that already existed (WM view)
Text Symbol: 033 = Material masters that were selected for generation (WM view)
Text Symbol: 035 = Selected material masters were written to following dataset:


INCLUDES used within this REPORT RLMG0020

INCLUDE RMMMBIMD.
INCLUDE RMMMBIMC.
INCLUDE RMMMBIMA.
INCLUDE MLLVSKON.


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:

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_fname CHANGING physical_filename = ds_name EXCEPTIONS OTHERS = 1.



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