Order price history

HI,
   IN Order Price History report  theer eis one column variance how that vaue is calculated,
for ex
NET PRICE             VARIANCE
350                           
304                              13.1-
                                                     HOW THESE *13.1* IS CALCULATED.
                                                         THKS.

Hi,
The variance which display in the Order price history is depends on the Material master price & the PO price.
Check for your purchase order price & the same in Material master accounting 1 view.If there is any difference between the 2 then the variance will be come into picture.
It also considers the frequent change in PO price & also compare with the Purchase info record updation.
rgds
gsc

Similar Messages

  • Purchase order Price History Print Problem

    Respected Members,
    When i am executing the tcode ME1P then it is showing suppose seven records and as soon as i click on print icon ,one spool request is getting generate.
    When i am seeing that spool request it is showing seven pages ie each page with single record.
    My question is that i want all records should come on single page.
    It should not take single page for single record.
    How to do that i am not getting.
    Would you all please help me out to solve this issue.
    Thanks

    Hi,
    Following report is the sample report for PO Histroy Report.
    REPORT  YMS_POHISTROY  LINE-SIZE 132 NO STANDARD PAGE HEADING
                     LINE-COUNT 065(001)
                     MESSAGE-ID VR.
    TABLES: DD04T,
            CDHDR,
            CDPOS,
            DD03L,
            DD41V,
            T685T,
            VBPA,
            TPART,
            KONVC,
            EKKO.
    SELECT-OPTIONS: XUDATE FOR CDHDR-UDATE,
                    XNAME  FOR CDHDR-USERNAME,
                    XEBELN FOR EKKO-EBELN,
                    XLIFNR FOR EKKO-LIFNR.
    SELECTION-SCREEN SKIP.
    * TEXT-001 - Sorting Sequence
    SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: SUDATE RADIOBUTTON GROUP R1,
                SNAME  RADIOBUTTON GROUP R1,
                SOBID  RADIOBUTTON GROUP R1.
    SELECTION-SCREEN END OF BLOCK BLK1.
    DATA: WFLAG,
          WCHANGENR LIKE CDHDR-CHANGENR.
    DATA: INDTEXT(60) TYPE C.
    DATA: BEGIN OF ICDHDR OCCURS 50.
            INCLUDE STRUCTURE CDHDR.
    DATA: END OF ICDHDR.
    DATA: BEGIN OF ICDSHW OCCURS 50.
            INCLUDE STRUCTURE CDSHW.
    DATA: END OF ICDSHW.
    DATA: BEGIN OF EKKEY,
            EBELN LIKE EKET-EBELN,
            EBELP LIKE EKET-EBELP,
            ETENR LIKE EKET-ETENR,
          END OF EKKEY.
    DATA: BEGIN OF ITAB OCCURS 50,
            BEGIN OF EKKEY,
              EBELN LIKE EKET-EBELN,
              EBELP LIKE EKET-EBELP,
              ETENR LIKE EKET-ETENR,
            END OF EKKEY,
            CHANGENR LIKE CDHDR-CHANGENR,
            UDATE    LIKE CDHDR-UDATE,
            UTIME    LIKE CDHDR-UTIME,
            USERNAME LIKE CDHDR-USERNAME,
            CHNGIND  LIKE CDSHW-CHNGIND,
            FTEXT    LIKE CDSHW-FTEXT,
            OUTLEN   LIKE CDSHW-OUTLEN,
            F_OLD    LIKE CDSHW-F_OLD,
            F_NEW    LIKE CDSHW-F_NEW,
          END OF ITAB.
    DATA: OLD_OBJECTID LIKE CDHDR-OBJECTID.
    FIELD-SYMBOLS: <F_OLD>, <F_NEW>.
    SELECT * FROM EKKO WHERE EBELN IN XEBELN AND
                             LIFNR IN XLIFNR.
      CLEAR CDHDR.
      CLEAR CDPOS.
      CDHDR-OBJECTCLAS = 'EINKBELEG'.
      CDHDR-OBJECTID   = EKKO-EBELN.
      PERFORM GETCHGDOCS.
    ENDSELECT.
    IF SUDATE = 'X'.
      SORT ITAB BY UDATE EKKEY-EBELN CHANGENR EKKEY-EBELP
                   EKKEY-ETENR.
    ELSEIF SNAME = 'X'.
      SORT ITAB BY USERNAME EKKEY-EBELN CHANGENR EKKEY-EBELP
                   EKKEY-ETENR.
    ELSE.
      SORT ITAB BY EKKEY-EBELN CHANGENR EKKEY-EBELP EKKEY-ETENR.
    ENDIF.
    LOOP AT ITAB.
      CLEAR: INDTEXT, EKKEY.
      CASE ITAB-CHNGIND.
        WHEN 'U'.
            INDTEXT(50) = ITAB-FTEXT.
            INDTEXT+51  = TEXT-020.
            CONDENSE INDTEXT.
        WHEN 'D'.
            INDTEXT = TEXT-021.
        WHEN 'E'.
            INDTEXT(5) = ITAB-FTEXT.
            INDTEXT+51 = TEXT-021.
            CONDENSE INDTEXT.
          WHEN 'I'.
            INDTEXT = TEXT-022.
        ENDCASE.
        RESERVE 4 LINES.
        IF WCHANGENR NE ITAB-CHANGENR.
          WCHANGENR = ITAB-CHANGENR.
          EKKEY = ITAB-EKKEY.
          WRITE:/ ITAB-UDATE UNDER 'Change Date',
                  ITAB-UTIME UNDER 'Time',
                  ITAB-USERNAME UNDER 'User Name',
                  ITAB-EKKEY-EBELN UNDER 'PO No',
                  ITAB-EKKEY-EBELP UNDER 'Item',
                  ITAB-EKKEY-ETENR UNDER 'Sch No',
                  INDTEXT     UNDER 'Changes'.
        ELSEIF ITAB-EKKEY NE EKKEY.
          WRITE:/ ITAB-EKKEY-EBELP UNDER 'Item',
                  ITAB-EKKEY-ETENR UNDER 'Sch No',
                  INDTEXT     UNDER 'Changes'.
        ENDIF.
        CASE ITAB-CHNGIND.
          WHEN 'U'.
            ASSIGN ITAB-F_OLD(ITAB-OUTLEN) TO <F_OLD>.
            ASSIGN ITAB-F_NEW(ITAB-OUTLEN) TO <F_NEW>.
            WRITE: / TEXT-023  UNDER 'Changes',
                     <F_OLD>.
            WRITE: / TEXT-024 UNDER 'Changes',
                     <F_NEW>.
          WHEN 'E'.
            ASSIGN ITAB-F_OLD(ITAB-OUTLEN) TO <F_OLD>.
            WRITE: TEXT-023 UNDER 'Changes',
                   <F_OLD>.
        ENDCASE.
        SKIP.
    ENDLOOP.
    TOP-OF-PAGE.
    WRITE:/ SY-DATUM,SY-UZEIT,
           50 'P U R C H A S E  O R D E R   H I S T O R Y',
          120 'Page', SY-PAGNO.
    WRITE: / SY-REPID,
             60 'Purchase Orders Changes'.
    SKIP.
    ULINE.
    IF SUDATE = 'X'.
      WRITE:/001 'Change Date',
             014 'Time',
             024 'User Name',
             038 'PO No',
             050 'Item',
             057 'Sch No',
             065 'Changes'.
    ELSEIF SOBID = 'X'.
      WRITE:/001 'PO No',
             013 'Item',
             020 'Sch No',
             028 'Change Date',
             041 'Time',
             051 'User Name',
             065 'Changes'.
    ELSE.
      WRITE:/001 'User Name',
             015 'Change Date',
             028 'Time',
             038 'PO No',
             050 'Item',
             057 'Sch No',
             065 'Changes'.
    ENDIF.
    ULINE.
    FORM GETCHGDOCS.
      CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
           EXPORTING
                DATE_OF_CHANGE    = CDHDR-UDATE
                OBJECTCLASS       = CDHDR-OBJECTCLAS
                OBJECTID          = CDHDR-OBJECTID
                TIME_OF_CHANGE    = CDHDR-UTIME
                USERNAME          = CDHDR-USERNAME
           TABLES
                I_CDHDR           = ICDHDR
           EXCEPTIONS
                NO_POSITION_FOUND = 1
                OTHERS            = 2.
      CHECK SY-SUBRC EQ 0.
      DELETE ICDHDR WHERE CHANGE_IND EQ 'I'.
      CHECK NOT ICDHDR[] IS INITIAL.
      LOOP AT ICDHDR.
        CHECK ICDHDR-UDATE IN XUDATE.
        CHECK ICDHDR-USERNAME IN XNAME.
        CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
                     EXPORTING  CHANGENUMBER       = ICDHDR-CHANGENR
                     IMPORTING  HEADER             = CDHDR
                     TABLES     EDITPOS            = ICDSHW
                     EXCEPTIONS NO_POSITION_FOUND  = 1
                                OTHERS             = 2.
        CHECK SY-SUBRC EQ 0.
        LOOP AT ICDSHW.
          CHECK ICDSHW-TEXT_CASE EQ SPACE.
          MOVE-CORRESPONDING ICDSHW TO ITAB.
          MOVE-CORRESPONDING ICDHDR TO ITAB.
          MOVE ICDSHW-TABKEY+3 TO ITAB-EKKEY.
          APPEND ITAB.
        ENDLOOP.
      ENDLOOP.
    ENDFORM.
    * END OF PROGRAM
    Thanks,
    Sankar M

  • Table for P.O. price history data

    Is there a table that is being accessed when a P.O. gets its pricing information from the most recent P.O. for this material/vendor combination?  I
    I am seeing 35% being populated for an RL01 condition.  I would like to find the number of the past P.O. where that pricing was used.

    Robert,
    I assume you are using info records. The last PO number used (EBELN) is stored in the info record. You can get this information by querying the EINE table. If you are looking for an info record order price history, you may also want to have a look into tables EIPA and report ME1P.
    Hope this helps.
    H Narayan

  • Purchase Price History in PO screen

    Hi Friends,
    Is it possible to see Purchase order price History details in PO screen(Me22N/ME23N) itself,Instead of using  T code ME1P...?
    Regards,
    Sankar D...

    Me1p give u details ie.
    1) A material Purchased at what Price - You can see Price details with Purchase Order wise.
    2) From a Vendor you have purchased which material @ what price
    By using me23n what Price history you want to see.

  • Previous Purchase Order Price

    While creating Purchase order, if i need to see the Previous Purchase order Price for the material, From where i have to see?

    Hi
    Prompt the last Purchase Order Price for the Material
    If you want the system to take the price from the last Purchase Order, then do not maintain the conditions in the info record because it has precedence over the last PO. This means that the net price field in the info record should be left blank.
    Even though no price was maintained, the info record will still keep track of the Order price history.
    To check the Order price history, go into the material info record and click Environment -> Order price history
    Regards
    Anand

  • Info record price history

    Dear Experts,
    If we go to inforecord> Environment>Order price history, we can find a order price history report. The Table in which this price history data is stored is EIPA.
    I there any transaction to upload past order price history in SAP while initial uploading.
    With best regards,
    Santosh

    Santosh,
    I don't think there is and ther shouldnot.
    The order price history is to show you what you have done in SAP as you represent your business model here. why would you load order price history in to SAP when it cannot be related to any transaction in SAP???
    Moreover the Info record maintains teh relations between materials and vendors created in SAP.
    I am not sure what your requirement is, however you might want to think in a different direction.

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

  • Report for Sales Order Change History   CDPOS and CDHDR

    How to take a report of the data for the Sales Order Change history for a particular period of time. It is required to take a report of all the Sales Orders for which the basic price has been changed. Please let me know the procedure. I could not get the data from the table CDPOS and CDHDR
    Helpful answer would be rewarded.
    Regards
    Praveen

    Dear Praveen Kumar
    Have you tried with VBAP where sale order details at item level would be stored.
    Moreover, to my knowledge, there won't be any changes as for as pricing is concerned at sale order level but there is at billing level.  Normally, any price increase / decrease would reflect in billing.  So why dont you to table join through SQVI VBAP (for sale order details) and VBRP (for billing details) so that you can compare the selling price in sale order with billing. 
    Thanks
    G. Lakshmipathi

  • Purchase Price History Report/ OM Price report

    Oracle Gurus,
    Can I maintain a price history for any item-supplier combination, so that it defaults while I prepare a RFQ or enter a quotation in the system? If yes, where can I do this?If no, is there any workaround?
    In future based purchase price history report, will send RFQ to supplier?
    Pleae advise, where we have this option in application.
    Thanks
    AK

    Me1p give u details ie.
    1) A material Purchased at what Price - You can see Price details with Purchase Order wise.
    2) From a Vendor you have purchased which material @ what price
    By using me23n what Price history you want to see.

  • Purchase Order Price and Invoice verification price

    Hi All,
    In which report we can get purchase order price and Invoice verification price in SAP standard.
    Thank in Advance........
    Regards,
    Sanjay

    Hello,
    Check ME80FN transaction and select change view on the output screen and select Purchase order history.
    Regards,
    Shailesh

  • Vendor Evaluation - Price history

    Hi
    In vendor evaluation the score for the subcriteria Price History is not getting calculated.
    The scoring method that I have used is : Automatic Determ. from Purch. Statistics: Price Behavior
    What can be the reason? How it is calculated?
    Regards

    to determine how a vendor's price for a material has changed over the last few years, the material's price history is compared with the market price history.
    The system first checks whether the buyer has maintained the current market price and last year's market price for the material.
    If not, the system uses the price for the material group to which the material belongs.
    If this price is not maintained either, the system uses the effective prices from the previous year and the current year. Prices from standard purchase orders for materials and prices from subcontract orders are dealt with separately.
    The system then calculates the percentage variance between the old and new market prices.
    The vendor's effective price is re-calculated with this percentage variance. The result represents the effective price the vendor should be asking if his price had changed over time in the same way as the market price.
    This calculated effective price is then compared with the actual effective price, and a percentage variance is determined.
    The system then awards the vendor the score you have maintained in Customizing for this percentage variance.
    The system repeats this process for all the materials you procure from the vendor. Each time you start an evaluation, the system calculates the average score for all the materials. The result is the vendor's score for the subcriterion "Price History".

  • 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

  • Purchase price history

    Hi,
    Client requirement is that he has to view or see all the price history of a particular PO prices provided by the vendor.
    For example actually a PO has been created with  a price of RS.180/- per piece. And later vendor has decreased the PO price to RS.150/- per piece.After changes PO is saved and if we see the PO price we see RS.150/- per piece in it.But the requirement is that to see all the prices from the beginging of PO.If we change the PO price 2 or more times also i have to track all the prices changes history which are entered before.Thanks for you help.
    Thanks,
    NJ

    Hi,
    You can use this Transaction ME81N to get the Analysis of Order values with respect to PO.
    rgds
    Chidanand

  • Item price - History

    Hi,
    I want the history of prices of items changed date, I checked AIT1 table which maintains price history but on which date the price is changed is not available. Is there any other table or how to find on which date the price is changed in history ?
    Thanks

    Try this man,
    declare @price dec(19,6)
    declare @prprice dec(19,6)
    declare @dat datetime
    declare @prdat datetime
    declare @item char(20)
    declare @pritem char(20)
    Create Table #w
    (dat datetime,mind datetime,maxd datetime,
      item char(20),pr dec(19,6))
    Insert into #W
    SELECT T0.[DocDate],T0.[DocDate],T0.[DocDate],
    T1.[ItemCode],
    T1.[Price]
    FROM OPCH T0  INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry
    Where T0.DocType='I'
    ORDER BY T1.[ItemCode], T0.[DocDate],T1.[Price]
    Declare cu cursor for
    Select item,dat,pr from #W
      for update
    Open cu
    Fetch next from cu into @pritem,@prdat,@prprice
    Fetch next from cu into @item,@dat,@price
    While @@FETCH_STATUS = 0
    Begin
    If @pritem=@item and @prprice=@price
    Update #W
        set mind=@Prdat
       where current of cu
    else
    begin      set @Pritem=@item
         set @prdat=@dat
         set @Prprice=@price
    end
    Fetch next from cu into @item,@dat,@price
    End
    deallocate cu
    select item Item,pr Price,mind 'From',max(maxd) 'To' from #w
    group by item,mind,pr
    drop table #w
    Regards
    Deepak Tyagi

Maybe you are looking for

  • Help needed regarding creation of report

    Hi all I am using apex 4.0 and oracle 10g I am creating a classic report and I have columns to display in the report. ex col A, Col B and Col C I am getting the values of Col A and Col B values from the table. I need to get the value of Col C from a

  • How can I create a new folder in the photo album?

    I have photos in "camera roll" on my iPhone4 that were taken on my iPhone3 and I would like to start a new album so I can separate photos taken with my iPhone4.

  • The flash chart Link not opening in oracle Apex 4.1

    I have created a flash chart (Pie chart ) on the latest version 4.2. Everything is workinfine when I have created a hidden item and associated a computation to it and added that in custom color option in chart attributes I am able to customize this a

  • Asset sold and purchased back

    Hi Gurus, I wanted to find out how other companies handle this situation. We have an asset that was sold last year and it was purchased back this year. From what I understand from the user, is they wanted to see the history and total accumulated depr

  • Drive not ready for use

    when i go to update my ipod, i get this error: "the drive is not ready for use; it's door may be open. Please check drive\device\harddisk2\DR4 and make sure that a disk is inserted and that the driver door is closed." then it proceedes to freeze up i