SAP Reports / Programs

/SAPMP/MM_STOCK_OVERVIEW SAP ABAP Report - Batch-Based Packaging Overview







/SAPMP/MM_STOCK_OVERVIEW is a standard Executable ABAP Report 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 /SAPMP/MM_STOCK_OVERVIEW 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

/SAPMP/STOCK - Batch-Based Packaging Overview


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 /SAPMP/MM_STOCK_OVERVIEW. "Basic submit
SUBMIT /SAPMP/MM_STOCK_OVERVIEW AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPMP/MM_STOCK_OVERVIEW 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: S_WERKS = D Plant
Selection Text: S_MATNR = D Material
Selection Text: S_ATWRT = Packaging Materials
Selection Text: P_NULL = Zero Stock
Selection Text: P_MTPOS = D Item Category Group
Selection Text: P_MSLB = Special Stocks with Vendor
Selection Text: P_MSKU = Special Stocks with Customer
Selection Text: P_MSKA = Sales Order Stock
Selection Text: P_MKOL = Special Stocks from Vendor
Selection Text: P_MCHB = Batch Stocks
Selection Text: P_LEER = Empty Packaging
Selection Text: P_ATNAM = Characteristic
Title: Batch-Based Packaging Overview
Text Symbol: 015 = Special Stocks from Vendor - MKOL
Text Symbol: 016 = Spec. Stks w. Vendor
Text Symbol: 017 = Special Stocks with Vendor - MSLB
Text Symbol: 014 = Spec. Stks f. Vendor
Text Symbol: 013 = Sales Order Stock - MSKA
Text Symbol: 012 = Sales Order Stock
Text Symbol: 011 = Special Stocks w. Customer - MSKU
Text Symbol: 010 = Spec. Stks w.Cust.
Text Symbol: 009 = Empty Stock
Text Symbol: 008 = Empt
Text Symbol: 007 = Batch Stocks - MCHB
Text Symbol: 006 = Batch Stocks
Text Symbol: 005 = Total Stock
Text Symbol: 004 = Total
Text Symbol: 003 = PackgMatls
Text Symbol: 001 = Packed Material
Text Symbol: 020 = Stock Types of Packed Material
Text Symbol: 023 = Stor.Loc
Text Symbol: 022 = Plnt
Text Symbol: 021 = Conts.


INCLUDES used within this REPORT /SAPMP/MM_STOCK_OVERVIEW

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:

MGV_SELOP_AFTER_INITIALIZATION call function 'MGV_SELOP_AFTER_INITIALIZATION' EXPORTING PROGRAM = mgv_matnr_prog TABLES SELOP = mgv_matnr_selopt_tab EXCEPTIONS NO_PROGRAMNAME = 1 OTHERS = 2 .

MGV_SELOP_AFTER_START_OF_SEL CALL FUNCTION 'MGV_SELOP_AFTER_START_OF_SEL' EXPORTING SELOPT_NAME = mgv_matnr_selopt_tab-name TABLES RANGE = .

VB_BATCH_DEFINITION CALL FUNCTION 'VB_BATCH_DEFINITION' IMPORTING kzdch = batch_level klart = batch_cl_type obtab = batch_table.

/SAPMP/LO_CHARACT CALL FUNCTION '/SAPMP/LO_CHARACT' EXPORTING i_atnam = '211' IMPORTING e_atnam = p_atnam EXCEPTIONS charact_not_found = 1 no_import_parameter = 2 OTHERS = 3.

T001W_SINGLE_READ CALL FUNCTION 'T001W_SINGLE_READ' EXPORTING t001w_werks = g_chargen-werks IMPORTING wt001w = g_t001w EXCEPTIONS not_found = 1 OTHERS = 2.

T134M_SINGLE_READ CALL FUNCTION 'T134M_SINGLE_READ' EXPORTING t134m_bwkey = g_t001w-bwkey t134m_mtart = g_mara-mtart IMPORTING wt134m = g_t134m EXCEPTIONS not_found = 1 OTHERS = 2.



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 /SAPMP/MM_STOCK_OVERVIEW or its description.