Generating Moving Average Price Report
We got a u2018Sales document Flow reportu2019 already in BW. But we got a new requirement where we need to create a u2018New Enhanced Sales Document Flow BW Reportu2019 which should include u2018Moving Average Priceu2019 as well. Have got 3 Infoset Queries (R/3) which the user is currently using (Basically they are using 3 separate SAP Queries in R/3 and now they need a Enhanced BW Report combining these 3 SAP Queries).I am not sure whether to go ahead creating a u201Cgeneric data sourceu201D from tables/view or from u201C SAP Infoset Queryu201D ! .Well am kind of totally stuck right now.Would appreciate if someone could help me out with suggestions on the same.Many thanks.
Edited by: shashi prakash on Jun 30, 2010 4:45 PM
if you have the data in R/3 and know exactly where its coming from then do it from R/3 i meant it to clean it up and r/3 before it comes into BW. create your views and user exits to clean it up and briing only the fields you need into BW so its nice and clean.easy to manage this way as well.
Similar Messages
-
Hello friends,
Vendor is giving discount on monthly purchase qnty at end of every month by credit note. But my client want Purchase average price -monthly with considering discount.
Can anybody tell me how to get this report...
Waiting for reply.
KSHi,
There is no strandard report in SAP. You need to create a Z-Report.
Contact your abaper.
Regards,
VB -
Moving average price calculation based on year to date figures
Hello,
I've been working for months on the stock valuation at month end closing for the Finance department. We discover a situation where the moving average price is not calculated as we expected.
The situation is as follows:
2 purchase orders for the same material at different periods and with different purchase order prices
the invoice of the first pruchase order has been recorded after the good receipts of the 2 purchase orders with purchase price variance, good issues have been recorded between the good receipts and the first invoice receipt, therefore the stock quantity is lower than the quantity invoiced
the invoice of the second purchase order has been recorded as well with price purchase variance after the first invoice and after good issues, therefore the stock quantity is lower than the quantity invoiced.
Here is an example with figures:
SAP Calulation
Good entry
Good Issue
Before Posting
After Posting
Good receipt
Invoice receipt
Date
Movement
Quantité
Price
Value
Quantité
Price
Value
Quantité
Value
PMP
Quantité
PMP
Value
Quantité
PMP
Value
01.01.2014
Intial Stock
2000
11
22000
16.01.2014
Purchase Order 1
10000
10
100000
2000
11
22000
12000
10,17
122040
20.01.2014
Good issue
2000
20340
10,17
12000
10,17
122040
10000
10,17
101700
18.02.2014
Purchase Order 2
20000
9
180000
10000
10,17
101700
30000
9,39
281700
22.02.2014
Good issue
22000
9,39
206580
30000
9,39
281700
8000
9,39
75120
30.03.2014
Purchase Order 1
10000
9,5
95000
8000
9,39
75120
8000
8,89
71120
21.04.2014
Good issue
2000
8,89
17780
8000
8,89
71120
6000
8,89
53340
31.05.2014
Purchase Order 2
20000
7
140000
6000
8,89
53340
6000
6,89
41340
- When the first invoice is recorded, SAP calculate the MAP this way: ( 8000*9,39 + (95000-100000) * (8000/10000) ) / 8000 = 8,89
- When the second inoice is recorded, SAP calculate the MAP this way: ( 6000*8,89 + (140000-180000) * (6000/20000) ) / 6000 = 6,89
Moving average price calculation requirement
Good entry
Good Issue
Before Posting
After Posting
Good receipt
Invoice receipt
Date
Movement
Quantité
Price
Value
Quantité
Price
Value
Quantité
Value
PMP
Quantité
PMP
Value
Quantité
PMP
Value
01.01.2014
Intial Stock
2000
11
22000
16.01.2014
Purchase Order 1
10000
10
100000
2000
11
22000
12000
10,17
122040
20.01.2014
Good issue
2000
20340
10,17
12000
10,17
122040
10000
10,17
101700
18.02.2014
Purchase Order 2
20000
9
180000
10000
10,17
101700
30000
9,44
283200
22.02.2014
Good issue
22000
9,44
207680
30000
9,44
283200
8000
9,44
75520
30.03.2014
Purchase Order 1
10000
9,5
95000
8000
9,44
75520
8000
9,28
74240
21.04.2014
Good issue
2000
9,28
18560
8000
9,28
74240
6000
9,28
55680
31.05.2014
Purchase Order 2
20000
7
140000
6000
9,28
55680
6000
8,03
48180
- When the first invoice is recorded, SAP should calculate the MAP this way: (2000*11+10000*9,5+20000*9)/(2000+10000+20000) = 9,28
- When the second inoice is recorded, SAP should calculate the MAP this way: (2000*11+10000*9,5+20000*7)/(2000+10000+20000) = 8,03
Could you tell me if you know how to set up the calculation based on this formula (Intial stock value at MAP + Year to date Purchasing value) divided by (intial stock quantity + quantity purchased)?
Thank you in advance
RegardsArti,
MBEWH table will get you the MAP of a material monthwise,I guess you need to get the logic which will use those details to arrive on MAP for a paritcular date.
Check the SDN Forums with the keyword "MOVING AVERAGE PRICE REPORT" to get some lead.
moving average price report
K.Kiran. -
Report on Standard Prices & Moving Average Prices
Hi,
Would like to have a report on List of Materials with Standard Price & Moving Average Price per plant?
Though we use Standard Price, since material master also gets updated with Moving average Price.
Regards,
VengatHi,
Try MM60 tcode, see if it is suitable to you.
It shows you both (average / standard price)
Best Regards,
Natan -
Report for moving average price
Hi guys
Is there any report in MM which shows me different Moving average prices for a material (scenario is price changes very often for the material in PO)
Thanks
SamuelI do not think you will have such data stored in the system but you could pull the data for the current period, previous period and previous year from table MBEW. This much possible.
-
Moving Average Price Tolerance Report
Is there any standard SAP report that can display moving average price variances? I want to be able to see the percent change in the moving average price after each time that it changes.
The report S_P00_07000139 displays the old moving average price and the new one, but there is no field for variance. I know that OMR6 sets the tolerance keys to company codes, but is there any record of the VP key tolerance violations?
The goal is to be able to see all of the materials that have a moving average price that changed by more than 10% from its last price.
ThanksHello, Uuklyph,
if you are not satisfied with S_P00_07000139l, the easiest way would be to create a query (tx SQ01/02/03) over table MSEG "Document Segment: Material", with custom formula for MAP change, calculating with field LBKUM "Total valuated stock before the posting" and SALK3 "Value of total valuated stock before the posting".
Kind Regards
TomT -
Moving Average Price for Non-Valuated Material
Hello Experts
The question may seem to be quirky but need your advice for the below.
My client is buying non-valuated material against a cost center, they do not want to keep the stocks valuated. No value update only quantity update. The accounting documents are the following when the GR is done by receiving folks
Qty of material XYZ goods receipted = 10
Debit Consumption GL 12345678 10 USD Cost Center ABC123 (This is a warehouse cost center)
Credit GR/IR account 10 USD
Qty of mateiral XYZ issued = 5
The goods are later on issued to Production cost center and the client was the below entries to be passed with MOVING AVERAGE PRICE.
Debit Consumption GL 12345678 6 USD Cost Center ABC456 (This is production Cost center)
Credit Consumption GL 12345678 6 USD Cost Center ABC123 (This is warehouse cost center)
I am aware that as this is a non valuated material the above entry is not possible. Maybe, I will use BAPI_ACC_DOCUMENT_POST for the generating the accounting document when the goods are issued from warehosue to production center.
My question is how can i get the moving average price.
Regards
Chokkalingam Pillaiyou can have an accounting view for non-valuated materials, this helps for example with purchase requisitions as they could take the valuation price from the material master and the user does not need to enter a valuation manually.
But the material master moving average price cannot be calculated and updated automatically, as it is not foreseen in any standard program to do this for cost center procurement, since SAP only calculates a MAP for valuated stocks.
Further it is not logical to issue non-valuated stock valuated (even with a different price) from cost center to cost center.
It looks like you want to have a kind of internal billing for warehouse services, as you end up with a negative amount in the warehouse cost center which is then the profit.
Why don't you just create a report to run at the end of the month, listing all goods issue movements with their cost centers and taking the price from last PO (or from material master if you decide to maintain it manually) and use this for a manual cost center posting in CO module -
Moving average price in case of goods receipt with free of charge
Hello everyone,
Need some inputs......
Sometimes we receive materials from suppliers free of charge (e.g. warranty replacement) u2013 moving average goes down u2013 worst case 0,01 EUR/piece. This causes problems in government reporting and export documentation EX1 and clearance/pro-forma invoice) for deliveries to field engineers (Order type ZIS1, ZIS3 u2013 item cat. ZICA), because moving average price is used for the values in government reporting and on the invoices. In government reporting and on invoices we need to state a true value of the part.On the other hand, the value warehouse stock is depending on the moving average cost as well.Could you please let me know, how to handle such receipts from the supplier to have a correct stock value and correct values on invoices and government reporting?
Thanks
Deepthi...Hello Deepthi,
It depends on your company policy. If you want to valuate the material along with the material purchased handled in moving average price, free consignment will bring down the MAP for the material.
In that case, you can revaluate the material to the original price in MR21 transaction.
If you are not going to handle the materials received free of charge along with the purchased material, you can go with another material code, with non valuated material type.
But i guess, no company will be asking for another material code. So go for revaluation after the receipt of free consignment.
Regards -
Moving Average Price for Sales stock and Project stock of a material
Hiya Gurus,
I am developing a report to display inventory details. My requirement is that I have to display the Moving average price of a material for all Valuation type. I also need to display the Moving average price if a material has got Project stock or Sales stock.
In MBEW table I can get the Valuation type and its Moving average price, but how can I find the moving average price for the same material if it has got Sales stock and project stock. Please let me know the table and field where I could get the relevant data.
Kindly help me on this, it would be deeply appreciated.
Cheers,
ZIaHi
can you look at tables
EBEW Sales Order Stock Valuation
QBEW Project Stock Valuation
Nat -
Hi
can somebody pls tell me how can I get report for the Moving average
price on a particular date & value of the stock accordingly on that day.
Thanks & regards..
pravinHello Praveen,
CKM3 / CKM3N will work only if material ledger is active for your valuation area.
Table MBEW will give the material price and value for current and previous period, not for particualr date and the same is for MBEWH will give the price and value for past periods.
Table MSEG contains Material value and Stock before posting that material document, but does not contain document date, so you need to take it from MKPF table.
Also you need to give logic that if material document is not available for that particular date it should consider the posting period and pick the material price and value from MBEW / MBEWH table.
I think it will be some challenging report to get material price for particular date, instead if you convience business abou the getting price for that posting period it will be more easy. In that case you need to consider only MBEW and MBEWH table.
Hope this helps.
Regards
Arif Mansuri -
Moving average price in case of project stock
Hi,
How to check the moving average price of a material in case of project stock?
T code or table will help..
Regards,Hi,
Since project stock is a special stock, it is procured and cosumed against that particular project / WBS Element, you will not get value of it as a movong average price , may be you will get the same in project progress report. You can check report MBBS - Valuated Project Stock
Regards,
Vikas -
PROBLEM WITH MOVING AVERAGE PRICE
Hi,
Correct me if Im wrong, but from what I know the moving average price should only change or be recalculated when purchases or goods_recipts are made, otherwise items should be consumed at a FIXED moving average price (cost).
I´ve noticed when looking into the Inventory Audit Report that the moving average price is changing in my installations and I see that SAP BO recalculates it every time an issue is made. This last thing only happens when the total amount of the transaction is rounded or left with 0 decimals and the other types such as prices, rates, quantities, percent, etc. are left with 2 or 3 decimals.
Because of my country settings, the total amount has to have 0 decimals (I live in Chile and we dont have cents in our currency) and the moving average price of an Item should not change when an issue is made, can you help me with this?
Thanks and best regards to you all.
FernandoHi Nagesh,
Thank you for your quick response.
I understand what you say, but moving average price should not change when an issue is made and that´s what is bothering us.
The difference between what it shoud be and what SAP BO is calculating is our concern, ie: let´s say the number of transactions is 100, would that difference be negligible?
Here is an example:
Goods issue:
SO 8 11 -10,49 166,67 -1.748 99,35 16.559
SO 9 11 -10,49 166,673 -1.748 88,86 14.811
SO 10 11 -10,49 166,678 -1.748 78,37 13.063
SO 11 11 -10,48 166,684 -1.747 67,89 11.316
SO 12 11 -10,56 166,681 -1.760 57,33 9.556
Note that coma (,) is decimal separation and period (.) is the mile separator.
Where the 3rd line is the quantity of the goods issue, the 4th is the moving average, and the 5th is the total quantity of the issue.
So you see 10,49 x 1748 = 1748,39977= 1748(SAP) and then SAP BO recalculates the AVG. Price.
The problem I was talking about was the difference of the stock AVG Price with one hundred transactions or so... now the difference seems negligible (166,7 - 166,681 = 0,011).
Can you see it changes?, is that a bug?
Thank you
Fernando -
Updating the material moving average price in return to vendor process
Hello,
Our finance department is saying that the affect on the moving average price in our return to vendor process is wrong.
At the moment the moving average price is changed according to the material price in the return PO.
Our financial department says that the moving average price shouldn't be affected at all by a return to vendor.
Can someone tell me how to customize the system according to this request?
Thanks,
SivanDear Friend,
In COOIS Report or MB51 report, Select the list as Documented goods movement and in production order field give the production order number and execute. After executing, if any goods receipt has been done for the same than system will show the same with these it will also show the value of the same. If its not showing than go to change layout and select the same.
Thanks and Regards,
Jitendra Chauhan -
Moving average price (average price)
Dear All,
Is there any standard report in SAP to have moving average price (average price) for single material and for specific period?
Please let me know the details.
AmitGo to MB5B report give the period you want
and calculate MAP manually from fields Total value and Total Stock.
Regards
Krishna Mohan -
Stock of material and moving average price for each valuation type
Hi
Is anybody aware of any standard report which will show the stock of material and moving average price of the material for each valuation type.
M5BL is one report but would like to check if there is any other report.
Regards
Vaibhav MahajanHi,
Check MB52, select 'Display batch stock' option.
Batch is nothing but your valuation type.
You can see those details there.
Regards,
Piyush
Maybe you are looking for
-
Shutdown hangs after drop column
Hi, We were trying to drop column on a very big table, after that we cancelled that operation, and given shutdown immediate command. Now shutdown is taking too much time, going on from last 9 hours..... We want to start the database, what can be the
-
Creating a material with its classification using BAPI's
Hi there, I am creating a function module to create a material master using BAPI's. I am using the BAPI 'BAPI_MATERIAL_SAVEDATA'. However I did not find a way to pass the classification details to this BAPI. As I need to create a classific
-
Hi! Is it possible to change some key in HashMap? I mean: I've got HashMap<String,Object> and I want to update String (key). There is one solution possible: to make a temporary object with value, remove the whole row in HashMap and then add a new row
-
Sharing photos by e-mail arranged by version name
I need to send all photos in one project from Aperture by e-mail arranged by version name. That is, all photos in the letter must be ordered by version name. When i use Share button Aperture generates an e-mail where the photos are mixed. Does anyone
-
Unable to find communication channel -XI adapter
Hi Experts, I am doing a file - proxie scenario. I am unable to view the communucation channel I created for XI. I tried to refresh the Start complete cache refresh and tried to refresh the cache in IR and ID. I am able to see my Service(business syt