Picking the last purchase price of the material

Hi
For the purpose of estimating the cost of material presently we are taking the cost of the material from the moving avg. price maintained in the material master.
But now the client requirement has come to take the last purchase price and the currency in which material was procured for further calculation.
Can someone please suggest me from which table will I be able to pick the last purchase price of the material and currency and use it for further calculation in estimation?
Regards,
Niraj Sikligar

hi
Applied following logic and now could get the latest purchase price.
Field     Field description     Table / Structure
MATNR     Material No.     EKPO
EBELN     Purchasing Document No.     EKPO
NETPR     Net Price     EKPO
AEDAT     Last changed on Date     EKPO
ELIKZ     Delivery completed check box     EKPO
WAERS     Currency     EKKO
Note: The link between EKPO and EKKO Tables are EBELN and AEDAT fields.
With the material No. Purchasing documents will be sorted for that Material and all the purchasing documents will be again checked for delivery completed check, out of which the last purchasing document will be picked using changed on date and its Net Price will be picked in EKPO table. With this purchasing document no. and date, currency will be chosen from the EKKO table. This price and currency will then be displayed
Thanks all for your support.
Regards,
Niraj Sikligar

Similar Messages

  • In wich table are stored  the last purchase price of items?

    Hi all,
    My question is in wich table are stored the last purchase price of items and what is the best way to import items price directly to the last purchase price list.
    In ITM1 appears the prices of the list prices but no the last purchase price list.
    Thank you all again.
    Regards.

    Hi
    The last purchase price are not stored anywhere as well as the last evaluated price.
    However if you want to add or update this price you can use DTW in order to update this particular pricelist.
    Hope it helps
    Regards
    George

  • How can I obtain the last purchase price

    Hi,
    there is a method to obtain the list of last purchase price??
    Thx
    Best Regards

    hi,
    I've tried the PriceList Obj and GetItemPrice but nothing to do....
    I would like obtaining the second Price List row in the Price Lists Form (Inventory\Price Lists\Price Lists).
    If I enable Debug Information I can obtain ListNum but the first two rows have the ListNum set to -2 and -1
    With the PriceList.GetByKey method if I set the parameter with -1 or -2 doesn't work... There is a way to obtain this PriceList?
    Thanks a lot
    Best Regards

  • Costing of product with last purchase price

    Hi
    how would be possible to get the Costing through CO with the last purchase price of the Product .
    suppose one product is having nos of SFG & RM.
    Rgds
    Pankaj Agarwal

    hi
    Is it that the the system has to pick up the last purchase price cost for standard costing run or while executing the production order, if it is while production order  update material price as planned price in material master using Z program and use planned price as strategy for valuation variant in actual costing variant.  But this is little bit cumbersome every time you have to run the z program for every purchase order for that raw material and if the prices are highly volatile  input price variance will be very high
    krishna

  • PO Last Purchase Price ??

    Hi ! currently I'm working on a P.O. Report. My query is :- I want to display the last purchase price of the P.O..
    For this requirement, I've joined the tables EKKO & EKPO, sorted on material & plant. And now I want to fetch the last purchase price from EIPA table using the info rec no. For that how can I write a select query.
    Right now I'm using :- 
    SELECT SINGLE PREIS    INTO DISP-LASTPR      FROM EIPA  WHERE INFNR    = DISP-INFNR.
    which is not solving the problem.
    Please help.

    Hi,
    Try below logic.
    Select <required fields> from EINA
    into table <itab>
    where matnr = <matnr>.
    sort <itab> by erdat descending
    read table <itab> into <wa> index 1.
    Last info record = <wa>-infnr.
    Regards
    Vinod

  • Last Purchase Price History

    Dear All,
    Is there any way we can have the Last Purchase Price History in SAP system?
    Our customer has 2 stock transfer. In those 2 documents, she has 2 difference last purchase price on the document. But actually, she didn't issue any GRPO of that item during the period between the 2 stock transfer. So the last purchase price should be the same. How can I find out all the document during that period which may affect the last purchase price in the system? Thanks a lot.

    When you enter an incoming invoice # see Purchasing
    PO - No
    When you enter a goods receipt # see Goods Receipt
    Goods Receipt: No
    When you enter a positive opening balance for an item # see Inventory and Stock Postings
    Not sure what. But they don't have opening balance for the items last month
    When you enter a positive inventory result that triggers a goods receipt # see Inventory and Stock Postings
    Not sure what?
    When a product with a BOM is manufactured, where the price of the product is calculated from the last purchase prices of the components # see Production.
    The item is not BOM
    When Landed Costs are performed. (Note: When adding AP invoice after landed costs was created, the last purchase price will remain unchanged)
    No landed cost for that item

  • DTW for Last Purchase Price

    Dear all,
    Can we import Last Pruchase Price to SBO using DTW ? so, I can see the historical of last purchase price when I open PO
    Best regards
    Wibisana

    Dear Wibisana,
    what is your pupose to update last purchase price list ?
    To update price list, you must have the explanation about how to update last purchase pricelist:
    Last Purchase Price List
    The prices in this price list are updated automatically by the system when the following transactions are performed:
    1.     When you enter an incoming invoice # see Purchasing
    1.     When you enter a goods receipt # see Goods Receipt
    1.     When you enter a positive opening balance for an item # see Inventory and Stock Postings
    1.     When you enter a positive inventory result that triggers a goods receipt # see Inventory and Stock Postings
    1.     When a product with a BOM is manufactured, where the price of the product is calculated from the last purchase prices of the components # see Production.
    1.     When data imports are performed
    If none of these transactions have been performed in the system for an item, the "Last Purchase Price" price list will not contain the item
    Only the list of the transactions mentioned above changes the price of an item in the "Last Purchase Price" price list.
    Even if you enter one of these transactions, but assign it the value 0, the price will not be included or updated in the "Last PurchasePrice" price list.
    You can refer other price lists to the "Last Purchase Price" price list with a defined factor. You cannot, however, change the prices in the "Last Purchase Price" price list manually.
    then you use the DTW template:
    1. item
    2. item_prices
    you can have both from this folder:
    C:\Program Files\SAP\Data Transfer Workbench\Templates\Templates\oItems
    then, in the DTW, you use object oItem.
    the DTW templates (item and item_prices) must contains the data where they will not act like import but update.
    in the item_prices, you must put :
    1. linenum : 0 for pricelist 1; 1 for pricelist 2; etc
    2. pricelist : 1 for pricelist 1; 2 for pricelist 2; etc
    actually, in the pricelist window, do you see that the pricelist last purchase price have base pricelist ? in the form, you will see that the 01 Purchase Price List have last purchase price as its base pricelist.
    So, in the template you must use it.
    After updating using DTW finished, you could try to use one of the item in the purchase order and see if the unit price changes or not.
    I will ask my friend to send the template if you need.
    Rgds,

  • Last Purchase Price Currency

    Hi Experts,
    My client purchases stock from all around the world.  When posting a Purchase Invoice in Dollars, the Last Purchase Price of the item is then changed to USD.
    Is it possible to always show the Last Purchase Price in the local currency (GBP)?
    Thanks
    Greig

    Hi Greig,
    we've had the same problem with one of our customers.
    To solve the problem we've used SDK and we've developed an addon which create/update an "own" last purchase price list.
    The prices in foreign currencys will be convert into local bp currency. And that price list will be used for reports an gross profit calculation instead of the system last purchase price list.
    I think that is the only way to do that.
    Kind regards
    Jacqueline

  • Last Purchase Price & Last evaluated Price

    hello experts,
    i just wanna know what is the difference in between Last Purchase Price and Last evaluated price. our company uses FIFO.
    what is the effect in goods issue if i will use last Purchase Price or Last evaluated price.
    Thanks in advance.
    FIDEL

    Hi Avelino,
    The last Purchase Price is the last price paid for an Item, meaning that this price is updated when an AP Invoice is posted as this is considered the purchase price. The price is not updated by Goods Receipt or Prchase Order as an example.
    The Last Evaluated Price or Last Calculated is updated when either running the Stock Audit Report or the Stock Valuation Report.
    Please note that if the company has been defined with 'Manage Item Cost per Warehouse' in the Company
    Details and the Stock Audit Report is used to update the last evaluated price, then the price will be as calculated in the default warehouse of the Item.
    For the Goods Issue, the price as given on the rows is only informative, the price that will be credited from the stock account in the Journal Entry is the calculated cost price according to the valuation method that has been defined for the item (FIFO, Moving Average, Standard).
    With the Form Settings you can chose to display the 'Item Cost' field in the Goods Issue, this will however only be populated after the Goods Issue has been added. The reason for this is that the price could have changed between the moment when the Goods Issue form was opened and the time that it is added.
    I hope this helps.
    Jesper

  • Approval if Unit cost is lesser or equal to last purchase price

    Dear experts,
    Is it possible to give query based approval if the unit cost in the PO is less or equal to the last purchase price of the particular item. If there are more than one item then it should validate for all items. Even if there is deviation in any one of the item it should go for the approval.
    Please guide me in doing this.
    thanks and regards,
    Yeshwanth Prakash

    Hi Yeshwant.....
    This is Not at all possible even through query. You can have some work around for that but you can not get direct solution for this....
    Approval for Row level data is always not possible.....
    Please check this thread....
    Re: Query base approval for PO Unit Price
    Regards,
    Rahul

  • Last Purchasing Price of Material

    hii,
    is there any report or txn by which i can know the last purchasing price of a particular material...
    abhishek suppal

    I am not sure if there is a report for the same. You might have to find the latest PO for that material and look at the price.
    It should not be a big deal.
    Join between EKPO and EKKO should give you the required info.
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • Last Purchase Price Report

    Hello All,
    I need to get a Report on the Last Purchase Price for some materials. Where can I find this report?
    Is there any report that shows the materials related to the suppliers.
    Best Regards,
    Miguel
    Edited by: Miguel Barbosa on May 25, 2009 5:59 PM

    You can try via MBEWH, that has the history of price at material master level
    Or go to EKPO and get there the actual price of the PO
    Or go trough EINE and EINA and review the actual price..
    if you have conditions, then go to KONP to see the validity prices.
    hope that could help you.

  • Price List Auto Update based on Last Purchase Price

    Dear Expert
                         I have a problem in updating the PriceList at one of my client site . They are making CST purchase
    Eg.    We are entering purchase through Goods Receipt PO item cost 100RS and CST tax 20 RS
             Then Copy to AP invoice . so the item cost is coming to 120 as CST is non deductible tax .
             If we goto Price list , it will clearly show last purchase Price is 120 every thing is fine till now
           Now the issue comes :- company is incurring frieght charges 10 Rs or any amount this also has to be included to cost that we are entering through Landed Cost . This 10Rs is automatically adding to cost . if we look the item cost it will be 130 this is also correct . But the Problem is that when we go to Pricelist we find that Last Purchase price as 110 that is 100 Rs base doc price +10 Rs Frieght (Landed Cost) . .
    Actually the Last Purchase Price should come as 130 (1002010) . We are dealing with 4000+ items it is difficult to mannually update the Price List .
    Regards
    Shihabuddin CC
    Jr . Consultant SAP B1
    CCS Technologies P Lrd

    Dear Shihabuddin,
    In most localization, price is for before tax price. If you want tax included in the price, you can create your own price list to calculate.
    Thanks,
    Gordon

  • Last purchase price of item per plant

    Good day!
    Need help retrieving the last purchase price of an item
    per plant regardless of the vendor. i know they are in
    EINA and EIPA tables but i couldn't extract them.
    anybody knows a query for this?
    Thank you very much for your help.

    Thanks, Suda, I understand I cannot update the Last Purchase Price itself - should have made myself more clear. 
    What I want to do is change the Price List (field OPLN ListName) selection in the Item Master from one of our created lists to the Last Purchase Price price list.  That way, when we create purchase orders, the item price is filled in with whatever price we last purchased.  I don't want to manually create another last-price price list because I would have to constantly update it.
    Since I can manually change to the Last Purchase Price price list in the Item Master, there must be some way to do this for all items using the Data Import or the DTW?
    Thanks again,
    Shelby

  • Proposal: option to use 'last purchase price' in Purchase Order by default

    Hi,
    We have had with at least two customer the following requirement.
    When they generate a new A/P PO, they want SBO to fill the price column for an item with the last purchase price of that item/provider.
    We did this using an FMS selectign fields LastPurCur/LastPurPrc from OITM, but this last price is independent of the provider. ONe solution is using user-tables.
    What would be a very nice addition to SBO is the ability to handle a last purchase price by the pair item-provider, and some check somewhere, in order to enable the automatic fill of this value in the purchase documents (PO, Good Receipts, Invoices) based on this pair.
    If anyone has developed such a solution, I would be very glad to hear about it.
    Otherwise, please, forum moderators, consider this request for upcoming versions.
    Regards,
    Leo

    Leo
    Why not just use FMS to determine last price by item/provider?
    Regards
    Jeffrey

Maybe you are looking for