Tracking Price changes

hi all
i found this query on the sap site to track price changes for all items.
i am finding difficulties to modify this query to
1. track all price changes for a specific item
2. track all price changes in a specified date range.
could anyone help me with this?
you can also find this query on this link
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=30114103
thanks!
prem
SELECT
     T1.ItemCode,
     T2.Price [Current Price],
     T1.Price [Old Price],
     T1.PriceList [Price List No.],
     T3.ListName [Price List Name],
     T1.Factor,
(Select T9.UpdateDate from AITM T9 where T9.Loginstanc = (T1.Loginstanc + 1) and
(T9.Loginstanc =(T0.Loginstanc +1)) and T9.Itemcode =T1.Itemcode )[Update Date]
                /, T1.LogInstanc, (T1.Loginstanc + 1)[Loginstance + 1]/
FROM
     AITM T0
     INNER JOIN AIT1 T1 ON T0.ItemCode = T1.ItemCode and T1.Loginstanc
=T0.loginstanc
     INNER JOIN ITM1 T2 ON T1.ItemCode = T2.ItemCode and T2.PriceList =
T1.PriceList
     INNER JOIN OPLN T3 ON T1.PriceList = T3.ListNum
WHERE
     T1.Loginstanc = ((Select top 1 T3.Loginstanc from ait1 T3 where
T3.ItemCode =T1.ItemCode
                And T3.PriceList = T1.PriceList and T3.Loginstanc <> '1' order by
T3.Loginstanc desc) - 1)

Hello Prem,
Please add this short part to the query you found in the link
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=30114103
and t1.itemcode = 'a1001'
and t0.updatedate between '2003-01-01' and '2003-12-31'
Obviously you have to replace the itemcode that you are looking for and the dates you need.
Please, let me know if it works for you.
Regards,
Marcella Rivi
SAP Business One Forums Team

Similar Messages

  • Tracking Price Change. Possible in Safari?

    Is there anyway to track a price change of an item that has its own page - in Safari? in Firefox?
    Thanks for any input,
    frank

    I think it is invesible for you
    go to Item detail scree in the PO
    here you will see the Color squar at the corner of service tab
    here click on that Icon
    it will open the tablesetting pop up
    here click on administrator adn uncheck the ESLL-PRS_CHG field
    Than click on activate and save
    now you will see this field.

  • Track price change in VK11

    Is there a standard report which displays all the changes made to a material price in the condition record level. The customer wants the report to reflect the last price of the material.
    I have tried vk33 and v/ld, neither of it keeps track of the last price. Would you know of any other tcode?
    Please help!!!!
    Susan

    Susan,
    If users wants to see how the price has changed over time, they should be entering new condition records (using VK11) each time the price changes.  Then the history can be viewed from VK13 by selecting the row and then pressing F8 or choosing Goto >> Validity Periods.
    I suggest to my users to only use VK12 to change a price if a typo occurred when entering the price.  If the price has increased, for example, from 1/1/07 - 3/31/07, the material price was $100 and beginning 4/1/07, the price increased to $110, I suggest they enter a new condition record using VK11 and enter the Valid From date as 4/1/07.  The system will recognize this and change the previous record's Valid To Date to 3/31/07.
    Hope this helps.
    Brian

  • A report that track price changes

    My User wanted a report to show the changes in List Price during sales order. They wanted to know what new prices are as compared to the price maintained in the system. This would helped them to review their pricing used by the sales admin.
    is there such a standard report?
    if no, how can I code it?
    Thanks

    Hi:
    In your pricing procedure, you need to create one condition that will be automatic, lets call it here of ZAUT (Automatic Price). In the configuration of the condition, set the field 'Manual Entries' with 'D': Not possible to process manually.
    Create another condition type, called here of ZMAN (Manual Price). In the configuration of the condition, set the field 'Manual Entries' with 'C': Manual entry has priority.
    Both of the conditions will have the same Access Sequence, but the first one will can't be changed.
    Associate these conditions to your pricing procedure, and don't forget to set the condition ZAUT obligatory.
    By doing this configuration, will you have the price determined by the system (ZAUT) and the other one with the manual entry (ZMAN).
    You can create an information structure (LIS report) to acumulate these values with the characteristics that you desire, with a column Automatic Price and other one Praticed Price.
    You can still create a query or Z report using the Logical Database VAV (transaction SLDB to check this database).
    I think that this is the best way to save the system price and the manual price and do some analysis with the reports.
    I hope that this helps you.
    Regards.

  • Is there a Mac app to keep track of price changes in Mac apps?

    There is an iPhone app called Appsfire. You choose apps to "watch." When there is a price change in an app you are "watching," it notifies you. Is there a similar app for the Mac that lets you know of price changes, or updates for apps on the Mac App Store?

    It's not a question of how you can sort in the Mac.  It's a matter of how it writes files to a FAT  based flash drive.  The cars stereo will sort  the flash drive by the order the files were written in and not by any order the OS has sorted it.  This is the same in Windows and Mac, so a utility to "sort" the flash drive.  DriveSort does this perfectly, but they don't have a Mac version.  I'm looking for a Mac version of this type of software.  Surely someone in the Mac world must have run into this flash drive problem and found a fix......

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

  • Credit note on price changes

    Hi,
    My customer would like to raise a credit note due to price changes on the item. Currently once we raise a credit note, the quantity is also returned to stock. Service type cannot be used as they would like to track the gross margin of each item. Thanks

    Hi Jenny,
    Based on the note 539982, the only one is to use service, here is the note :
    Issue a credit note without returning items to warehouse
    Symptom
    How can I issue a credit note for a customer regarding a certain item invoice without returning the stock items back to the warehouse?
    i.e : a discount for a customer concerning a specific invoice
    Other terms
    credit note, invoice, return, warehouse, service, discount
    Reason and Prerequisites
    No error. Need of information
    Solution
    You should generate a Service type credit note. Do not copy the invoice
    to the credit note. This will cause a reverse stock transaction and
    will close the invoice. To solve this problem, please perform the
    following steps:
       1. Go to AR/Sales in the command center.
       2. Click on "credit" note and select "service" on the top left of your window.
       3. Select the customer you want to issue a credit note for.
       4. In the column "description" type in the item invoice number.
       5. Select account code and price.
       6. Add credit note to the system by pressing the add button.
    Rgds,

  • PIR Price change log with validity period

    HI All,
    We have a requirement in our project for a report that shows Price change (i.e. Old value and new value) in PIR. Yes i know there are lot of standard reports through which i can see the change but i am facing difficulty in tracking these changes to a validity period. For eg: if a PIR has 4 validity periods for every quarter, how can i link the price change to the validity period for which that change was made?
    We are open to develop custom report if standard is not available but need logic to determine the validity period.
    Thanks in Advance.

    Dear Vipin Sharma
    If you find your solution, then you should close your discussion. Have a look into the blog for a guidance How to close a discussion and why

  • Tables of Price changes

    Dear All
    I need to develop a report where I need to find out the track of all the price changes of a material by the user.
    We have developed almost all the things through different tables and making their relationship with the coordination of ABAPERS.
    But we are not able to find out the tables of price changes as initially it is being stored in KONP table.but if it is being changed by the user,again it will be stored in the same table.but we need to find out the table which provides me the old value as well as the new value so that we can develop the report.

    Hi
    The changes are in tables CDHDR/CDPOS. You can use the standard report rsscd100 as a template. So, search for obj. COND_A. As there must be performance problems, create your own pointers to filter this modifications (tcodes BD50, BD52 and so on). So, this modifications are saved in table BDCPS / BDCP and you can search quickly these modifications.
    I hope this helps you
    Regards
    Eduardo

  • Manual Price Change by Customer

    Dear all,
    I am a BI Consultant. I dont have much idea on SD tables. here is my reporting requirement:
    Need to track the number of manual intervention by Customer on the price during the order entry.
    In certain exceptional cases, the Customer can change Price, Rebates, Surcharge charges etc. for a sales order..
    so i want to know, which SD table holds these type of price changes information???
    i mean where i can i get these all Price Change Summary? [Manually changed by Customer!!]..
    help me out..
    Thanks n advance.
    Regards,
    Srini

    Hi Srini
    Check the link
    [Manual Price Change by Customer;       
    _NOTE : Dont post your query in many threads.Post only in one thread_      
    Regards
    Srinath

  • Price change report for  a given date range in inforecords

    hi,
    Can any body suggest how we can get price changes in inforecords for given date range. is there any standard sap tcode or  fuction module.

    Hi,
    If you are referring to the changes in the condition record (for eg. for PR00), then you may go through the foll path:
    Execute VK13 for any condition type - once inside the detail screen, from the menu path, choose Environment -> Changes -> change report. This will take you to a new selection screen where you can define the period you want to see the change record as well as the condition type for which you want to track the changes. Beware, this is a complex report for SAP and it will take definitely longer time to complete. So, it is better to specify short time periods and specific condition types and execute this in background.
    Hope, this helps!
    S. Siva

  • Need query for Item - Price Change History

    I need help finding information around Price Change History by Price List. 
    Information of interest is Date of Update and By Whom.    Also, if a Datasource is 'N-Unknown', what does this generally mean?
    select
    i.itemcode,
    i.itemname,
    iphist.price,
    pl.listname,
    pl.datasource as 'ChangeSource',
    '' as 'PriceChangeUpdateDate',
    '' as 'UpdateByUser'
    from  ait1 iphist, oitm i, opln pl
    where 1=1
    and iphist.pricelist = pl.listnum
    and i.itemcode = iphist.itemcode
    and iphist.itemcode in ('1234')
    and pl.listnum in (6)
    thanks in advance...

    thanks for the quick response and i would love to spend time perusing the forum for this question but i didn't have time today.  i'll do that now though.
    what i'm mostly interested in is a chronological view (lastUpdateDate) of the change to pricing for an item in the system.  there is a lot of activity in our system around price changes for promotions and i want to keep track of when it's changed in the source system and pair that with our other downstream systems.
    i'm assuming we can add this functionality through a udf some way or maybe sp_TransNotification proc?

  • Config reqd to track the changes to Bak details with report  S_AHR_61015505

    Hi All
    I have a need to tack the changes to 'Bank Details'. I have tried using the report 'S_AHR_61015505' , it works fine for the 'Addresses' info type but not for Bank details. I presume I need to do some config to activate the change log to track the changes to Bank info using this report.
    Can any body please tell me what I exactly I need to do  for this .
    Thanks
    Srinivas

    as suresh said follow the steps in img  then click on Field group definition. There in infotype 9(Bank Details ) check for Field group is 01 and maintain Fields
    Field Group   Field Name
    01                 BANKL
    01                 BANKN
    01                 BANKS
    01                 BKONT
    01                 EMFSL
    01                 ZLSCH.
    I hope this answers your question
    if so close the thread
    ---Bob Radi

  • How to Track the changes made to the custom table field value

    I want to track the changes made to the custom table field value in table maintenance generator.please help me it is very urgent
    Thanks & Regards,
    Kranti

    Hi Satya,
    These are the steps you've to do.
    1. Enable the change document flag in the data element level for the fields of the tables you want to monitor.
    2. Go to transaction SCDO. Create a new change object, and add your table to this object. After generation, you'll get a function module.
    3. Call this function module in the table maintainence generator screen, after the data is saved to the database table. This function module automaticallly writes the changes, with the old and new values, and the fields that were changed to the tables CDHDR and CDPOS.
    4. You can keep track of the changes made to the table by monitoring these tables.
    Regards
    Anil Madhavan

Maybe you are looking for

  • Not able to connect with nokia music store in lumi...

    Getting frustration to connect to Nokia music store in my Lumia 920.. Basically this device brought at singapoor and now am using @ India...i doesn't know the reason.. While connecting to store, itz showing unable to connect and contact Nokia service

  • Samsung LED smart TV WiFi connection problems (router MI424WR)

    I am able to connect my Samsung C9000 55" LED smart TV to my home internet router (MI424WR) and am able to use the apps on the TV.  Then, out of nowhere the connection is lost.  The router is on the second floor of my home, and the TV is located in m

  • How to send response back to db adapter

    Hi, I have a requirement where I need to update a status field and last activity time field ( time of instance completed) in a database table. I used Polling option in database adapter, but it is updating the status field immediately once it is read.

  • Nokia C7-00 Turning Sensor Problem

    HI all. A just buy the C7 and it seems that after every restart the turning sensor only works for 20-30 min, after thet not responding. Does anyone have the same problem? It could be a factory problem or some aplication does something to the sensor?

  • Printer Troubles: Powerbooks, Airport Express and Epson C86

    We have two Powerbooks, and we have an Epson C86 connected to an Airport Express. We are having trouble printing to the C86. My wife can not print at all and I can print only when I restart the AE, then as soon as my laptop is put to sleep and woken