Copy po price from ztable

We have a Ztable with below structure where the approved purchase prices are stored. We have created a routine which checks whether the PO price is matching to the prices in this table w.r.t. the validity date.
Can we copy the price from this table to PO directly. i.e, no user will enter the price in PO or info record but the PO will adopt the price from below table.
MANDT     MANDT     CLNT     3     0     Client
KSCHL     KSCHA     CHAR     4     0     Condition type
LIFNR     ELIFN     CHAR     10     0     Vendor Account Number
MATNR     MATNR     CHAR     18     0     Material Number
EKORG     EKORG     CHAR     4     0     Purchasing Organization
WERKS     WERKS_D     CHAR     4     0     Plant
SEQU          NUMC     13     0     Sequence Number
DATAB     KODATAB     DATS     8     0     Validity start date of the condition record
DATBI     KODATBI     DATS     8     0     Validity end date of the condition record
KBETR     KBETR_KOND     CURR     11     2     Rate (condition amount or percentage) where no scale exists
KONWA     KONWA     CUKY     5     0     Rate unit (currency or percentage)
KPEIN     KPEIN     DEC     5     0     Condition pricing unit
kindly revert.
thanks in advance.

Hi,
You need set a price with standard tools if you want that a VOFM subroutine works, ie: you can do a substitution if the system set a price before.
I hope this helps you
Regards,
Eduardo

Similar Messages

  • How can I copy the price from a reference invoice

    Hi,
    How can I programmatically copy the price from a reference invoice to the orders which I am creating using FM SD_SALESDOCUMENT_CREATE.
    Regards,
    Tanmay

    Hi,
    Try using the BAPI BAPI_SALESDOCU_CREATEFROMDATA1.
    In that pass REFOBJECTTYPE
    REFOBJECTKEY
    REFDOCTYPE
    to create from an invoice..
    Thanks,
    Naren

  • ME21N : Donu2019t copy the price for all condition types from last po

    Dear.
    When I create a purchase order the price for all condition types are copied from last purchase order inside the info-record.
    But I have some condition types like FRA1 or FRA2 that I donu2019t want that system transfer price from last purchase order.
    How can I do that ?
    Thanks.

    Hi Cris,
    Go to SPRO>MM>PUR>Info Record>Define Price History> Here with your Purchasing organization if the tick is active that
    Specifies that the order price history (PO price history) is to be updated with the effective price.
    Normally, the order price history is updated with the net price.
    Procedure
    Set this indicator if you want the order price history to be updated with the effective price.
    Thanks
    Diwakar

  • Copy of conditions from PO, even if in price adoption - do not copy is ther

    Hi all,
    Even if i have the settings like in default value for buyers - in price adoption tab - copy of conditions from previous PO - do  not copy is there. then also previous PO value is copying , every time when i create a PO.. because of this I am really confused to find out the solution for this.. kindly let me know the possible solution for this..
    regards,
    Archana

    No here no info record requirement, PO should be created manually each and every time since the price changes each time that has to be entered manually only while creating PO..
    Since we are creating PO through BAPI.. it is always copying old po price.. and hence it is giving problem like whatever price manitained in excel sheet is not copying into the PO
    kindly let me know possible solution to resolve this
    regards,
    Archana

  • Copy Price from Purchase Order to Invoice

    HI,
    I have a urgent issue. I have created a STO purchase order and i have done delivery. The problem is i want to call the same value in the invoice.
    Please let me know is there any way out.
    Regards,
    AKASH

    Hello saurabh,
    thanks for your reply, as you said, I can create the same PP in SD and determine in IV, but the issue which I am facing is I am capturing mkt mvg price from material master in my PO.  Once the PO is raised, IV can be done after some time, whereing there is a huge chance, that mvg avg price from MM can be changed.  Now if I determine a PP in billing, the price in billing doc and PO will be different.
    So, I have to have capture the value from PO to billing.....
    Any help is much appreciated.
    Thanks in advance
    AKASH

  • Not to copy  Price from PR to PO for text based purchases

    Hello Experts,
    We have a scenario, in which the PO will be created using a load file (LSMW - BAPI) with reference to a Purchase Requisition. All are text based purchases and no material master exists. I want the price from the load file to be taken as priority but no the requisition price.
    I tried even by switching off the 'adopt price' option in the  Functional Authorization for buyers and assigned to my user. Still the price from PR is always taken as priority but not from the load file.
    Request for inputs to control this  please
    Thank you in advance
    Chiru

    Hi Chiru,
    You tell your abaper to write a logic to overwrite the adopted PR price  with the price of the load file. This will fullfill your requirement.
    Chris
    Edited by: CHRIS MM on Dec 23, 2010 2:29 PM

  • Transfer cost price from free of charge item to main item but not for VPRS

    Hi,
    I want to transfer cost price from free of charge item to main item but not for VPRS but for a new Z contidion type.
    For CO-PA proposes. Can you help me with This?
    Catarina Alves

    hi,
    transfer of cost from sub item to main item is configured in the delivery to billing copy control for the main item. go to VTFL  > select the required item cateogry > here at the bottom you will find a check box Cummulate cost. Tick it.
    Not really what you meant COPA purposes. But the pricing conditions are mapped to COPA value fields at KE4I transaction.
    regards
    sadhu kishore

  • Purchase Order is not Picking Price from Info Record.

    Dear All,
                                                                             User had created a Shopping cart in and an automatic Purchase Order is created which is picking the material price from Purchase Requisition but not from Created Inforecord. As checked in P.R at item level it is found that in VALUATION tab there is a field named as " P.O PRICE " , here defalt t selected as " 1 A Gross Price "., Can u please help that from where this field is automatically selected as Gross Price in Purchase requisition.
    Thanx n Rgds,
    sap11

    This is the config done in the OMET transaction where you will see the Adopt PO price field is checked and now this funcitonal authorization code e.g. 01 assgined to user profile in SU3 transaction agianst the parameter EFB.
    if this is active than it will not take price from info record but it will copy from PR.
    to avoid this kind of issue -
    Remove the EFB value in SU3 for particular user or if user needs to have the EFB profile for some other requirements than go to OMET and remove Adopt po price indicator from that profile which is assigned to user

  • PO not picking up the Price from Info Record ???

    Hi,
    Pricing Procedure and the Schema Grp is defined in Schema Determination in SPRO.
    Schema Grp has been assigned in the Vendor Master.
    Price has been maintained in the PB00 condition type in the Condition Supplements screen, but shows 'Zero' in the 'Purchasing Org. Data 1' screen of Info Record.
    However, while creating PO the system does not pick up the Price from the Info Record and both the Condition Types PB00 and PBXX appears and display the Amount as 0.00 ? Also the system does not take the value entered in the 'Net Price' field and the Price can only be entered manually in the Conditon Type in the Conditions Tab ?
    Can anyone help in resolving this issue ?
    Lucky.

    Hi Lucky
    1.Routine 6
    This is an example of a pricing requirement.  This requirement is met if the condition exclusion indicator is not equal to 'X'.  <b>This requirement can be assigned to a condition type in the pricing procedure to ensure that it is not accessed when a condition record with exclusion indicator 'X' has already been found</b>.  Condition exclusion is a general tool that can be used to exclude conditions from pricing based on previous conditions that have been found in the pricing procedure.  This requirement is intended for use in MM pricing versus SD pricing.  For SD pricing, a variation of requirement '2' should be used which would also check to see if the item category is relevant for pricing
    2. You have define all your supplementory condition in supplementory pricing procedure and you have to assign this supplementory procedure to your Condition type PB00.Then all these conditions will be displayed at item level for selection in drop down.
    Since the supplementory conditions are dependent on PB00, you have assign to the PB00.
    If you maintain the values for these conditions in info record, these values will be copied from info to PO.
    Regards
    Ramakrishna

  • Bring to the PR the price from Info-Record

    Hello experts,
    If I am working with info-records that are created automatically when doing the PO with the price of last PO, I would like to bring this price to the PR when doing for the same material and vendor. Is it possible? I only get the price from the info-record in the PO but not in the PR.
    Thanks in advance,
    Best regards,

    Hi,
    PLease read the SAP note 311174:
    Symptom
    You create a purchase requisition and go onto the initial screen of
    source determination. Although the system determines a source of supply,
    no data is copied from the source of supply. In particular the price is
    not used from the outline agreement or the info record. For purchase
    requisitions with account assignment the account assignment is also not
    copied from the outline agreement.
    The same applies for Transaction 'Create Purchase order' (ME25) with
    unknown vendor.
    Cause and prerequisites
    The transfer of data from the source of supply is not planned and only
    makes sense in some cases. In particular when you change the source of
    supply later the copied data must be changed again. However, at this
    time it is no longer clear whether the data was copied from the source
    of supply or was entered manually.
    Solution
    Currently and in the near future there will be no solution.
    Best Regards,
    Arminda Jack

  • Is there any standard report available to show cost prices from infor recor

    Hi
    Can any one tell help me is there any possiblility to make a report showing cost prices from info-records on purchasing org. level incl. prices scales?
    We need a report showing the following:
    Supplier no.
    Supplier name
    Material no.
    Material name
    Price
    Price scales (if registred in the info-record)
    Purchase organization to be showed
    Selection of the report can be done with the following entries:
    Supplier no.
    Sourcing (material group)
    Purchase organization
    Please be informed that the above mentioned information and selections are just my first and best guess.
    We have tried to use transaction MC$4 - however, this one is only showing the purchased quantity in the period selected.
    There must be a standard transaction in SAP R/3, which can show us the prices from info-records.
    Best Regards,
    Sairam.

    Hi!
    ME1P is the best report for you although it lacked the supplier name, material name and price scales. You can ask your ABAPER to create your desired report by copying the program running ME1P and then creating a Z* report which contains all your desired fields.
    Hope this helps! =)

  • Copying the VPRS from PGI material document to Billing

    Hi ,
    We have a requirement to copy the cost price VPRS from PGI - Accounting document to the Billing
    I explored some configuration in copy controls by putting the Price source as E which will copy the cost price from the PGI to the Billing
    But i found that it will do only when the Material price control in the Material master is V and not for S ( not sure there may be other settings also)
    The scenario is , Order will be created ( lets say) in May and the dellivery is done in June
    Mean while at the end of May the cost price will change only for the sales order in MR21 as Special sales order ( only for the order) and PGI is done in subsequent month
    In the next month the price will effect the PGI and when i do the billing, the cost price is fetching from the Sales document and not from the PGI
    Hope i am clear in explaining the requirement
    Please let me know if there is any standard configuration available
    regards,
    santosh

    Hi,
    Hi in copy control delivery to billing at item level
    Maintain PRICING TYPE - N (Transfer pricing components unchanged, NEW COST)
    kapil

  • Cost center PR price from contract

    Hi
    my requirement is to get  Purchasing Request ((which is cost center PR acct cat:K)) price, from a relevant valid contract..
    even when i assign the contract as a source of supply system doesnt take the PR price from contract?
    Any suggestions
    Thx in advance

    Hi ,
    Please take care of the SAp note 311174
    Cause and prerequisites
    The transfer of data from the source of supply is not planned and only
    makes sense in some cases. In particular when you change the source of
    supply later the copied data must be changed again. However, at this
    time it is no longer clear whether the data was copied from the source
    of supply or was entered manually.
    For your requirement, I would like to suggest you to use the enhancement
    below to implement your own logic in purchase requisition:
    LMEKO002
    Enhance communication structure KOMP for price determination
    MEREQ001
    Customer's own data in purchase requisitions
    BR
    Nadia Orlandi

  • Price from Requisition to PO

    Hi,
    when I create a Purchase Order Requistion (POR) I have to indicate a price. Is it possible to copy this price automatically into the Purcahse Order (PO) when I create the PO? You, know, whit ME21N I take the POR and I move it into the basket. Material code, cost centre, description and so on will be copied from the POR into the PO but not the price (I think because the price you indicate in the POR is an estimated price). Is there something in Customizing where I can set up that the price in POR is copied in PO?
    Thanks.
    FT

    Hi Fabio,
    What Antony mentioned about consumables is true.
    However, for material purchases there is another way to do it. Please follow the steps below.
    1) SPRO --> MM --> Purchasing --> Authorization Management --> Define Function Authorizations for Buyers
    2) Maintain 01 function authorization or copy it to create a new one
    3) Under General Parameters, Check Adopt PO Price.
    4) If you would like PO to have reference objects as mandatory, uncheck W/o Reference Optional. This means that when you are creating a purchase Order, you must refer it to another document, for example PR.
    5) Go to each buyers ID by SU01 --> Parameter. Enter EFB and enter the 2 codes that you defined in Step 2.
    6) Log out then log back in
    Now with that ID, when you create PR, under valuation tab, you have a new drop down button asking whether you would like to adopt the price in PO.
    Hope this helps.

  • Purchase Order - Retrieve net price from Central contract (SRM or ECC)

    Hi,
    I'm doing a test by creating a PO referencing a Central Contract, which is made in SRM. When creating the PO, at this moment the net prices is retrieved from SRM.
    Question: Is it possible to retrieve the net price from the copied contract which is in the Local ECC system?
    (Customizing in ECC) SPRO -->Integration with Other mySAP.com Components >Supplier Relationship Management>Central Contract-->Price Calculation
    The value what is at this moment:   SRM Pricing Immediate
    Should the value be: 1 SRM Pricing Immediately Only for Hierarchy Contract Item
    Regards,
    Alexander

    Check for existing screen layout name from below settings -
    Goto SPRO -> IMG Settings -> Materials Management -> Purchasing -> Purchase Order -> Define Document Types
    Check for Field selection key against the PO Type.
    Then goto below setting -
    SPRO -> IMG Settings -> Materials Management -> Purchasing -> Purchase Order -> Define screen layout at document level
    Select the screen layout / Field selection key in this setting and modify the field selection group Quantity and price. Make Price and price unit as display only as per your requirement.

Maybe you are looking for