Order price quantity changes report

hello folks,
based upon the selection screen fields either material group or purchasing group i have to retrieve the data for the changes in price for the open purchase orders...
ie if some one changed the price of the original po price then compare the prices with contract price( if contract exits) otherwise with purchase info record price... then i have to retrieve those po records( only which r open)
can anyone post some sample code for the above requirement with alv grid......
fields( ekko-ebeln, ekpo-ebelp, ekpo-matnr, ekko-lifnr, lfa1-name1, eket-eindt, ekpo-netpr, ekpo-ktpnr, ekpo-netpr, eine-infnr, eine-netpr)
Thanks alot for your anticipation
SIRI

Hi,
Check the following link:
http://www.sapbrain.com
Regards,
Bhaskar

Similar Messages

  • MIRO - Blocking reason: order price quantity

    Dear all,
    In the line item of a imcoming invoice (MIRO), I found the item is blocked due to "order price quantity".
    In the F1 document of this field "Blocking reason: order price quantity", the explanation is "Specifies if the invoice item is blocked due to order price quantity variance." However, it's still a little hard for me to understand. Can anyone help me?
    Thank you so much.
    Christina

    Hi
    This is due to variance in GRdoc and MIRO value.Please check the value and quantity ordered and received of GRN and MIRO.
    You can remove this block via MRBR transaction.
    You also can set tolerance for these vatriances, in GRN you can provide the tolerance limit.
    Cheers
    Mukta

  • Message no. M8420 - Order price quantity leads to incorrect PO history

    Hi,
    Unable to cancell the invoice, the detail scenario is as below.
    Converison factor maintain in the PO is:
    73set Quantity = 1 lot which is Order price unit.
    PO is rasied for 1 lot.
    GR deatil is as below:
    first Gr is done for 1 set qunantity = 0.014 lot Opu
    Second Gr is done for 1 Set quantity = 0.014 lot OPu
    third  Gr is done for 71 Set quantity = 0.973 lot OPu
    Now if you some the total then it is coming like as below:
    GR is done for 73 set quantity = 1.001 lot (it should be 1 lot)
    but due to round up the system is taking 0.013 = 0.14
    and 0.972 = 0.973 and finally we have .001 more lot in GR quantity.
    Invoice detail is as below:
    first IV is done for 1 set quantity = 0.014 lot
    Second IV is done for 72 set quantity = 1.008 lot
    third IV  is done for 0.100set (.001lot )  which is the extra amount in GR..
    finally the GR amount 73 set and total invoice is 73.100 which is not same.
    Now the user want to cancell the third invoice doucment and
    get the below error meassge:Order price quantity leads to incorrect PO history
    Message No:M8420
    Please note that for first and second IV the payment is already done which cannot
    be cancell.
    Please let me know how to cancell the third IV and how to match the Quantity/Value in GR and IV
    Thanks and Regards
    DD

    Hi,
    Could you please see if note 1278786 solves your issue?. If not, please read also note 35805.
    Best Regards,
    Arminda

  • Order price quantity variance

    Hi
    What are the restrictions that can be maintained for order price and quantity variance?
    Regards

    Hi,
    Go to SPRO > MM > Purchasing > Purchase Order > Set Tolerance Limits for Price Variance (It will be considered during PO)
    The standard SAP System supplied contains the following tolerance keys:
    o   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.
    o   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.
    Go to SPRO > MM > Inventory Management and Physical Inventory > Goods Receipt > Set Tolerance Limits
    o   B1 ( order price quantity variance  with error message)
    o   B2 (order price quantity variance with warning):
    o   VP (variance from moving average price)
    Go to SPRO > MM > Logistics Invoice Verification > Invoice Block > Set Tolerance Limits
    BR   Percentage OPUn variance (IR before GR)
    BW   Percentage OPUn variance (GR before IR)
    DQ   Exceed amount: quantity variance
    DW   Quantity variance when GR qty = zero
    PP   Price variance
    PS   Price variance: estimated price

  • Order price quantity leads to incorrect PO history

    Hello Gurus,
    I am getting following error while posting the Invoice for SLA
    Order price quantity leads to incorrect PO history
    Message no. M8420
    Can you please guide why this error is coming.
    Thanks
    Nilesh

    the long text of the message has already an example.
    Go SE91 enter the the message number and click display, then select  the message and click long text

  • Price & Quantity change in COsting

    Dear All,
    After saving the sale order and costing, the quantity and price is automatically changed in the costing. After re open the sale order, the changes are carried, what is the problem and is there any configuration level changes?
    Urgent one, pls revert back guys.

    Hi there,
    Could you please explain step by step procedure of your req. coz it is not clear.
    What is BoQ?
    Customer gives raw material with out knowing the specification of sheet?
    Thanx
    Jess

  • COR2- Process order material  quantity change

    Hi, I want to change the material quantity of process order with COR2 transaction, could you plese help me out in finding the bapi or function module which will be relevent.

    I have done it through BDC recording, change on first line, then upload using bdc from 2nd line.

  • Credit Blocked 3rd Party Sales Order confirm quantity change discrepancy

    Hi,
    I am facing the below 3rd party SO qty change issue. Please check and advise me.
    Step 1:
    Created one 3rd Party SO for item A - 10 qty.
    Step 2:
    PO is created with reference of PR number (item A- 10 qty).
    Setp 3:
                Again I am changing the SO item A qty from 10 to 20 (i.e. SO value is increased).
                Due Sales order value increase the credit check performed and due to customer credit
                limit the system shown Static Credit Block message (SO  blocked for Credit approval).
    Setp 4:
    I have saved the SO with the Credit Block message (still SO Credit Blocked).
    Issue :
    I have not released the Credit block in SO, Even the system has updated the SO confirmation qty as 20
    and subsequent PR and PO also changed from 10 to 20 qty.
    Regards
    Baskar

    See, the Credit Management System is designed to work in the SD side & not on the MM side.
    Once PR is created, it is updated every time Tird party Sales Order changed which is basic requirement.
    Once PR is created / updated, system (Credit Management) cannot the creation of PO & subsequent documents. This is becaus Credit Management is desinged to block creation of Sales Order, Delivery Document & PGI & nothing more.
    That is why I suggested you to go to Z-Development & apply a User Exit.
    Hope this clarifies.
    Thanks,
    Jignesh Mehta

  • Purchase order price change report

    Hello
    How to retieve the purchase order price change report ? do we have any standard report for it or any table which gives these data?
    kindl

    HI
    Have you activate version management at your end for PO,i think this will help you to track changes of PO for qty,price etc.
    [http://wiki.sdn.sap.com/wiki/display/ERPLO/Version+Management]
    Regards
    Kailas Ugale

  • Purchase order price variance and quantity variance

    Hi All ,
         I am working on a report development where we need price change , value change and quantity change in the report along with net value (ekpo-netwr) .
        Can anybody suggest me tables  in ECC where the changes (price,quantity and total value ) are captured ??? and if there is any BI content datasource which can satisfy this requirement.

    Hi All ,
         I am working on a report development where we need price change , value change and quantity change in purchase order in  the report along with net value (ekpo-netwr)
        Can anybody suggest me tables  in ECC where the changes (price,quantity and total value ) are captured ??? and if there is any BI content datasource which can satisfy this requirement.

  • Purchase requsition and Purchase order Price Changes

    Hi All,
    When purchase requsition(XXXXXXXX) is converted in to a purchase order through ME 59N(YYYYYYYYYY),after converting in to a purchase order i will change the purchase order price to a new value.
    How can i track the price changes for a purchase order that is converted from a purchase requsition.(i know i can see the changes to a PO,under item changes for PO)
    Is this data is stored in any table?
    with regards,
    Amogh

    Hi,
    this change is not captured, because the price is being changed at the point of the PO creation and so there will be no record in the header or item changes option (the system does not see anything as being changed because this is a creation of a new PO).
    The price from the requisition is merely a suggestion and it is not meant to be a purchase price anyway (it is designed to be used to value the requisition for the  release strategy).
    I know that you can configure the system to pass this req "price" to the PO, but it is not the same price and so you will not find the type of controls that you would expect.
    In many cases a simple ABAP is written that reads POs that have a reference requisition and the ABAP compares the prices and reports on those that exceed a tolerance (either hard coded in the program or held on a new table in SAP).
    None of this is standard SAP but it is something that many people create to handle the situation where the user enters the requisition at a deliberately low value to get it through the release strategy.
    Steve B

  • R/3 Order price reset on changes in CRM

    Dear Experts,
    I'd like to ask you about pricing synchronization problem.
    At my company, sales order created in CRM 4.0 will be distributed to R/3 ECC 6.0.
    R/3 sales order price conditions are not similar with CRM sales order price condition. Not all of R/3 pricing conditions exist in CRM due to complexities in R/3 rate determination.
    The problem is whenever changes are made in CRM SO Document , the pricing will be transferred to R/3 SO, but in the same time other pricing components in R/3 SO will be reset to zero by SAP function SD_SALES_ITEM_MAINTAIN .
    Beside creating similar price conditions in both CRM and R/3, is there any configuration to enable price synchronization without changing the pricing conditions that are not similar ?
    Thank you in advance,
    TS Winedya

    Hi Satish,
    Go to BP transaction click Extras --> change history --> for this partner
    you will get all the changes done for this partner. select any one of the field from pop-up press enter, you will get detailed report.
    Reward if it helps
    Regards,
    Srinivas Maddineni

  • Can I change price , Quantity , discounts, tax when I am creating an invoic

    Hi All,
    When I am creating invoice in VF01, Shall I change price, Quantity, discounts, tax in the create mode itself. Normally with copy controls every thing is copeid fromorder or delivery. But my question is shall make any changes in invoice at VF01 screen just after entering delivery document, shall I make any changes to price, Quantity, Discount. Where is the control for this If i want to change, is it in copy controls.
    I think you all understand my question.
    waiting for your quick reply.
    Thanks in Advance
    Anil

    Dear Anil
    You can change the pricing, discounts and tax in VF01 but not the quantity. 
    For this, in VTFL, for your item category, for the field "Pricing type", if you have maintained "G".  By maintianing "G", the pricing in billing documents will be copied from sale order.  At the time of billing, if you want to change the price, click on "Update" button at the bottom screen in condition tab so that a box will appear.  Double click on "B" there and you can see the revised pricing in condition tab.  Similarly, if you want to change the tax values, double click on "G".
    Alternatively, in VTFL, for the field "Pricing type", if you maintain "B", then whatever you maintain in VK11, that price only will be there in condition type irrespective of sale order price.
    thanks
    G. Lakshmipathi

  • How to get Changed fields in Sales order to create a report

    Dear Gurus,
    How to get the log from sales order for the change of particular field.
    In my scenario, If an user remove the delivery block from sales order I want to capture the date on which this delivery block
    is removed and by whom (User)?
    I know that I can get the log of change but can I get in the form of field updates because further I want to use that date and user name to create a report.
    I hope u got my query. Please reply soon that I can create a report.
    Thanks in advance.
    regards,
    Sanjay

    Hi
    You can use the table CDPOS for tracking the changes at the Table level with the Sales order number
    or Else you can also use AUT10 transaction to track the logs/chanages with START DATE, END DATE and the Transaction code in your case it is VA02
    Please check and revert back
    regards,
    santosh

  • Pocess order - target quantity in cost analysis report

    hi experts ,
    i am not getting the target quantity in cost analysis report of header material , though i have made the GR of the process order .
    target quantity is showing zero.
    i am getting target quantity of components , sfg used.
    kindly give your inputs.
    reagrds,
    satish

    Dear
    First Check the Validity of the standard cost for the header material, It can be seen in ck13n, Dates tab.
    Target costs are populated when you do the goods receipt. System will search for the released standard cost estimate and then apply that for each material component. If these 2 conditions are passed, then you will get target cost in order.
    Plan cost = Plan qty * std cost estimate
    Target Cost = Actual qty * std cost estimate
    Actual cost = Actual qty * actual costs
    Eg:
    A production order is planned for producing 10 units of a material
    Then plan cost on the order = 10 units * std cost
    Target costs are calculated once production is confirmed.
    Suppose only 9 units were produced out of 10 planned
    Then target cost = 9 units * std. costs
    Regards
    Ganesh M

Maybe you are looking for