Stock movement report
hi , all guru
I need a summarize report on each material for their quantity/value on particular period . and I can select the information by movement type .
Our SKU is around 2000 items
please advice is there any standard report or any table i can grap the information
many thanks
Hello,
Go to Transaction MB52. Here you can have Value/Qty report
For having list of standard reports in SAP please go to
transaction code SARPN.
Regards
Kedar Kulkarni
Message was edited by:
KEDAR KULKARNI
Similar Messages
-
Stock movement report date and warehouse wise
I need this report date wise and warehouse wise...
please help ..
Declare @FromDate Datetime
Declare @ToDate Datetime
Declare @Whse nvarchar(10)
select @FromDate = min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >='[%0]'
select @ToDate = max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <='[%1]'
select @Whse = Max(s2.Warehouse) from dbo.OINM S2 Where S2.Warehouse = '[%2]'
Select @Whse as 'Warehouse',
a.Itemcode,
max(a.Dscription) as ItemName,
sum(a.OpeningBalance) as OpeningBalance,
sum(a.INq) as 'IN',
sum(a.OUT) as OUT,
((sum(a.OpeningBalance) + sum(a.INq)) - Sum(a.OUT)) as Closing
--(Select i.InvntryUom from OITM i where i.ItemCode=a.Itemcode) as UOM
from( Select N1.Warehouse,
N1.Itemcode,
N1.Dscription,
(sum(N1.inqty)-sum(n1.outqty))as OpeningBalance, 0 as INq, 0 as OUT From dbo.OINM N1
Where N1.DocDate < @FromDate and N1.Warehouse = @Whse Group By N1.Warehouse,N1.ItemCode,
N1.Dscription Union All select N1.Warehouse, N1.Itemcode, N1.Dscription, 0 as OpeningBalance,
sum(N1.inqty) , 0 as OUT From dbo.OINM N1 Where N1.DocDate >= @FromDate and N1.DocDate <= @ToDate
and N1.Inqty >0 and N1.Warehouse = @Whse Group By N1.Warehouse,N1.ItemCode,N1.Dscription
Union All select N1.Warehouse, N1.Itemcode, N1.Dscription, 0 as OpeningBalance, 0 , sum(N1.outqty) as OUT
From dbo.OINM N1 Where N1.DocDate >= @FromDate and N1.DocDate <=@ToDate and N1.OutQty > 0
and N1.Warehouse = @Whse Group By N1.Warehouse,N1.ItemCode,N1.Dscription) a, dbo.OITM I1
where a.ItemCode=I1.ItemCode
Group By a.Itemcode Having sum(a.OpeningBalance) + sum(a.INq) + sum(a.OUT) > 0 Order By a.Itemcodeplease advice.. - wrong out put.
Declare @FromDate Datetime
Declare @ToDate Datetime
select @FromDate = min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >='[%0]'
select @ToDate = max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <='[%1]'
select
a.Itemcode, a.warehouse,a.price as 'Item Cost',
max(a.Dscription) as ItemName,
sum(a.OpeningBalance) as OpeningBalance,((sum(a.OpeningBalance) *a.Price)) as 'Opening STock Value',
sum(a.INq) as 'IN',
sum(a.INq)*a.Price as 'IN Stock Value',
sum(a.OUT) as OUT,
sum(a.OUT)*a.Price as 'OUT Stock Value',
((sum(a.OpeningBalance) + sum(a.INq)) - Sum(a.OUT)) as Closing,
((sum(a.OpeningBalance) + sum(a.INq)) - Sum(a.OUT))*a.Price as 'Closing Stock Value'
--(Select i.InvntryUom from OITM i where i.ItemCode=a.Itemcode) as UOM
from( Select N1.Warehouse,
N1.Itemcode,
N1.Dscription,n1.Price,
(sum(N1.inqty)-sum(n1.outqty))as OpeningBalance, 0 as INq, 0 as OUT From dbo.OINM N1
Where N1.DocDate < @FromDate Group By N1.Warehouse,N1.ItemCode,n1.Price,
N1.Dscription
Union All
select N1.Warehouse, N1.Itemcode, N1.Dscription,n1.Price, 0 as OpeningBalance,
sum(N1.inqty) , 0 as OUT From dbo.OINM N1 Where N1.DocDate >= @FromDate and N1.DocDate <= @ToDate
and N1.Inqty >0 Group By N1.Warehouse,N1.ItemCode,N1.Dscription,n1.Price
Union All
select N1.Warehouse, N1.Itemcode,N1.Dscription,n1.Price, 0 as OpeningBalance, 0 , sum(N1.outqty) as OUT
From dbo.OINM N1 Where N1.DocDate >= @FromDate and N1.DocDate <=@ToDate and N1.OutQty > 0
Group By N1.Warehouse,N1.ItemCode,N1.Dscription,n1.Price) a, dbo.OITM I1
where a.ItemCode=I1.ItemCode
Group By a.Itemcode,a.warehouse,a.Price
Having sum(a.OpeningBalance) + sum(a.INq) + sum(a.OUT) > 0 Order By a.Itemcode -
Report needed to conbine stock movement and corresponding balance
Hi Friends,
End user need a report to show stock movement trasaction and it's coresponding stock balance.
In MB51, we can see all the stock movements against one material, is there any way a report could show stocks' corresponding iventory balance under diffierent invenotory category (unrestriced,QC, Return and block) for each movement trasaction ?
Report needed like below
SLoc , MoveType , Material document, posting date, qty, unrestic bal, QC balance, return Balance, Blked Bal.
Thanks,
LHi,
Kindly take the help of abaper and create a customized report or also you can have query created in SQ01.
Hope this will help you !!!
Regards,
Krishna O -
Consignment Stock movements in ORT_C37
Hi Experts,
I am working on BW IS-Retail implementation. In my project for stock information, we are using 0RT_C37 infocube. But I am not getting the consignment stock material movements in my report. Please let me know how to get the consignment material movements in 0rt_c37 infocube.
Any enhancements required for 2lif_03_bf infosource. I saw the consignements stock movements in 0IC_C03 cube. But I am using 0rt_c37 cube for retail values.
Please help me out from this issue.
Regards,
ChandraHi
There are two option for u
First option is...you can update the same cube with another infosource and updat rule to feed the data into the cube and get the consignment stock detail
this should not affect the data consistency or granularity of the cube....
Second option is..as already said create a multiprovider or infoset depending on the report...if u feel joins wil be useful go for infoset query or union condition is sufficing ur report requirement go for multiprovider....
this should not affect the reporting performance as joins are done during runtime and may take some time to fetch
Regards
N Ganesh -
Urgent: Regarding Stock Ageing report
hi,
i want to have stock ageing report in which i want to have the deatils :-
This is the material which is present in the palnt from dis <b>date</b> and further details of it consumption. plzz tell the <b>tcode</b> for it.
plzz help me out as it is most urgent to me..
regards,
ric.s
Message was edited by:
ric .sHi
The report MC.9 shows Last movement date/Last receipt date / Last issue date.
In period to analyze give appropriate date range
Or
check MSEG & MARD table to get details about material documents with date
Vishal... -
Stock Transfer Report after Invoice
Hello Experts
Please spend one minute's time to read this. It may be long but its the exact scenario.
I have got a requirement to generate a Stock Transfer Report for the bills passed (invoice receipt) for a particular date range. Note that the delivery against the PO can be for partial quantities too.
I am using RBKP table to get all the invoice numbers falling in the certain date range selection. Against these Invoices I am retrieving the PO number and other report relevant data from the RSEG Table. And using the PO I need to get into the MSEG table to retrieve Mat Doc numbers so that I can drill into the excise tables to get Excise No.
Now the problem is:
Suppose the PO <b>4900000337 </b>contains various items
item no | material | qty
10 | mat1 | 1050
20 | mat2 | 2670
30 | mat3 | 450
Now one partial delivery is made as
item no | material | qty
10 | mat1 | 100
20 | mat2 | 250
<i>mat doc 4900012713, mov type 641</i>
and the against this delivery an invoice receipt is created using MIRO, <b>5105600790</b>
another partial delivery is made as
item no | material | qty
20 | mat1 | 350
30 | mat2 | 50
<i>mat doc 4900012714, mov type 641</i>
against this delivery an invoice receipt is created using MIRO, <b>5105600791</b>
How do I link the invoice no to the material documents to know the quantity of the particular item of the PO... as we see item no 20 is common in both the case.
RSEG
Document Number Fiscal Year Item Purchasing Doc. Item
5105600790 2007 000007 4900000337 00020
5105600791 2007 000007 4900000337 00020
MSEG
Material Doc. Mat. Doc. Year Item Line ID Parent ID Movement Type Material Quantity Purchase Order Item
4900012713 2007 0004 000005 000002 641 90050106 250.000 4900000337 00020
4900012714 2007 0002 000003 000001 641 90050106 350.000 4900000337 00020Hi...
<i>1) MIRO is done against Purchase Order right??</i>
> Yes, MIRO is done against PO. And, when I try to do it against Deliv. Doc. its not possible as its not displaying any items!
<i>2) In BSEG : you put the PO number 4900000343 then the below rows are visible right??</i>
>Yes.
<i>3) Can you please paste the rows : BELNR, EBELN and VBELN only ??</i>
Here they are...(with some other fields which might be of importance)
For <b>PO 4900000343</b>
Table: BSEG
Document Number Transaction Assignment Billing Doc. Plant Quantity Purchasing Doc. Item
BELNR KTOSL ZUONR VBELN WERKS MENGE EBELN EBELP
0490021088 BSX 20071024 0010004216 2006 50.000 4900000343 00010
0490021088 BSX 20071024 0010004216 6201 50.000 4900000343 00010
0490021088 AUM 0006201001 0010004216 6201 50.000 4900000343 00010
0490021088 FR1 490000034300010 0010004216 6201 50.000 4900000343 00010
0490021088 BSX 20071024 0010004216 2006 100.000 4900000343 00020
0490021088 BSX 20071024 0010004216 6201 100.000 4900000343 00020
0490021088 AUM 0006201001 0010004216 6201 100.000 4900000343 00020
0490021088 FR1 490000034300020 0010004216 6201 100.000 4900000343 00020
0490021089 BSX 20071024 0010004217 2006 200.000 4900000343 00020
0490021089 BSX 20071024 0010004217 6201 200.000 4900000343 00020
0490021089 AUM 0006201001 0010004217 6201 200.000 4900000343 00020
0490021089 FR1 490000034300020 0010004217 6201 200.000 4900000343 00020
0490021089 AUM 0006201001 0010004217 6201 100.000 4900000343 00030
0490021089 FR1 490000034300030 0010004217 6201 100.000 4900000343 00030
0510000678 FR1 490000034300010 6201 50.000 4900000343 00010
0510000678 FR1 490000034300020 6201 100.000 4900000343 00020
0510000679 FR1 490000034300020 6201 200.000 4900000343 00020
0510000679 FR1 490000034300030 6201 100.000 4900000343 00030
Can you also show the rows for the PO that you have mentioned in your first message.
<b>PO 4900000337</b>
Table: BSEG
Document Number Transaction Assignment Billing Doc. Plant Quantity Purchasing Doc. Item
BELNR KTOSL ZUONR VBELN WERKS MENGE EBELN EBELP
0490021080 AUM 0006201001 0010004205 6201 350.000 4900000337 00070
0490021080 FR1 490000033700070 0010004205 6201 350.000 4900000337 00070
0490021080 BSX 20071017 0010004205 2006 50.000 4900000337 00100
0490021080 BSX 20071017 0010004205 6201 50.000 4900000337 00100
0490021080 AUM 0006201001 0010004205 6201 50.000 4900000337 00100
0490021080 FR1 490000033700100 0010004205 6201 50.000 4900000337 00100
0490021081 BSX 20071017 0010004206 2006 500.000 4900000337 00010
0490021081 BSX 20071017 0010004206 6201 500.000 4900000337 00010
0490021081 AUM 20071017 0010004206 6201 500.000 4900000337 00010
0490021081 FR1 490000033700010 0010004206 6201 500.000 4900000337 00010
0490021081 BSX 20071017 0010004206 2006 300.000 4900000337 00020
0490021081 AUM 0006201001 0010004206 6201 300.000 4900000337 00020
0490021081 FR1 490000033700020 0010004206 6201 300.000 4900000337 00020
0490021082 BSX 20071017 0010004207 2006 300.000 4900000337 00010
0490021082 BSX 20071017 0010004207 6201 300.000 4900000337 00010
0490021082 AUM 20071017 0010004207 6201 300.000 4900000337 00010
0490021082 FR1 490000033700010 0010004207 6201 300.000 4900000337 00010
0490021082 BSX 20071017 0010004207 2006 250.000 4900000337 00020
0490021082 AUM 0006201001 0010004207 6201 250.000 4900000337 00020
0490021082 FR1 490000033700020 0010004207 6201 250.000 4900000337 00020
0490021101 BSX 20071025 0010004229 2006 1,000.000 4900000337 00010
0490021101 BSX 20071025 0010004229 6201 1,000.000 4900000337 00010
0490021101 AUM 20071025 0010004229 6201 1,000.000 4900000337 00010
0490021101 FR1 490000033700010 0010004229 6201 1,000.000 4900000337 00010
0490021101 BSX 20071025 0010004229 2006 250.000 4900000337 00020
0490021101 AUM 0006201001 0010004229 6201 250.000 4900000337 00020
0490021101 FR1 490000033700020 0010004229 6201 250.000 4900000337 00020
0510000675 FR1 490000033700030 6201 400.000 4900000337 00030
0510000675 FR1 490000033700070 6201 250.000 4900000337 00070
0510000675 FR1 490000033700090 6201 50.000 4900000337 00090
0510000676 FR1 490000033700070 6201 350.000 4900000337 00070
0510000676 FR1 490000033700100 6201 50.000 4900000337 00100
0510000677 FR1 490000033700010 6201 800.000 4900000337 00010
0510000677 FR1 490000033700020 6201 550.000 4900000337 00020
Thanks. I have added you on GoogleTalk... if you use it, we can discuss there and update the thread...
Regards
Aabhas K Vishnoi -
Facing Issue with Stock Ageing report
In Blocked Stock Ageing report Output, I am facing following issues
1. Stock is correct but once we include the "Reason For Movement" then the aging is getting wrong and in some cases value is coming Negative.
2. In some cases "Reason For Movement" is coming in ‘#’, but this is a mandatory field. Hence cannot be blank.
Note:
1. Overall stock is coming correct.
2. Reason Movement chat. is in free char
3. Report is based 0IC_C03.Hi Nadeem,
Reason for Movement is loading from what attribute? check in RSRV for that attribute.
RSRV-->All Elementary Tests ->Master Data ->Compare Size of P-, Q- with X- and Y- Tables respectively .
If it has any error then correct that error in RSRV. It will solve your problem.
Regards,
Rajesh -
Stock ageing report with batch Management active
Hi Experts,
My client wants a Stock ageing report and batch management is active
According to my client, Inventory ageing report should show stock quantities and stock value as follows,
1. Below one year
2. Between one and two years
3. Above two years
What are the table and fields to be considered for this report.
Thanks
NDSWhat steps do you mean? taking an ABAP course and doing it yourself, or stepping to an ABAPer and let him know what he shall do?
you asked for a stock report, not for a movement report.
If I go into my warehouse and looking at all the stuff sitting there and want a report that should tell me how old this stuff is, then i am not intrested if there was a goods receipt movement.
However I would like to know the last movement date. In this case you have to look into table S032 or into the movements MSEG (with MKPF as header table) -
HI,
There is any Stock Ledger Report material Wise and Date Wise with Opening , issue, Receipt & Closing Qt available.
With details Shown Below
Material Code, Date, Material Document, Goods Movement Qty, Opening stock, receipt, Issues, Closing Stock.
if useful, rewards points will be given.
Regards
Mani.Dear Vishal,
Thank You for your response.
But MB5B is Stock Statement and am looking for date wise, Material document wise, Opening, Receipt, Issues and Closing stock for the paricular material.
i hope you can understand my requirement.
Rgards
Mani -
Stock balance Report S_P00_07000139 Wrong quantity
Hi,
I have executed the report S_P00_07000139 and found quantity were wrong display.
Stock card report selection:- Stock balance report summary.
Scope of List:-No Zero Stock
Here Quantity appear (98.112) and Amount 1878403.29.THB.
Though on the posting date 13.02.2014 having two GR document with
reference to production order.
13.02.2014 58.957 TO
13.02.2014 34.989 TO
It should be include in the above said report and display the closing
quantity.
Because in MB5B report were functioning well and included all the
movement of the said material.The data from MB5B are furnished below.
Opening stock Total Receipts qty Total issue qty Closing
stock Bun Closing value Currency
80.550 106.759 89.197- 98.112 TO 1,878,403.29 THB.
We have already implemented the SAP Note:-1767220 but still having the same issue.
Kindly advice.
Thanks & Regards
RakeshHi,
For your reference i have attached the screen shot details of reports.
Transaction code:- S_P00_07000139
FG code:- FRRSGTR24X061000FP
Plant:-0431
Company code:-0430
Datum:-01.02.2010 TO 28.02.2010.
After Execution of the report.
Screen shot data from MB51
Date range:-01.03.2010 to 01.01.2014
A lots of Data found.
Again run the stock card report
Datum:- 01.01.2014 TO 28.02.2014
Again quantity is the same. How it’s possible.
Regards
Rakesh -
Hi ,
There is a report requirement from stock aging report based on the bucket scenario.
I need to calculate the stock based on quantity(MSEG - MENGE) and moving average price/periodic unit price(MBEW - VERPR).
Then i need to perform the same into bucket scenario like 0-09 ,91-180,180-360,>360.
I can see the field (MENGE) in the standard datasource 2LIS_03_BF which is connecting with the infoobject 0QUANT_B.
But in the update rule/transformation there no assignment for this.
For which infoobject i can map to the cube and what logic i need to perform.
There is a calculation for this in the report for the value of the stock below.
Value = Quantity(MENGE)xmoving average price/periodic unit price(VERPR).
Stock Logic:
Stock is consider based on the movement types: 101,701,712.
Can anyone give me the idea on this how to perform the logic.
Thanks,
satyaHi Vijay,
Functional consultant has given the logic for calculating the stock is
Stock Quantity is restricted based on the movement types 101,701,712.
Stock Value = QuantityxMoving average price /periodic unit price
The logic for calculating the buckets based on the Posting date(0PSTNG_DATE).
My concern is how i can perform the same logic in BW side to calculate the value of the stock.
Advice...
Thanks,
Satya
Edited by: satya prasad on Aug 5, 2011 7:03 AM -
Stock value in Stock Valuation Report
Does anyone know how you shouid use the stock cost shown by the Stock Valuation Report?
I am looking at a database which uses standard costing, and trying to use the Stock Valuation Report to see what the stock value would be at Moving Average.
Some of the records on the Stock Valuation Report have a zero stock quantity but a stock cost (supposedly Moving Average) and a stock value. There are also records with neagtive stock costs and values.
I have found SAP Notes which confirm that you can get stock values where there are zero quantities. However if you ignore the zero quantity liines, is the Moving Average cost shown accurate or is it the case that this report is essentially useless if you have a continuous stock system?
Regards,
DouglasHi Douglas,
I found this in one the SAP Notes.
Symptom
In the Stock Audit Report, generated for a specific warehouse, a value is shown in the 'Cumulative Value' column even if the item does not have quantity.
Other terms
Inventory Audit Report, Stock Audit Report, warehouse, cumulative, value, zero, quantity, average cost, System Initialization, per company, use perpetual inventory, SAP Business One
Reason and Prerequisites
Consulting
Solution
The 'Manage Item Cost per Warehouse' setting in the Administration -> System Initialisation -> Company Details -> Basic Initialisation tab determines the information displayed in the Stock Audit Report.
When this option is selected, each warehouse defined in SAP Business Onemaintains its own cost. This warehouse cost is calculated whenever there is a movement of the item in the specific warehouse.
When this option is not selected, a single cost is maintained for the item per company. This cost is determined by the movement of the item within all warehouses.
SAP Business One uses the calculated costs to reduce the inventory value when stocks are issued. If the cost is managed by warehouse, then,the item cost will be from the specific warehouse where the stocks are issued; otherwise, the item cost will be the single cost.
With the difference between the specific warehouse's and the entire warehouses' costs, there is a possibility that costs remain in the specific warehouse even if the quantity is already zero. In this scenario, viewing the Stock Audit Report per warehouse may not provide accurate cumulative value of the stock in that warehouse since the valuation is a combination of different warehouses. The Stock Audit Report then can be used to check the quantities per warehouse. If the valuation of the stock is needed, the report must be generated for all warehouses
Hope this helps.
Thanks,
Joseph -
Hi Friends,
We have a requirement to create stock ageing report in BIW.
If i create the report based on the material documnet date which is coming in 0IC_C03 cube,i will get correct ageing as far as manufacturing plant is concerned.
But we have defined the sales depots also as plants in our R/3,so if i take the material doc date from the ic_c03 cube,my ageing will be wrong for my sales depots because here it will consider the documnet(material) received into the depot date and will not consider the material manufacture(updated into system by 101 movement).
So in my depots,i will get the wrong ageing based on the material received date and not the manuf date.
So how do i go about this issue.
Awaiting your inputs..
Thanks & Regards
Sudhakar MHi
You can look for some standard date fileds in MM03 transaction under Production for material manufacturing data and map this field in BW to fetch data and use the field in your query for ageing
Assign points if useful
Regards
N Ganesh -
Stock ageing report without Batch Management
Hi Gurus,
My client wants a Stock ageing report. But my concern here is can we achieve this without batch management
According to my client, Inventory ageing report should show stock quantities and stock value as follows,
1. Below one year
2. Between one and two years
3. Above two years
We can accumulate the goods receipt as per Material document date and movement type according to the above age requirement.
But, can we track goods issues from the above age groups without Batch Management.
Experts Pls reply and If possible, pls explain how we can achieve this.
Thanks
NDSAs you already noticed not only the input (GR) but the output (GI) is also important.
The date of the GR is only one thing, but after that you received the goods in your SLoc you cannot make difference between stocks received at different times.
As your stock is not distinguished in the system as per the GR date you cannot say that which sub-stock has been consumed during GI.
So, without batch management you cannot achieve your goal in standard system.
Of course, physically you can realize your idea by putting labels on different batches - this would mean batch management physically and not in SAP.
If you use warehouse management you can use a workaround: the GR date is stored in the quants and this makes possible to track the age of the stock without batch management. Please check:
http://help.sap.com/erp2005_ehp_04/helpdata/EN/c6/f83b5e4afa11d182b90000e829fbfe/frameset.htm
Regards,
Csaba -
Inventory Material Movement Report in R12.1.1
Dear All,
I am currently working in a implementation project. My client needs a Inventory Material Movement Report on Periodical Basis
Report Should show : Item Name, Item Desc, Sub Inventory, UOM, Opening Stock of that period, Receipts for that Period, Adjustments and Closing Balance.
Please suggest me how to go about this on the same. Please someone share the code if someone have any. What logic do i need to follow and where to pick the data.
It is show stopper for us now as we do not have any standard report.
Thanks,
AddyHi Aditya,
You can find all the information you need in mtl_material_transactions table. If you need code combination id too, you can make use of a standard view CST_INV_DISTRIBUTION_V. Other than these, you can join these tables for other info..
MTL_SYSTEM_ITEMS_B MTL,GL_CODE_COMBINATIONS GCC.
In MMT, use qty <, > 0 for receipts and issues. use group by to get opening and closing balances.
Regards,
Siva Kumar.
Maybe you are looking for
-
Adding music folder from hard disk to itunes causes the original music to vanish
what is causing itunes to delete original music folder from hard disk when selecting add folder to itunes
-
PO and order number not showing on shipment screen (VL03N)
We are implementing shipments in SAP. Two of the standard fields available on the variant builder in shipment display (t-code: VL03N) are PO number and Order number. However, these two fields are currently blank on the shipment display screen. Is
-
Hello, I have a problem with a program in java. when I compile the program (no problem), but when I try to run it I get the message: javaLang:NoClassDefFound I use the sdk 1.4.2 for linux. the path is set and it works, and for this program I use an e
-
I am trying to figure out how to make a variable: Ex. I have two fields feildA and fieldB I want fieldA to be dependant on fieldB if fieldB is 1 then fieldA is 25 These are all the other variables 1 = 25 2 = 30 3 = 40 4 = 50 5 = 65 6 = 75 7 = 8
-
System Requirements for SAP All-In-One
Hi experts I am going to install SAP All-in-One for one of my client. I want to know about the system requirements for this, like hardware requirements and specifications, software required (OS and database). I was searching for the best practice set