SAP stock Overview covers all related subjects for SAP Materiel Stock in MM.
It starts with how to check Material Stock.
Then comes ?the important SAP Tcodes for handing Stocks in SAP MM/SD (Material Management / Sales and Distribution ) and SAP WM ( Warehouse Management ).
The next part will introduce the different SAP Stock Types .
The last section lists the the most important BAPI when dealing with SAP Stock.?
Table of Contents
Display SAP Stock Overview for a material
You can directly check the stock on a SAP Material.
To do, Go to Material (MM03) and go to?Environment > Stock Overview
The stock will be displayed by:
- Unit of Measure: the default Unit of Measure for the SAP Material ( MARA-MEINS )
- Company Code
- Plant : MARD-WERKS
- Storage location: MARD-LGORT
- SAP Stock Type
SAP Stock Tcodes
Use the transaction MMBE to get overview of SAP Stock for a particular material and access the previous screen.
To sum up, the most important Tcodes for displaying stocks in SAP MM are
|SAP Stock Tcodes
|Material Doc. List
|List of Warehouse Stocks on Hand
|Display Plant Stock Availability
|Display Quantity String
|Analyze batch where-used list
|Compile Batch Where-Used List
|Consgmt and Ret. Packag. at Customer
|Material Doc. List
|Evaluate Batch Where-Used Archive
|Stocks for Posting Date
|Delete Docs of Batch Where-Used File
|Create Batch Where-Used Archive
|Stock Consistency Check
|List of Stock Values: Balances
|Display Valuated GR Blocked Stock
|Display List of GR/IR Balances
|Stock in transit CC
|Stock in Transit on Key Date
|Analyze Conversion Differences
|Manage Batch Where-Used Archive
|List of Stock Values
|Create Semifinished Product
SAP WM Stock Transactions
On SAP WM, check rather these SAP Tcodes:
|SAP WMStock Tcodes
|Display Quants for Material
|Display Quants per Storage Bin
|Warehouse stocks per material
|Display quants for storage unit
|Display storage units / bin
SAP Stocks Types
There is 2?types of stocks: Normal stocks and special stocks.
SAP Normal Stocks
For Normal Stocks :
SAP Special Stocks
Special stocks are stocks that are managed separately as a result of their not belonging to your company or being stored at a particular location
Special stocks and special procurement types are divided into the following areas:
- Stock transfer using stock transport order
- Third-party processing
- Returnable transport packaging
- Pipeline handling
- Sales order stock
- Project stock
SAP Stock Tables
Check this post for SAP?SAP Stocks Tables and Types
You will find the above link:
SAP Stock BAPI
Find here some relevant BAPI to retrieve a material Stock in SAP.
The first SAP STock BAPI we will detail is?MARD_SINGLE_READ to read stock line.
The next one is?MB_READ_MATERIAL_STOCKS.
The BAPI MARD_SINGLE_READ read the table MARD where the sum of stock is stored.
The field for free stock ?(available stock) is MARD-LABST.
The SAP Stock BAPI MB_READ_MATERIAL_STOCKS is used to read Stock in detail for a SAP material.
Note that data can retrieve directly from tables/fields:?TRTYP, XNEUP, XAENP, MBEQU, SHKZG, XENQU, KZDZV, XMBWL, MBVAL, XWERT
CALL FUNCTION 'MB_READ_MATERIAL_STOCKS' " EXPORTING mtcom = " mtcom trtyp = " t158-trtyp xneup = " t063f-xneup xaenp = " t063f-xaenp mbequ = " tcurm-mbequ shkzg = " mseg-shkzg xenqu = " c kzdzv = " tcuch-kzdzv mkpf = " mkpf xmbwl = " c IMPORTING mbefu = " mbefu mtcor = " mtcor mtper = " mtper TABLES x156m = " t156m x156w = " t156w xstru = " wsos_stuli xmchb = " smchb CHANGING dm07m = " dm07m vm07m = " vm07m mseg = " mseg EXCEPTIONS LOCK_ON_BATCH = 1 " . "
SAP Stock Movement BAPI
Check here the List of important SAP Good Movement BAPI (Create,Cancel and Getdetails) in the following link:?List of important SAP Good Movement BAPI (Create,Cancel & Getdetails).
You will find also an useful tip on how?Create a Material Document with Equipment ( Serial number ).