A Function or BAPI to get Material Standard Price?

Hi All,
I need a Function or BAPI to get the Material Standard Price when the following Criteria is given;
1. Material Code
2. Plant
3. Period
4. Year
5. Company Currency (Optional)
I need only the Standard Price and Price Unit. Please give me a example with sample values.
Thanks,
Kishan

Sri:
I need only the Standard Price and Price Unit
there is no specific FM for that.
you need to write small select query in FM than use this custom FM into your program.
Amit.

Similar Messages

  • Urgent help for a function module or BAPI to get the standard price.

    Hi,
    I want to know whether there is any existing <b>funcion module or bapi</b> to get the standard price (STPRS) which is updated in the table MBEW during the execution of a costing run for standard cost through the transaction ck40n.
    helpful answers will  be rewarded !!!

    Hi,
    You can use the BAPI BAPI_MATERIAL_GET_DETAIL
    Thanks
    Naren

  • How to get Material standard price: MBEW-STPRS?

    Hi BW experts,
    I am wondering what is the best way to extract data for <u>material standard price</u> in Material master data - Accounting view (<b>MBEW-STPRS</b>)?
    I checked existing extractors for material master, but I didin't find one which could be used.
    Any help and feedback will be awarded.
    Thanks and regards.
    Sally

    Hi Sally,
    Check if 0CO_PC_ACT_05 helps here.
    http://help.sap.com/saphelp_nw04/helpdata/en/22/1b383fdb800804e10000000a114084/content.htm

  • Abap function module for material standard price.

    Dear Team,
    Can anyone tell me the abap function module for getting material  standard price respective of date and material code as input.
    I have observe table MBEW, where we will get standard price of a material for last change date. Not getting any table where price is coming out wrt of Date for a same material.
    Thx in advance
    Rgds
    sp
    kolkata

    HI.
    FM MSR1_MD_MATPRICE_GETLIST  should help.u.
    Regd,
    AS

  • BAPI to change the standard price of the material

    Hello Friends ,
    I am struggling to find a BAPI to change material standard price. I found 2 BAPIs mentioned below. But was not able to make use of them.
    1) BAPI_MATVAL_PRICE_CHANGE
    2) BAPI_MATERIAL_SAVEDATA
    Can any of you help me in finding right BAPI?

    BAPI_MATVAL_PRICE_CHANGE
    PRICES_CHANGE & PRICES_POST
    BAPI_M_REVAL_CREATEPRICECHANGE
    BAPI_MATERIAL_SAVEDATA
    These are the fm's to save or change material price.

  • Function Module / BAPI for Creating Material freight Group

    Hi All,
    Can anyone tell me the Function Module / Bapi for creating material freight group.
    Regards,
    Raj.

    Bapi for creating material freight group. :: You actually use mm01 or mm02 to change data for material flight.
    So you can use BAPI for mm02 and mm01
    For Ex:
    BAPI_MATERIAL_SAVEDATA
    Hope this helps

  • Report on difference between PO price and Material standard price

    Hi,
    We need a report on Purchase price difference, which is report showing Open PO price & Material standard price, if there is a price difference
    This need to be run every day to avoid buyer changing price at PO level unless there is a valid reason
    Similarly difference if any between Schedule agreement price & Material master standard price
    Please help

    Hi,
    There is no standard report available for this.
    You need to develop one.
    Considering your requirement, it can be achieved with a query as well provided you do not need complex functionality out of the report.
    Hope this helps.

  • 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

  • Function Module/Bapi to get Customer down payment in F-28/F-29

    Hi All,
    I need Function Module or Bapi to get the Customer down payment which have been posted in F-29/F-28 transactions.
    Please do needful.
    Regards
    Madhu

    hi
    try this
    BAPI_CR_ACC_GETDETAIL
    cheers
    S.Janagar

  • Function module/BAPI for ATP Material

    Hi All,
    Is there any function module/BAPI for ATP(Available-to-Promise check) for Material.
    1) Production order from one plant
    2) Scheduling agreement from another plant.
    Regards,
    Srinivas.

    Hi,
    you can use either of one below for ATP.
    BAPI_MATERIAL_AVAILABILITY
    RV_AVAILABILITY_CHECK
    /SAPNEA/SMAPI_ATP_CHECK
    regards,
    ram

  • Report displaying Material Standard Price and PO Price

    Hello Experts
    We have materials which are purchased. Price control is maintained as standard price and standard price is maintained using T Code MR21 periodically.
    Due to this when PO price is different from standard price maintained in material master (usually PO price is higher than standard price) all price difference are posted to price difference GL at the time of GR.
    Now users want to check variations between standard price and PO price for the material receipts.
    Can anyone suggest me any report which provides details of standard price and PO price for the material receipts?
    Thanks in advance for your help.
    Satya Alapati

    Nothing std I'm aware of either.  You could consider using the messages 06 205/6/7 to get a warning at the time POs are created that price varies significantly from std.
    Config help text below:
    Set Tolerance Limits for Price Variance
    In this step, you define the tolerance limits for price variances.
    When processing a purchase order, the system checks whether the effective price of a PO item shows variances compared with the valuation price stored in the material master record. In addition, it checks whether the specified cash discount value is admissible.
    Variances are allowed within the framework of tolerance limits. If a variance exceeds a tolerance limit, the system issues a warning or error message.
    In the SAP System, the types of variance are represented by the tolerance keys. For each tolerance key, you can define percentage and value-dependent upper and lower limits per company code.
    Standard settings
    The standard SAP System supplied contains the following tolerance keys:
    PE Price variance, Purchasing
    Tolerance limit for system message no. 207. This message appears if the specified effective price exceeds the predefined tolerances when compared with the material price.
    SE Maximum cash discount deduction, Purchasing
    Tolerance limit for system message no. 231. This is a warning message, which appears when the specified cash discount percentage exceeds the predefined tolerances.
    Note
    You can specify whether the system message appears as a warning or error message using the menu options Environment -> Define Attributes of System Messages.
    Activities
    Maintain the tolerance limits for each tolerance key per company code.
    Regards,
    Nick

  • How to set material standard price to zero

    Hi,
    I am facing a problem relating to standard price of material. The material price control indicator is S. The standard price of that material is 300/-. I need to change 300/- to zero. How can i do that?
    Pl. advise. I will assign the points for the answer.
    Bye

    Is this a purchased part?
    does the material have a cost estimate?
    The price control is "S" ??

  • Material standard price change!

    I am trying to do a standard price change for a material using the message type 'materialvaluation_pricechang'
    I configured the distribution model view and partner profiles for R/3 and XI.
    When I tried to create an IDOC with test tool we19, it got created with status 51 (application doc not posted)
    I got the following error. But in config I didn't see the step 'setup sending material prices'. I am working on SAP ECC 5.0.
    The error description is as follows.
    <b>No Customizing data for valuation area 0013 found
    Message no. CKMLSENDPRICE701
    Diagnosis
    The Customizing data for sending material prices to valuation area 0013 was not found.
    System response
    No price changes were made
    Procedure
    Edit the Customizing data for valuation area 0013 under Materials Management -> Valuation and Account Assignment -> Set Up Sending Material Prices</b>
    Please suggest.
    Thanks,

    Please find the code below in <b>bold</b>. I am trying to change the standard price of the material. Hence ls_ckmlcr-vprsv = 'S'. This is why the following lines in the below code never executes
    <b>ls_matpr_cr-newpvprs = l_price.</b>
    <b>ls_matpr_cr-newpvprs = ls_ckmlcr-pvprs.</b>
    And hence the below condition fails.
    IF ls_matpr_cr-newpeinh = ls_matpr_cr-peinh AND
           ls_matpr_cr-newstprs = ls_matpr_cr-stprs AND
           <b>ls_matpr_cr-newpvprs = ls_matpr_cr-pvprs.</b>
          l_nochange = 'X'.
        ENDIF.
    <b>ls_matpr_cr-newpvprs = ls_matpr_cr-pvprs.</b>
    ls_matpr_cr-newpvprs and ls_matpr_cr-pvprs are same in this case and the if condition fails. So no price change document is posted.
    Is this a bug? Is there any OSS note available to correct this problem.
    IF l_nochange IS INITIAL.
          ls_matpr_cr-newpeinh = ls_price-price_unit.
          <b>IF ls_ckmlcr-vprsv = 'S'.</b>
            ls_matpr_cr-newstprs = l_price.
          ELSE.
            <b>ls_matpr_cr-newpvprs = l_price.</b>
          ENDIF.
        ELSE.
          ls_matpr_cr-newpeinh = ls_ckmlcr-peinh.
          <b>IF ls_ckmlcr-vprsv = 'S'.</b>
            ls_matpr_cr-newstprs = ls_ckmlcr-stprs.
          ELSE.
            <b>ls_matpr_cr-newpvprs = ls_ckmlcr-pvprs.</b>
          ENDIF.
        ENDIF.
        IF ls_matpr_cr-newpeinh = ls_matpr_cr-peinh AND
           ls_matpr_cr-newstprs = ls_matpr_cr-stprs AND
           <b>ls_matpr_cr-newpvprs = ls_matpr_cr-pvprs.</b>
          l_nochange = 'X'.
        ENDIF.
    Thanks,

  • Function Module/BAPI For Material Document

    Dear All,
    I am looking for a function Module/BAPI to get details relevant for a Material Document.
    I can get those details using table MSEG & MKPF, but still looking for a Function Module.
    Kindly help.

    Hi
    Try with these BAPI's
    BAPI_GOODSMVT_GETITEMS
    BAPI_GOODSMVT_GETDETAIL
    Regards
    Brahmaji

  • Get Material Document

    Hi
    Can anyone pls let me Function Module or BAPI for getting "Material Document (MBLNR)" based on "Sales Order (VBELN)"
    It is a very urgent requirement.
    Regards
    Raghav

    Sales Order will not create any Material Document , but Deliver will create the M.Doc.
    check VBFA-VBElV = Delivery number
          VBFA-VBtyp_n = R.
    here u will get the list of MBLNRS.
    Regards
    Prabhu

Maybe you are looking for

  • Upgrade to iphone - downgrade part of family plan

    I am currently under my parents family plan. Our contract ends in November 2011. I would like to get the iphone soon. My father would like to downgrade his plan to something with less minutes. I would like to keep the same plan i currently have with

  • Installation error message 1603 for itunes 8.0.2.20

    Need help. Installation keeps failing. Says that it cannot install. I'm on XP Professional. Removed all Itunes and QuickTime software using MS Uninstaller. I've disabled ant-virus and firewalls. Below is the text from the ItunesSetup.txt in the temp

  • Ipod is downloading my game but not showing up in itunes or letting me play

    Hi, I have 5th gen ipod and i am running 1.2 of the software I bought Texas hold'em. When i sync my games it says it is updating but when it is finished it doesnt show up and i am unable to play. Can someone please tell me how to fix this ?

  • After editing a project, my imported files disappear.

    After editing a project, my imported files disappear.  White page with yellow triangle alert.  Instructions say I need to relink my files, but I can't find that option anywhere.  Version 10.0.  Using OS X 10.9.2

  • DataGrid and labelFunction

    Hi all! I have a DataGrid, and I have two columns where i want to manipulate the data shown. I tried using a labelfunction, but it turns out the labelfunction is called each time I focus out, and not only when the DataGrid is initialized. I've seen t