CHANGE STANDARD PRICE VIA BAPI

Hello,
Im using the BAPI_M_REVAL_CREATEPRICECHANGE, for changing the standard price of the materials, instead of using the MR21, but i cant get it work
Im populating the following fields:
COMP_CODE : 1000
PSTNG_DATE: 26.03.2009
PLANT: 1001
MATERIAL: 8M1584
CHANGE_STD_PRICE: X
STD:PRICE: 80
CURRENCY: USD
PRICE_UNIT: 1
QUANTITY_UNIT: PC
When i executed i dont recive any return, and the price didnt change, no an error message or a document number; am I missing a field to populate??
Thanks!!!

Hello Alex,
This BAPI was never finished and therefore the function cannot be used.    
(It is also not released as a BAPI)                                                                               
from Release 4.70 on, the BAPIs BAPI_MATVAL_PRICE_CHANGE,                  
BAPI_PROJECTSTOCK_PRICE_CHANGE and BAPI_SALEORDSTCK_PRICE_CHANGE           
are available in the enterprise extension.                                                                               
Hope this can help
Regards,
Mauro

Similar Messages

  • Mass Change Standard Price in Accounting view of material master

    Hi anybody,
    I am maintaining more than 5000 records material master . Each time  change material prices using MR21, but I don't want go MR21. need to develope one abap program for change material standard prices using BAPI or normal ABAP Program. how do I develope?
    please give me sample program for that.
    Thanks
    S.Muthu

    Hello Mani
    I have already checked all the open items.....
    No sale order. No entry in table MSEG.
    Only one PO without GR.....So that should not make any difference.
    Br
    Avinash

  • Change standard price after executing CKMM for materials.

    Dear all,
    I faced a problem: right after MM period switching, I execute CKMM to switch 2 to 3 for some materials and after taht I changed standard price for these materials by releasing future price.
    After material ledger closing (T-code CKMLCP), there is non-zero balance on account for price differences in FI report FAGLL03. This non zero balance occurs just for the materials, which standard price was changed.
    Could you please explain me why this happens?
    Best regards,
    Linh.

    Hi Van,
    The process follows: When Material Master in 3 (i.e) ML effect (when you release the std cost estimate "no Entry will post revaluation gain/loss" it will r evaluate @month end you do CKMLCP..with difference post to price difference.
    Posting to re valuate inventory is non ML process.
    Or can you test in testing server by changing std price with 3- no accounting doc will generate.
    Let me you your response.
    Regd,
    Khan.

  • Moving average price/standard price via iDoc

    Hi,
    I would like to distribute moving average price and standard price on price change (price changed via transaction event or MR21) to external system.
    Is there a way to accomplish iDoc (MATMAS) triggering on price change?
    Any idea on how to track changes?
    Searching through forums I found that MATMAS will not trigger on MAP change via transactional event, GR, GI...
    Thnx

    Dear Amit,
    yes - I understand how the system calculates the MAP. However, the receiving system is a SAP WMS - In WM there is no inventory management nor FI/CO. The valuation would always be zero. So I'm interested how can I update it via ALE?
    It works for the first time if I have no valuation (accounting) view in the material and I send an IDoc with the view definition segment and a value for VERPR. But updating isn't possible.
    Gunter

  • How to change standard price

    Hi Friends,
    How to change the standard price of a material, which transaction is used for
    this, and data is to be passed for that Transaction.
    Thanks,
    Sreenivas

    Here is also a BAPI which will do it programatically.  You must pass all vales on the selection screen.
    report zrich_0003 .
    data: headdata type bapimathead.
    data: valdata type  bapi_mbew.
    data: valdatax type  bapi_mbewx.
    data: return type  bapiret2 .
    data: returnm type table of bapi_matreturn2 with header line.
    data: xmara type mara.
    parameters: p_matnr type mbew-matnr,
                p_bwkey type mbew-bwkey,
                p_bwtar type mbew-bwtar,
                p_stprs type mbew-stprs.
    select single * from mara into xmara
              where matnr = p_matnr.
    headdata-material        = xmara-matnr.
    headdata-ind_sector      = xmara-mbrsh.
    headdata-matl_type       = xmara-mtart.
    headdata-account_view = 'X'.
    valdata-val_area  = p_bwkey.
    valdata-val_type  = p_bwtar.
    valdata-std_price = p_stprs.
    valdatax-val_area  = p_bwkey.
    valdatax-val_type  = p_bwtar.
    valdatax-std_price = 'X'.
    call function 'BAPI_MATERIAL_SAVEDATA'
         exporting
              headdata       = headdata
              valuationdata  = valdata
              valuationdatax = valdatax
         importing
              return         = return
         tables
              returnmessages = returnm.
    check sy-subrc  = 0.
    Regards,
    Rich Heilman

  • Changing standard price in Material Master.

    Hi Gurus,
               Can anyone please tel me in material master Accounting1 view,is there any way to change the standard price field immediately,once its created?When I go in change mode the standard price field is disabled.
    Thank you all in advance.
    T6

    Hi,
    Use MR21 Tcode and change the moving average price if u have a stock means no problem bcaz in the OBYC T code Cost (price) differences- PRD u have to give the G/L account and that value goes to that account. System Does not allow to change the price in MM02 Transaction. U must do it in MR21 only.
    Regards,
    Venkatesh
    MM consultant

  • Change standard price several times in MR21.

    Hello
    Two user in the plan can enter to transaction MR21 and can change the standard price several times in one day for the same material. When others users try to do the same the following message is send . u201CA current or future standard price exists for materialu201D.
    I donu2019t know where in the customizing is defined that these two user can do that ( I suppose that a consultant defined that).
    Someone have an idea of where I can define the same for another user?
    Thanks in advance.

    Hi,
       This error msg can be defined for the user name.
       Check Controlling-> Product cost controlling-> Product cost Planning-> Proce update-> Parameters for Standard cost estimate-> Define Message type for Standard cost estimate (OKZZ). Here add the user name as required.
    -Thaila Shree

  • Change standard price

    Hi experts,
                 can u explain me how to valuate the material for which split valuation is active?  When i am going to t code MR22  i entered material it asked for valuation type i entered the batch which are existing next what to do. plz explain me how to valuate the material
    Thank you
    Sap MM

    Hi
    If you want to change the material standard price (complete valuation) then use MR21.
    MR22 can be useful if you want to change the material price (standard/ MAP) with resepect to quantity. ex: you received certain quantity of material at lower cost and you wanted to increase the price for that quantity only then use MR22. both these Tcodes generate same entried - price change documents.
    So use MR22 and enter material, valuation type, new price, quantity. If you dont want to change the price for certain quantity then use MR21.
    Thanks

  • Change Standard Price considering Cost Components

    Hi people,
    Please, I would like to know what is the procedure/transaction I can use to update/change our Standard Price in our Material, considering we have openned component costs (Splitt).
    Thank you a lot,
    RGN.

    Hi,
    1,BOM is to be maintained  for FERT/SFG - PP Consultant
    2, Activity Prices to be maintained - CO Consultant
    3, Routing to be maintained for FERT/SFG - PP Consultant
    4, Material cost estimate - CK11N , Mark & Release - CK24
    Regards,
    Pavan Kumar Arvapally

  • Distribute moving average or standard price via ALE/IDoc

    Dear experts,
    do you see any way to distribute the moving average price via ALE? It is inside the material master IDoc but it won't update in the receiving system.
    We need it for a decentral WM so that people can see the valuation of the material when they do inventory counting (to judge differences in LX22).
    Any idea how to unlock the material master for update? 
    Gunter

    Dear Amit,
    yes - I understand how the system calculates the MAP. However, the receiving system is a SAP WMS - In WM there is no inventory management nor FI/CO. The valuation would always be zero. So I'm interested how can I update it via ALE?
    It works for the first time if I have no valuation (accounting) view in the material and I send an IDoc with the view definition segment and a value for VERPR. But updating isn't possible.
    Gunter

  • Changing Net Price using bapi 'BAPI_PO_CREATE1'

    Hi All,
    I have a requirement to create the PO using BAPI .In this ,  the Net Price value is automatically updated from Info record.
    Can any one pls suggest the procedure how to update this Net Price through a flat file , and not through the info record.
    Thanks in advance...
    Regards,
    Sivani.

    HI,
    Try to set the IMPORT paramter NO_PRICE_FROM_PO = 'X'.
    also if u want the data from the flat file collect the data from flat file to internal table.
    loop through that internal table
    call BAPI.
    endloop.
    Hope this solves ur problem
    Thanks ,
    Ruchi

  • Required BAPI for changing vendor prices

    Hi experts,
    Can any one  change vendor prices using bapi inthe Transaction of MEK1, If yes please give the bapi name.
    My requirement is to change the vendor price from an a legacy file, am going to use BAPI for that.
    Anyone help this out.
    Thnx and Regards,
    Mohana
    Edited by: Mohana Vijayan on Mar 6, 2009 7:03 AM

    Hai Experts,
    I searched lot, i found BAPI_PRICES_CONDITIONS, Is this Bapi is correct one. Any of our experts used this before?
    Please anyone suggest this.
    Mohana

  • What is the effect of change material price in previous period?

    i have changed the material price in 31/12/2010 and we are in period 01/2011
    but the moving price doesn't changed in period 01/2011 its still the old price.
    i want to know why the system didn't change the price for period 01/2011
    and  i want to change the price for now and all next periods.?

    Hi,
    you are using moving average price and not standard price.
    You can change standard price thru costing run. you can't change moving average price it is calculated based on procurement. further you can change thru MR21 but beware it will generate revaluation entry that will have financial impact.
    If you still has doubt then please elaborate the requirements.
    Regards,
    Atul
    Edited by: Mr. Atu on Jan 23, 2011 2:40 PM

  • Material Standard Price update.

    I've been trying to update a material standard price via BAPI_MATERIAL_SAVEDATA or MY_MATERIAL_PRICE_UPDATE, with no success.
    I've followed the example code give in the thread /message/9187089#9187089 [original link is broken].
    Has anyone gotten this to work?

    Sure.
    Costing Type (OKKI) : 01 Standard Cost estimate (material), in this Price update: Standard price & Valuation View: Legal valuation.
    Valuation variant components:
    001: Planned valuation Materials: priority 1. Price frm purchasing info records, 2. Valuation price according to price control in material master 3.Valuation price with user Exit.
    007: Production Order Actual: priority 1. Valuation price according to price control in material master.
    Edited by: KMadhumati on Aug 12, 2009 9:44 AM

  • How can i update material master standard price.

    Hi Everyone,
    i would like to know if there is any way i can update my MM Std Price everytime i make any purchase.
    I.e i have std price 40, but next time when i make PO and update Inforec for 70 so i want this 70 also take effect in my material master. Is any expert can tell me about this functionality or any alternate. would be great help
    Ali

    If you are using std prices then these do not vary unless someone is manually changing them (or using a program to do this). That is the main point of std prices, they do not change unless you change them yourself.
    MAP and standard prices are used in material master and it has nothing to do with price with which you will sell your customer.
    MAP and Standard prices will just hit you inventory account and COGS account once you will do PGI.
    I am assuming that you are talking about the price at which you sell to your customer.The easy way of tracking changing prices is that you can make them manual conditions and based on your information you can put them manually in your sales order.
    It is not recommended to change standard price constantly. At this period end, modify the standard price in material Master & continue.
    This can be a regulr activity at period ends, say every month end or quater end or half yearly or yearly. In general it is prctices on yearly basis, but as per the requirement you can consider the period.
    Just go throught the links given below
    http://www.sap-img.com/materials/purchasing-tips.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMIVMVAL/MMIVMVAL.pdf
    Primarily, You cannot maintain both Standard Price & MAP. You can maintain only one of it.
    It is recommended that standard price should not be changed at randomly, but as a policy, if required, it should be changed at period end, say monthly, quaterly, Half-yearly or yearly.
    You can also check out transaction CK40N
    reward points if it helps
    regards
    Biju

Maybe you are looking for