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

Similar Messages

  • Moving Average Costing

    My clients business buys used equipment on the secondary market that they refurbish & sell. The prices fluctuate pretty dramatically based upon supply and demand; so it really isn't possible to set a standard cost that would be valid throughout the year. Using standard costs results in huge fluctuations in the inventory purchase price variances month over month and quarter of quarter. Therefore, we explored using moving average costing.
    Could someone help me get the moving average to update using PM04, Does SAP actually recommend against using moving average costing?

    Charlie,
        Thanks for your response. If I understand you right, you are suggesting doing STD pricing every month or quarter instead of attempting MAP? Is that right?
    Vishnu

  • Movement types and effects on moving average cost

    Hi all,
    can anybody explain me what is moviment type n° 309 (transaction mb1b).
    Before of this movement I had in the storage a stock of 15.000 KG and a moving average cost of 6,70 u20AC.
    Then I did a movement 309 in MB1B for 4.050 kg.
    After that I did a movement 261 (probably with transaction qa11) for 11850,300.
    After these movements my moving average cost decreased to 1,29.
    what kind of movement are 309 and 261?
    Can they change my moving average cost?
    thank you
    C.

    Hello Vallex,
    Mvt type 309 is materia to material/batch to batch/valuation type to valuation type transfer. If you have different different price for both material then definately it will change your moving average price.
    However, 261 is issue to production order and that will not change your moving average price. it will take material price from material master into the accouting document.
    Hope this helps.
    Regards,
    Arif Mansuri

  • Purchase Taxes Affects Moving Average Cost

    Hello experts,
    is it possible to have the sales tax paid on purchases affect the moving average cost of the item, in a simple manner?
    Thanks,
    Aaron

    Hi,
    From your explanation i came to understand that the tax amount has to be added to the inventory value.
    You need to use the landed cost document.
    For example,
    incase if you are using EDCessHcess+Vat tax,choose only vat tax in purchase document.
    and the EDCessHcess has to be added to inventory value.
    Use ED,Cess,Hcess in the landed cost.
    This would pass  EDCessHcess amount to the inventory.
    After booking the Goods Receipt PO,you need to immediately book the landed cost,Which will affect the moving average value.
    Else the tax value will be added to price difference account-mapped in the warehouse and there would be much deviation in the moving average.
    Hope this would help in solving the issue.
    Edited by: M. Sundararaja Perumal on Dec 6, 2008 1:54 PM

  • Function modules or BAPI for posting plan costs for WBS Element

    Hi all,
    Does anyone know, whether there exists a function module or BAPI for posting plan costs to a WBS Element? K_COSTS_PLAN_PS does not work, because RKP1 is not allowed.
    Greetings

    check
    BAPI_COSTACTPLN_POSTACTINPUT   Activity Input Planning: Posting                
    BAPI_COSTACTPLN_POSTACTOUTPUT  Activity/Price Planning: Posting                
    BAPI_COSTACTPLN_POSTKEYFIGURE  Stat. Key Figure Planning: Postings             
    BAPI_COSTACTPLN_POSTPRIMCOST   Primary Cost Planning: Postings                 
    BAPI_PDTRANSCO_POSTPRIMCOST    Transfer of Planning Data: Post Primary Costs   
    K40C                           CO Actual Postings, Manual                      
    BAPI_ACC_PRIMARY_COSTS_POST    Accounting: Post Primary Costs                  
    BAPI_COPAACTUALS_POSTCOSTDATA  BAPI Operating Concern: Post Costing-Based Actua
    BAPI_PRIM_COST_CHECK_AND_POST  Primary Costs: Formal Parameter Check           
    S@meer

  • 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

  • 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

  • Bapi for getting activity cost

    hi experts,
    is there a bapi that can get network or activity costs,need your help,please
    best regards
    zlf
    Moderator message: please search for available answers before asking.
    Edited by: Thomas Zloch on Nov 6, 2010 9:44 AM

    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

  • Function modules or BAPI for deleting plan costs on a cost center

    Hi all,
    I search for a function module or bapi to delete plan costs / activity on a cost center.
    At the moment I update the planning with 0, but that cause a mass of needles entries on the cost centers.
    For check and posting I use the function group 6026 - BAPI_COSTACTPLN_* ,
    but there is no function for deleting.
    Has anyone an idea?
    Thx for help - points as reward !

    check
    BAPI_COSTACTPLN_POSTACTINPUT   Activity Input Planning: Posting                
    BAPI_COSTACTPLN_POSTACTOUTPUT  Activity/Price Planning: Posting                
    BAPI_COSTACTPLN_POSTKEYFIGURE  Stat. Key Figure Planning: Postings             
    BAPI_COSTACTPLN_POSTPRIMCOST   Primary Cost Planning: Postings                 
    BAPI_PDTRANSCO_POSTPRIMCOST    Transfer of Planning Data: Post Primary Costs   
    K40C                           CO Actual Postings, Manual                      
    BAPI_ACC_PRIMARY_COSTS_POST    Accounting: Post Primary Costs                  
    BAPI_COPAACTUALS_POSTCOSTDATA  BAPI Operating Concern: Post Costing-Based Actua
    BAPI_PRIM_COST_CHECK_AND_POST  Primary Costs: Formal Parameter Check           
    S@meer

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

  • Bapi for Open Projects Cost in PS

    HI,
    I need a bapi or funcation module for Open Projects Cost in PS .
    thanks.

    Hi,
    Refer this :
    http://www.sapbapi.com/bapi-list/

  • 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

Maybe you are looking for

  • Mac Pro crashing on shutdown (and some other things)

    The following behavior began about 4 or 5 days ago... Mac Pro crashes/freezes every time I shutdown (or Restart).  Some process seems to be not quitting on shutdown - the screen goes blue and I get the spinning beachball. It'll just hang like that in

  • Smartform report generation error

    Hi, I have a problem with a report calling a smartform. The report works perfectly on the 1 system but on the other system there is a generation error. I found that the problem lies with the following declaration: data: otf_info type SSFCRESCL.  I co

  • How do I run a Windows virtual machine?

    I have a program for my research (Scigress) that only runs on Windows. I would like to be able to run the program on my Mac, I assume the best way to do that is to run a virtual machine. I don't want to run Windows all the time, since I strongly disl

  • How to remove additional of search help?

    In complex standard of search help S_MAT1 has added the additional of search search help ZTEST_SEARCH, now I wish to remove the additional  of search help ZTEST_SEARCH, but at removal attempt the error stands out: "Because of use in objects of the di

  • Disappeared - Integration Directory - Runtime workbench

    Hi, Does not appear (Integration Directory - runtime workbench) after installation I can see if this set is PIXI 7.1 Thank you very much. [Imagen|http://s3.subirimagenes.com:81/otros/previo/thump_5655324001.jpg] Greetings