Query  for moving average

Hi ,
I need query for moving average the same as B1 calculate it.
Idan

Hi Idan,
Moving Average Rate Calculation
Moving Average Rate = Daily Receipt Value / Daily Receipt Qty
This Rate generate on daily bases.
Its called in SAP as Lastevaluated Price
Thanks,
Srujal Patel

Similar Messages

  • Tolerance for moving average price.

    Hi Gurus,
                I'd like to know if we can set a tolerance limit for moving average price.I'm not sure about the settings but I think ther should be a way of doing this. I'd really appreciate any suggestions.
    Thanks
    Cheris T

    Cheris,
    You can use the tolerance key VP (defined for each company code) to control the percentage variance for changes to the MAP of a material during a goods receipt or an invoice posting. Typically, this is set to a large value.
    You can define these tolerances in OMC0 for a goods receipt (as PVS suggested) or OMR6 for an invoice posting.
    Hope this helps.
    H Narayan

  • Numbers 3.1 restricting the period for moving average trend lines

    Numbers 3.1 is restricting the period I can specify for a moving average trend line for a scatter plot series. The max is 6. This limitation was not present in the previous version of Numbers.
    Charts imported from the previous version retain larger periods, but there is no way I can see to specify periods >6 for any new series. Is there a way to allow a period >6? That is clearly necessary for many applications.
    Thanks.

    Hi Bill,
    Numbers 3.1
    If you want a 14 day moving average over the prior 14 days, the formula in C10 is
    =AVERAGE(B2:B15) (and Fill Down)
    The formula will eventually run out of cells. Hence the red error triangles.
    Plotting columns A, B and C:
    X axis is Day (column A)
    Blue circles and blue line are Actual Y (column B and as expected, they jump around).
    Black circles and black line are calculated moving averages on a 14 day period (column C)
    Red line is Numbers Trendline (Moving Average, Period 6). How it predicts into the future (Moving Average over 6 days) I have no idea.
    I would more trust a calculated moving average, because I know what it is calculating.
    Regards,
    Ian.

  • 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
    Samuel

    I 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.

  • Post Processing array for moving average

    Greetings. Hope someone out there can help me on this. I have read all the posts I could find about doing a moving average and they all had to do with performing it as the data is being acquired. Unfortunately, I can't do that. I am getting the data from a digital high speed power meter and it is read in from a buffer as a huge string that I then change into an array of data. I need to do a moving average on the data very bad and the indexing is driving me crazy. I can't figure it out. Assume that my data array is 100 elements and I want to do a moving average of 5: 0,1,2,3,4 elements are averaged and become element zero of a new array.... 1,2,3,4,5 are averaged and becomes element 1 of the new array. I would end up with a 1D new
    array of 96 elements in the above example. Hope that is clear enough. Thanks in advance for any help you guys can give.
    Frank

    Solving the problem of reduction in number of points can as I mentioned in an earlier answer be solved in a number of ways...you could pad the end or start with a repetition of the last whole window, or you can make the window gradually grow to its full size. The latter is illustrated in the attached VI...
    MTO
    Attachments:
    Tapered_Running_Average.vi ‏24 KB

  • System posts to PRD account for moving average price material.

    Hi,
    We are procuring spare parts (ERSA) externally, which is having price control as MAP.  While doing GR, system shows message "Account 602042 required an assignment to a CO object."  Here the problem is account 602042 is a price difference (PRD) account.  Why should system ask for a G/L, which is mentioned in PRD in this case. 
    Please note that this is first movement for the material and stock is zero in plant.  There are no  material documents for this material.
    Please suggest.
    Regards
    Alex

    If ML is active, then this can happen.  Please see note  532932  FAQ: Valuation logic with active material ledger.
    material is valuated by the inventory management similarly to the posting logic of a material managed by a standard price. The accounting document generated by the inventory management shows this posting logic; the amount posted in the material document corresponds to the product from quantity and moving average price and not to the externally assigned value.
    Generated accounting lines of the material ledger (depending on the material ledger settlement control) then valuate the stock.
    Example:
    Material: Testmat 1
    Price control: V
    Moving average price: 10 EUR/PC
    Purchase Order: 10 PCS for 150 EUR
      > goods receipt for the purchase order for 10 PCS
    Acctg documents:
    1) GR document:
       BSX 100 EUR D
       WRX 150 EUR C
       PRD 50 EUR D
    2) ML document:
       BSX 50 EUR D
       PRY 50 EUR C

  • LSMW for Moving average price upload

    Dear Guru,
    Can anyone please advice if there is a way to mass upload/upload the moving average price for material master by using LSMW?
    Regards
    CW

    Hi there
    You can use the Recording of MR21,, may be it is going to be only three to four fields,,
    BUDAT, BERKS, WERKS, MATNR_01 and NEWVALPR_01
    Have it all the records in the excel file and convert into .txt,
    1.Go to the LSMW,, Click on the create icon,, maintain the details of below,,
    Project
    Subproject
    Object
    2.Maintain Object Attributes (double click)- Select the Batch input recording-Recording overview-Create icon-Enter Recording, Description-enter- Enter the T code MR21- Date, Comp Code, Plant And enter- Material Number and enter - Feed the new price and save,, now go back and click on default all and save,,,
    3.Maintain Source Structures(double click)- Change mode- Save
    4.Maintain Source Fields-(double click)-Change mode-(Ctrl+F9)Table maintenence- Enter the fields which you populated in MR21- Save-save and back.
    5.Maintain Structure Relations-(double click)-Change mode- Save
    6.Maintain Field Mapping and Conversion Rules-(double click)-Click on the fields which you are going to populate and selct the source field and map it,,
    7.Maintain Fixed Values, Translations, User-Defined Routines-(double click)-maintain the fided values if any like BUDAT
    6.Specify Files-(Double click)-Change mode- Select the legacy data-and upload the file-as per the reqd format and save
    7. Assign Files- (Double click)- and check the assignment and save
    8.Read data- (Double click)- Execute it and check the data and save
    9.Disply Read data- (Double click)- Enter and check the values as per the file you uploaded
    10.Convert data-(Double click)-Execute it - and check the line items which is equla to your upload file or not,,
    11.Create batch input session-(Double click)-Execute it- you will get the pop up "1 batch input folder with XXXX transactions created"
    12.Run Batch Input Session-(Double click)-Select the first line- (Chk the date and time)- Click on process- Display errors only and enter,,
    LSMW will run and change the MAP for all the materials,, Imp point is your file has to be as per the reqd format,,
    hope it helps,,
    Thanks
    Senthil

  • BAPI for Moving average cost

    Dear Experts,
    I need a bapi to get the moving average cost for a material. in addition i need another bapi  to get the material availability in all plants something like mmbe.
    please help me.

    Hi Ebrahime,
    You can have a look at MARA, MARC, MARD and MBEW..
    MBEW-VERPR ==> Moving Average Price
    MBEW-LBKUM ==> Total Stock
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Is variance account needed for moving average item valuation?

    Hi All,
    My client is currently using SAPB1 ver.2005 and upgrade from ver.2004.
    After upgrade, in ver.2005, they want to add A/P credit memo that is copied from A/P invoice they have created earlier in ver.2004.
    When they tried to do that, system prompt an error message saying "Inventory account is not defined, 'item code' (message 173-77).
    So I defined a variance account in G/L account determination, under purchase tab.
    G/L Determination -> Purchase Tab -> Expense and Inventory Account.
    Therefore, what is the cause of this as they never encounter this in ver.2004. They didn't change anything in the G/L determination as well.
    Please help..
    Regards,
    Kevin

    Hi Wilma,
    Yes, i have tried both scenarios, the JE i've got are the same with what you have got. But could you explain for scenario 2? Why when you do GRN is MYR 110 and in A/P Credit Memo is MYR 100, But in JE is still
    Dr Vendor MYR100
    Cr Stock MYR100
    Dr Purchase Offset MYR100
    Cr Purchase Return MYR100
    Shouldn't there be a difference capture of MYR10 to be debited to variance account?
    Ok, Can you try this scenario
    GRN - A001 MYR110 x 100 units
    A/P Credit Memo MYR100 x 1 unit
    The JE of the A/P Credit Memo is like the above.
    After that, you do another A/P Credit Memo,
    A/P Credit Memo MYR100 x 99 units,
    My JE
    Dr Vendor MYR 9900
    Dr Price Difference MYR 1000
    Cr Stock MYR 10900
    Is this what you get? If yes, could you explain why?
    Regards,
    Kevin

  • Moving average price based on valuation type for material

    Gurus help needed.
    we want to maintain the moving average price of the material in the pricing, and this depends on the Valuation Type. We have 3 valuation types.
    If valuation type is blank then one MAP(Moving average price) value will come and if nn one map will come and for nn one map will come.
    We have copied VPRS conditon type to YVRP and changed conditon category as T( Moving cost).
    But in pricing the YVRP price is not picking from valuation type which is blank.
    Where can  i make the settings to tell the system to pick the moving average price from the material master where the valution type is blank always based on the condition.
    Do we need to creat a routine? If so is there any standard routine which we can use or make minor changes to it?
    If it is a new routine please tell me how to start with VOFM?
    Note : We need the value to come automatically from material master same as VPRS.

    Hi
    The first method is not to set the pricing condition VPRS as statistical.
    Simply remove PR00 and it will work fine if you always use VPRS as your pricing base inside the pricing procedure.
    VPRS will reads both prices based on the price control in the material master. 
    Price control S for standard price. 
    Price control T for moving average price. 
    It is this simple if you do not have any other "Prices" in the price procedure. 
    However, if you are using one pricing procedure where for some items you price using VPRS and some others using PR00, then you should use requirement routines to enable the correct price condition type at the right time. 
    The second method involves more work as you need to write a formula (VOFM) to get that information. 
    This is how it goes :- 
    1. Set VPRS to be the first step in the pricing procedure and to be subtotal B (as standard). 
    2. Set PR00 with alt. calc. type formula, which sets the value of PR00 to be equal to the subtotal B.
    Step 1 VPRS statistical, subtotal B, reqt 4 
    Step 2 PR00 Altcty 600 
    With regards
    baalakrushnan.da

  • Moving Average Price for non stock material

    Hi All,
    We are looking at loading a large number of material masters for items that will not be stocked - i.e. an account assignment will always be provided during purchasing.
    When we load these materials - what should the moving average price on the accounting tab be set to? If we put an estimated price in - then when we purchase we will get a warning if the variance between the purchase price and the moving average price is too great. And then when the material changes in price (in lets say a year because the vendor has increased prices by 10%) we can no longer update the moving average price.
    What is the best practice in this scenario?
    Kind Regards,

    non stock material (standard material type NLAG) does in general not have accounting views, hence it has no fields for moving average prices.
    however it can be customized to have an accounting view, we did it too. This  servers the requisition process, with accounting view the price defaults to the requisition. without accouting view, the valuation price needs to be entered manually by a user in the requisition.
    The MAP gets only updated if the stock is posted to inventory, which will never be the case for non-stock material, because of this you should always be able to change the MAP directly in the material master with MM02, or if not possible in MM02 with MR21.

  • How to get moving average price in 0ic_c03 with back dating

    Hi all,
            The stock overview report in 0IC_C03 gives stock values based on Purchase value where as i need to calculate the stock value based on Moving average price, (so that it tallies with R/3 std report MB52), also need to get the stock value for backdating also i.e like MB5B standard report in R/3.
      <removed by moderator>
    Thanks & Regards
    Suresh Putta & Ravi Y
    Edited by: Siegfried Szameitat on Jan 19, 2009 12:12 PM

    Hi,
    The stock overview report in 0IC_C03 gives stock values based on Purchase value where as i need to calculate the stock value based on Moving average price, (so that it tallies with R/3 std report MB52)
    --> Need to enhance 0IC_C03 for moving average price and need to multiple Quantity with price to get value. You can do this at extraction level(Transformation / update rules) or Query level.
    also need to get the stock value for backdating also i.e like MB5B standard report in R/3.
    Or Maintain material price as Material attribute and create a multiprovider on 0IC_C03 and Material and calculate value at query level. In this approach value getting derived based on available price only(means historic values may change if price changing over period of time).
    Srini

  • Moving Average Price---Intercompany sales process

    Hi,
    I have a special requirement in Intercompany process..
    I want the Ordering company to be charged  with Moving Average Price of the Material instead of the Normal Price.
    Can some on help me out with this?
    Thanks,
    Challa.

    Hi,
    In general i hope, system will not copy the moving average price from the material master through VPRS Condition.  In case its not copied then you need to write the logic in alternative condition coloum to copy the moving averate price.
    Please confirm whether VPRS is working for moving average price, if not then develop the logic as below -
    based on Material and plant, go to table MBEW with selection as MATNR and WERKS bring the value from the field VERPR where VPRSV=V.
    Plese confirm for my knowledge also
    Regards
    Goutham

  • Moving average price in Semifinished material.

    Dear All,
          Our client wants to go for moving average price in case of semifinished material, which is supposed to be normally standard price. The problem is the 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.
    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 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 hugh 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 urgent.

    Kindly go thoroug following it will solve your issue
    Genrally SAP suggest Std price for semi & fin
    but some company are useing MAP so i think the client want  MAP then also it will not create any problem but this is laways FICO decision
    now MAP is not getting updated
    while goods movement system update G/L AC automatically the price used for updating the GL is either std or MAP depending on which is maintain in material master
    your MAP will get updated only after settlement of Production order If your production is make to order in that case costing is against Sales order & no issue of settlemnt of Production order so MAP will not be updated in MTO
    which price you should maintan in material master & target cost & variance
    initally u upload master data with price 1 After that u take costestimate run & realse the price that will be std price Now you can see the varinace along
    after realsing the cost estimate you can chane MAP in mr21/22
    You can maintain both the prices in material master but while GL AC updating system check the price control & then pick price
    but it is advisable to have STD PRICE

  • 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

  • Bravo Verizon Wireless: In Awe of the customer service I received for once

    I've been a verizon customer for 16 years. I've experienced every type of customer service Verizon has had to offer: good, bad, mediocre, incredible, horrible. But today I have to say that I am absolutely in complete awe regarding the amazing custome

  • How to trigger workflow from changes in Sales Order in CRM?

    Hi Experts, I want to trigger event at the time of saving the changes in sales order (TCODE- CRMD_ORDER). I have found one BO - BUS2000115 but it is getting triggered only after new creation of sales order.And there is no BO available when we change

  • MouseWheel support went away. What do I use now?

    I just updated to b42. I see now that MouseEvent doesn't have getMouseWheelRotation() anymore, and Scene doesn't have setOnMouseRotated(x) anymore. I was using the mouse wheel to implement a zoom feature in my UI. How can I get mouse wheel events now

  • Camera/video continuously on "STANDBY" ... Please ...

    Whenever i try to use the camera of my Nokia 3500 Classic...the moment i click onto "capture", the camera goes onto the standby mode. While trying to shoot a video,and press "record", i get an error message saying "unable to save file" . Pls help ...

  • Completely lost - programs won't load, others won't operate properly

    I'm at my wits end here guys and I have no idea what to do. I've tried everything I could think of short of reinstalling the entire operating system. I've tried repairing the boot up drive with the install CD on startup, but after several attempts it