Moving average price not calculated properly
Hi,
For a consumable material moving average price(MAP) is getting calculated wrongly.
There are 2 goods receipts taken in Jan'08 and Feb'08 at a unit price of 1250 and 1450 INR.
Then there are around 10 Goods issues for a cost centre, Mvt type 201 taken for next few months.
The MAP value has been calculated properly after the Goods issues.
Again there was a goods recipt in Oct'08 for 1275 INR.
The goods issue done in Nov'08 has created a problem and it has calculated wronlgy i.e. instead of Rs. 800, the system has calculated issue price as Rs.3500.
No value has been changed in MR21. No PO's has been created between these days.
Can anyone help us...??
Regards,
Ramya
Hi Ramya,
You have informed in your thread that "for a consumable material..", If a material is procured for direct consumption, the consumption accounts in Financial Accounting are posted when the goods receipt is entered . The total quantity and value of existing stocks of the material are not affected. There is no Goods Issue.
Now, if you procure the material for stock, then changes in Material Valuation due to goods receipts and invoice receipts are carried out automatically (ofcourse manually also) when the relevant transaction is posted.
The extent to which the stock value changes depends on the sequence in which the goods receipts and invoice receipts are posted. The SAP System allows for both possibilities:
- When goods are received before the invoice, the stipulations in the purchase order are used as the basis for posting.
- When the invoice is received before the goods, the details on the invoice are used as the basis for posting.
So, please look into the Invoices and the relevant GR/IR clearing account details. You may get a clue there.
Regards,
Narayana.
Similar Messages
-
Moving average price not updatet when sales order stock
Sales order stock is ioncluded in calculating moving average (at goods receipt there is no new valuation type created)
It is okay with replenishment orders (regular stock)
I first thought it had to do with Spec. Stk Valuation indictator (but this one is set to 'M', which seems right for me.
Does anyone have a clue what I can do so my moving average value is also calculated based on sales order stock and not only regular stock?
Kind Regards
Kevin
Edited by: Kevin Gielen on May 5, 2010 2:44 PMSpl Stock Valution must be - A (not M) to valuate along with normal stock .
Ensure following configuration is there
1. create Requirement class in OVZG . Maintain required account assignment category under account assginment subscreen
2. Create requirement type in OVZH . assign this req.class to req.type
3.Assign requirement type to sales item categories for which you need this VSO functionality
4.Goto SM30 and give table V_T459K_K ,mainatain ,for your requirement class under valuation field maintain M or A(put F1 for moreinfo)
5.Take SD consultant help to setup schedule line category(SC) for this item category ,it should have account assignemtnt category and PR order type - VOV6 and assign this SC to item category in VOV5
6. Now create SO which will populate the above created item category (if not check with SD consul to populate the above item category)
7.convert the PR generated through above SO into PO
8.In PO under account assignment tab you could see BSX account and it must be greyout .
9.Do GR ,stock will be updated in MBBS report.
it resolves your requirements
check point in each transaction:
after SO ,check VBAP- KZBWS = M or A (which you have maintained in requirement class)
PR from SO, EBAN-KZBWS =M or A and PO also will have EKPO-KZBWS = M or A -
Moving Average does not base on Posting Date??
Hi All,
I got the problem with moving average, seem that the Posting Date is ignored when posting Sales document or purchase document,and moving average does not calculated correctly.
The system only calculated the moving average
based on the input seq, and the posting
date is ignored??
does anyone know its normal? or any
setting can change the behavior?
or any system auto adj?
thanks
ChrisHi Chris,
This is standard functionality of SAP Business One.
Please consider that system works with Continuous Stock System option enabled. This causes, that each item receipt have direct impact on MAP.
Of course you have possibility to turn this off (before first posting), however then you will not have postings to the stock account, but to the revenues and expenses. In this case also MAP is not handled by the system.
regards,
Maciek -
Does moving average price work with multiple valuations?
Dear All,
I have activated multiple valuations: Legal, group and profit center.
I have activated ML/Actual costing for this multiple valuations too.
Now I have 3 price fields in material master.
Could I use moving average price for some materials types in multiple valuations?
Thank you,
With best regards,
Kamila.Hi Kamila,
yes, ML is always activated for all materials in a plant. To use MAP you have to set the price determination of a material to '2':
This is the F1 help of the field price determination:
Material Price Determination: Control
Specifies how the material price determination should procede.
You have the following options:
With price control V in activity-based material price determination (indicator2 in the material master), the moving average price is calculated. With price control S, the material is valuated with the standard price and the moving average price is calculated for information purposes.
In single-/multi-level material price determination(indicator 3 in the material master), the valuation price (standard price) remains unchanged and a periodic unit price is calculated for the closed period.
This option is only for materials with price control indicator S,and is only recommended if in addition to multiple currencies and/or valuations, you use single-/multi-level material price determination.
In single-/multi-level material price determination, a periodic unit price is updated for information, but it can only be used for material valuation in the closed period.
Dependencies
The indicator is only of use if the material ledger is active.
Upon activating a valuation area for the Material Ledger in Customizing, you can enter what type of material price determination will be proposed when creating a material in that valuation area. This proposal will be ignored at production startup: the system automatically sets the indicator to 2 in the material master for all materials present.
If you want to change the indicator for a particular material later, choose Accounting -> Controlling -> Actual Costing/Material Ledger -> Environment -> Change Material Price Determination.
best regards,
Udo -
Moving average price & Standard price
Hi every body
For one material some times we use moving avareage price and standard price for that material
Which scenerio we use this & why we have to use this,can any body explain me
ThanksHi Tarun
Both, Moving average Price and Standard Price are Price Control Indicators.
It Indicates the price control used to valuate the stock of a material.
Standard Price : It is a constant price at which a material is valuated without taking goods movements and invoices into account. It is normally used for finished Products - Fert ( Vlauation Class - 7920)
Moving Average Price : It is a price that changes in consequence of goods movements and the entry of invoices, and which is used to valuate a material.
The moving average price is calculated by dividing the value of the material by the quantity of material in stock. It is automatically recalculated by the system after each goods movement or invoice entry.
It is Normally used for Raw Materials -- ROH ( Valuation Class -3000)
Rewards points ,if usefull
Regards
Palaniappan -
Moving average price calculation logic of material with Price Control "S"
Dear Gurus,
As you know that there is a Moving price and standard price icon in the material master.
I want to understand the calculation logic of the moving average price of the materials having price control "S"
How the system calculates the MAP for standard price materials? The receipt from the process order I suppose is valuated at the process order cost after settlement, but if the issue has hapened for the material does the system recalculate the issue price also?
Below is the sample process order receipt and issue scenario:
Receipt from process order 161000000223
300 kg and GR at standard cost value is Rs 5892
Issue to process order 162000000294
250 kg and GI at standard cost value is Rs 4910.
Thus the balance at period end is 50 kg and balance at standard cost value is Rs 982.
Here in process order 161000000223 the actual cost is 10 Rs. Then how will the system calculate the MAP?
Thanking You,
Amit DhanurdhariHi
Try the following calculations,
One of them will work depending upon your version and support pack
Expected MAP calculation ( As with price control V)
= ((Qty before transaction*MAP + Transaction Qty * transaction
Price)) / quantity after transaction
New Method ( when price control is S)
= Old MAP + (Price Variance w.r.t Standard Price/Qty after transaction)
Also go through the following notes,
Note 1225167
1253944
518485 FAQ: Valuation of goods movements
212286 Overview note: Valuation during goods movements
209864 Moving average price is disproportionately large
202166 Collective note: Statistical moving average price
185961 Moving Average Price Calculation
I have done extensive research on this, let me know if you need to know something specific. -
'Moving average price for material is negative' calculation
Hi Gurus,
I would like to ask for your assistance regarding Invoice having error of 'moving average price for material is negative'.
How is it being calculated that it goes to negative value? Can you also please give a scenario on why it became negative?
We have the following scenario:
MAP: 0.30
Total Stock: 9
Total Value: 2.74
PO raised and GR was done:
Quantity: 240
Value: 2.95
Would appreciate your assistance on issue.
Thank you.
JihHi,
Please check that price of that material is increased or decreased by using transction MR21. after GRN.
You posted a valuated goods receipt for a purchasing document for a material with moving average price control.When the invoice was posted (invoice item with price variance for goods receipt), the system generates error message M8783: 'Moving average price for material & & & is negative'.
Between the posting of the original goods receipt and the entry of the invoice, the system already posted additional valuation-relevant transactions/events (goods movements, invoices and so on, can be displayed with Transaction MR51).
The invoice verification tries (for stock coverage) to credit/subsequently debit the difference between the value of goods received and invoice item value for the stock.However, the material total value must not become negative by this stock posting.
Solution
Before you post the invoice, you must first increase the stock value.
The amount by which the stock value must be increased at least can be calculated from the following values:
1. Transaction MM03, accounting view material master, field 'Total value' (MBEW-SALK3)
2. Invoice item value according to invoice
3. In the invoice verification (Transaction MR01, MR1M, MIRO), change the invoice item amount to a value which is high enough and simulate the invoice to receive the value which would be posted for this item to the GR/IR account.
In the invoice verification, the value (3) minus (2) is posted to stock. It must be larger than (1).Post a subsequent debit with the amount (3) + (1) - (2) for the affected material/plant (Transaction MR22).
You can post the invoice afterwards.
Regards.
Edited by: Sachin on Sep 24, 2009 9:11 AM
Edited by: Sachin on Sep 24, 2009 9:13 AM -
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. -
Moving Average Price-calculation
Dear All,
Can anybody explain about the Calculation of Moving average price of the material in case of 309 movement i.e. Material to Material Transfer.
Thanks and Regards,
GirishHi there!
At 309 movement type (materia to materia transfer), moving average of receiving material is calculated as:
Existing value of receiving material (existing stock x existing moving average price) + value of units transferred (units of sender material x MAP of sender material) / (Existing units of receiving material + units transferred)
Please revert if more explanation required
Regards -
Moving average price of subcontracted material not picked for Cost estimation
Hi Experts
I have the below scenario:
Finshed Product A has components B, C.
C is a subcontacted material and it has its own BOM with components D & E.
We are maintaining moving average price for the subcontracted material C, (because the subcontracter is adding X & Y in addtion to the components D and E, which are sent from us).
In the mateial maste of C, Procurement type is F and Spl. procurement type 30 are maintained.
When i do costing for the Finished product A, moving average price of C is not picked up (where as system calculates the std cost for C by adding the values of D & E and purchase info record price).
Is there any way to Calculate Price of A by using the mvg avg price of C.
I maintained the below valuation variant settings.
If i remove the spl. procurement type 30 in the material master of C, it picks up the mvg. avg price. but it affects the MRP planning of items D & E.
Please advice.
Thanks in advance.
Regards
BalaHi Big choi
Thanks for your response.
I understand.
1. if we maintain spl. procureent key 30, system calculates standard cost based on raw material and service charges.
2. If we don't maintain spl. proc key, it considers the material as purchased and picks the mvg avg price from material.
But, is there any way to pick the moving avg price from material master eventhough i maintained the spl. procurement type 30?
Thanks
Bala -
Moving Average Price and Total Stock not updated for MTO scenario
We are using MTO with planning strategy 20, individual collective indicator is 1 (individual requirement only) and price control is V for finished goods. We are facing the following problems after we perform GR of above FG from MFBF (Repetitive -run schedule header):
1)Total Stock field (LBKUM)in Accounting View 1 remain as blank but the sales order stock is appear in Stock Overview screen.
2)Moving average price does not updated after periodic settlement is carried out.
It seem that problem can only be resolved if we change the planing strategy to MTS (ex:40), appreciate that if any of you can provide the solution.
p/s: on ECC5 system.Hi,
Good morning and greetings,
The standard SAP says as below
The Raw Materials should have MAP 'V' and the SFG and FG should have the price control as 'S' basically because the standard costing variant PPC1 uses the sequence of Standard Price as the first update at the time of price update and settlement.
I presume MFBF is used for Repetitive Manufacturing and not for MTO scenario...Repetitive Manfuacturing is MTS scenario...Goods receipt of production order is normally done through MB31.
If you still want to use the MAP for FG and SFG then you will have to change the costing variant appropriately to pick the MAP first at the time of goods receipt and settlement.
Please reward points if found useful.
Thanking you
With kindest regards
Ramesh Padmanabhan -
SAP Note 209864 - Moving average price is disproportionately large
Dear All,
We are having problems similar to what are described in the SAP Note 209864.
We run the example as decribed in the note on our development server and got the same results. Then, we run the tractsaction OMC0 to set the tolerance upper and lower limits to 10% for the moving average variance and run the example again but still got the same result. We do not know why.
In our production environment, some purchased materials may be returned to our warehouse from produciton after their stock quantities reach zero (and therefore their total stock values as well). If in the time between the material reaches zero stock value and any left over materials are returned to the warehouse, there are good receipts from our suppliers for those materials and the prices are much different from the original moving average prices (e.g. replacement parts that are free of charge). The value of the subsequent materials returned from the production to the warehouse will be valuated incorrectly.
We would like to control the vairance to a pre-defined percentage, e.g. 10-20%.
Please help.
Best regards,
NelsonDear,
Please refer the below SAP notes
SAP Note 356757-MR01, MR1M, MIRO: M8783 when posting invoices
SAP Note 753286 - Moving average price becomes very small
Regards,
Gopala.S -
Moving Average Price does not get updated for Project Stock
Hello Experts
We have an Engineer-to-Order implementation for our client. Accordingly procurement is done per project. Each Project issues its PRs which are then converted to POs and recieved into Project Stock.
While assigning the material to the Network activity in Project (using material component) the system uses the price found in the material master (MAP or STD) as a planned cost appended to the project.
Problem:
while procuring the material, when we receive it into Project Stock (Mvt 101 Q + ) the Moving Average Price in the material master does not get updated. this way all newly created material master will never have a moving average price, thus whenever we try to assign them to the project we receive an error message (Cost for Material Component ###Mat.Num### cannot be determined.
Question:
How can I get the system to update moving average price (for all types of stock) based on procurement for project stock.???
Your help is kindly appreciated.I'm sorry for the confusion
Case:
The T-code is CJ20N Project Builder in PS module
we are assigning material components to network activities under a certain WBS element in the project.
there is a function in the Project Builder to calculate the cost of a network. it uses the costing variant assigned to the network which is PS02 (We get the error here)
The costing variant has a valuation variant which lists a series of strategies to get the material price. Planned 1 if not then STD if not then MAP. (you can choose between many options via a drop down menu) you can choose 5 consequent options.
The MAP that the valuation variant is coded to get is the Plant Stock MAP -- Or the Project Stock MAP but only Per WBS element.
The MAP that the Actual postings update is the Project Stock MAP only Per WBS element.
This means that if you use a material component to purchase material 123 Acc.As. Q for WBS X for 10 $ then you try to assign a new material component with the same material 123 to WBS Y, the system will not get a MAP. because it's stored in QBEW per WBS element.
This way the system will never get the MAP right.
However, we don't always use project stock to procure for projects, for some requirements we can assign and use plant stock as well for Projects. that way we need the MAP from plant stock.
In the Valuation Variant you can use a User Exit Strategy. The user exit's name is COPCP005
My Suggestion is:
Use the User Exit COPCP005 to calculate the { Total value / the total quantity (MAP) from QBEW + Total value / total quantity (MAP) from MBEW } / 2
which is the MAP for both plant and project stock together, since that we are going to use both.
Q: Is this correct !? -
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 semifinished product.
Dear All,
Our client wants to go for moving average price in case of semifinished material, which is supposed to be normally standard price against our advice. The problem is that MAP is not getting updated after the GR against the production order. What settings I need to check in cusomization from PP point of view to solve this problem. Ideally the summation of cost of raw materials has to be the cost of semifinished material.
I did the settlement and the MAP got updated. There are few questions I want to ask u are?
1. What MAP should I keep when I create the semifinished material for the first time?
2. What the base to calculate the target cost in production order? Currently the target cost is zero for that the varience is huge which will be going to affect the MAP in a big manner after setllement? What should I do in that case?
Ur valuable inputs are awaited at the earliest. It's very very urgent.Hi
There will not any big problem if your client insists upon MAP for the material instead of your suggestio for having S as per std. SAP suggestions. There will not be any change in material price during confirmation if you have V indicator but if you have S as indicator there will be change in price due to costing and settlement. It is not that system will not do anything for the materials having V indicator, check the field value for Standard price , it gets updated. Your costing calculation completely depends uopn the settings that has been customised in OPN2 i.e the settings available for valuation. You cancompletely control all these.
Pirce for your semifinished should include the inputs to it and any other parameters which you would like to add. You can always change the price manually with MR21 if you have Zero stock.
Best Regards
Maybe you are looking for
-
Hi Gurus, We have 5 queries on a multiprovider which is built on two cubes,one query is not getting executed and all other queries are working fine, we are restricting the query for one cube which has only 32 records, all these queries are working
-
IF a jsp page shows xml data then is that coded in jsp?
Suppse a jsp page showing following data .. what will the code like .. is it code in jsp ? or it embeded XML can u figure out this ? <monitorservice> <site name="FD"> <description>FordDirect</description> </site> <dependency name="PBMMonito
-
Import to iPhoto and delete originals
I have messed with Image Capture and Automator, but I cannot get this to work. When I connect my iPhone, I want the following: 1. All images from the iPhone camera roll imports to iPhoto. 2. All images from the roll is deleted. No questions asked. Th
-
Moving folder with Applescript
I am trying to move the contents of a folder to a new location, but whenever I run the code below it moves the parent folder as well? (* now move folders from watched folder to new folder location *) set targetFolder to ((path to desktop folder as Un
-
External Drive Speed - Thunderbolt vs Firewire 800?
Hi Friends, I'm looking to upgrade my external firewire 800 enclosure/drives to speed up editing/rendering in FCP 7/X. Currently this is the config I'm using with my MBP: - Vantech Nexstar dual 3.5" sata external hard drive enclosure ( http://www.