BAPI_PO_CREATE1 info record

Hello,
I want to create a PO using a distinct net price (item-net_price)from info record, but the bapi only takes this net_price when the info record is empty. In the other case, puts the info record net_price.
The flag no_price_from_po is filled with 'X', and the tables item and itemx are correctly filled
    item-po_item     = 01.
    item-material    = '000120'.
    item-po_unit     = 'BLS'.
    item-po_price    = '2'.
    item-orderpr_un  = 'BLS'.
    item-net_price   = '50.000'.
How can i do that?

According to <a href="https://websmp202.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012006153200001905652002">Note 571860</a>
<u>The following restrictions apply to field PO_PRICE</u>:
If you assign conditions via the BAPI interface, these are always transferred. This is carried out independently of the value that you assign in field PO_PRICE.
If you add a new item to a purchase order with BAPI_PO_CHANGE, it does not suffice to fill field POITEM-NET_PRICE on item level. The corresponding currency must be specified explicitly on header level.
You can only use field PO_PRICE during the creation of a purchase order item. If you want to change the price of an already existing item, you can only do this via the conditions.
<b>If you fill field POITEM-PO_PRICE, you must enter an 'X' in POITEMX-PO_PRICE so that the value is transferred.</b>
Could the solution be to enter 'X' in POITEM<b>X</b>-PO_PRICE?
In case you haven't already seen these: <a href="https://websmp202.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012006153200002014472002">Note 582221</a> contains FAQ's on BAPIs for purchase orders
and <a href="https://websmp202.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012006153200001993642002">Note 580225</a> contains a full description of Purchasing BAPI's Conditions and Pricing.
Best Regards,
James G.

Similar Messages

  • Creation of PO using BAPI_PO_CREATE1 without info record

    Hi,
    I am making a  progrma to create the PO using BAPI_PO_CREATE1 but for the materials for which info record is create din the system it is creating the PO properly but for the materials for which info record is no there even I am giving the Price and tax cod ein th eBAPI item table system is not creating th PO,  so is info record mandatory for this.
    regards,
    zafar

    Hi,
    I have use the BAPI as per given note ref.  I am taking the PO price from Info record for this I am not giving the item price in the BAPI items,  but I want that  the header discount should from the user input,  but when I ma giving the header discount codnition  system is giving error   PO header fault,   but along with this  If i given the items value to in the net price then it is creating the PO,  so is it possible to get the items value from the info record and header codnition discount value from user input, we dont want to maintain discount at info record.
    regards,
    zafar

  • Info record price  BAPI_PO_CREATE1

    Hello all,
    I am creating new POs using the BAPI 'BAPI_PO_CREATE1'.
    My requirement is to update the price from info record.
    1. Is it possible ?
    2. If yes, please let me know with details.
    Thanks is adv.
    Regards,
    Amarjit

    Hello,
    If the InfoRecord exists, and the price is not passed in the BAPI, then the BAPI would consider / pickup the price from Inforecord.
    Best Regards, Murugesh AS

  • BAPI_PO_CREATE1 creates Info Record

    Hello,
    I am creating purchase orders using function BAPI_PO_CREATE1.
    But the function creates an Inforecord for the ordered material (if no inforecord for the material exists then a new is created).
    How to avoid it? I don't want any new info records, I just need to create a normal purchase order.
    In POITEM table I set the following parameter:
            poitem-INFO_UPD = ' '.
            poitemx-INFO_UPD = 'X'.
    but it doesn't work!
    Please, help!
    Thanks
    Pawel

    Hi
    see below code
    *DATA DECLARATION
    CONSTANTS : C_X VALUE 'X'.
    *Structures to hold PO header data
    DATA : HEADER LIKE  BAPIMEPOHEADER   ,
           HEADERX LIKE  BAPIMEPOHEADERX .
    *Internal Tables to hold PO ITEM DATA
    DATA : ITEM   LIKE BAPIMEPOITEM  OCCURS 0 WITH HEADER LINE,
           ITEMX  LIKE BAPIMEPOITEMX OCCURS 0 WITH HEADER LINE,
    *Internal table to hold messages from BAPI call
           RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    data : w_header(40) value 'PO Header'.
    data : ws_langu like sy-langu.
    *text-001 = 'PO Header' - define as text element
    selection-screen begin of block b1 with frame title text-001.
    parameters : company like header-comp_code  default '2700'      ,
                 doctyp  like HEADER-DOC_TYPE   default 'NB'        ,
                 cdate   like HEADER-CREAT_DATE default sy-datum    ,
                 vendor  like HEADER-VENDOR     default '0010000023',
                 pur_org like HEADER-PURCH_ORG  default '2700'      ,
                 pur_grp like HEADER-PUR_GROUP  default '001'       .
    selection-screen end of block b1.
    selection-screen begin of block b2 with frame title text-002.
    parameters : item_num like ITEM-PO_ITEM  default '00001',
                 material like ITEM-MATERIAL default 'CRANE'   ,
                 plant    like ITEM-PLANT    default '2700' ,
                 quantity like ITEM-QUANTITY default 100.
    selection-screen end of block b2.
    START-OF-SELECTION.
    *DATA POPULATION
    ws_langu = sy-langu.   "Language variable
    *POPULATE HEADER DATA FOR PO
    HEADER-COMP_CODE  = company    .
    HEADER-DOC_TYPE   = doctyp     .
    HEADER-CREAT_DATE = cdate      .
    HEADER-VENDOR     = vendor     .
    HEADER-LANGU      = ws_langu   .
    HEADER-PURCH_ORG  = pur_org    .
    HEADER-PUR_GROUP  = pur_grp    .
    *POPULATE HEADER FLAG.
    HEADERX-comp_code  = c_x.
    HEADERX-doc_type   = c_x.
    HEADERX-creat_date = c_x.
    HEADERX-vendor     = c_x.
    HEADERX-langu      = c_x.
    HEADERX-purch_org  = c_x.
    HEADERX-pur_group  = c_x.
    HEADERX-doc_date   = c_x.
    *POPULATE ITEM DATA.
    ITEM-PO_ITEM  = item_num.
    ITEM-MATERIAL = material.
    ITEM-PLANT    = plant.
    ITEM-QUANTITY = quantity.
    APPEND ITEM.
    *POPULATE ITEM FLAG TABLE
    ITEMX-PO_ITEM    = item_num.
    ITEMX-MATERIAL   = C_X.
    ITEMX-PLANT      = C_X .
    ITEMX-STGE_LOC   = C_X .
    ITEMX-QUANTITY   = C_X .
    ITEMX-TAX_CODE   = C_X .
    ITEMX-ITEM_CAT   = C_X .
    ITEMX-ACCTASSCAT = C_X .
    APPEND ITEMX.
    *BAPI CALL
    CALL FUNCTION 'BAPI_PO_CREATE1'
      EXPORTING
        POHEADER                     = HEADER
        POHEADERX                    = HEADERX
      POADDRVENDOR                 =
      TESTRUN                      =
    IMPORTING
      EXPPURCHASEORDER             =
      EXPHEADER                    =
      EXPPOEXPIMPHEADER            =
    TABLES
       RETURN                       = RETURN
       POITEM                       = ITEM
       POITEMX                      = ITEMX.
    *Confirm the document creation by calling database COMMIT
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'
    IMPORTING
      RETURN        =
    end-of-selection.
    *Output the messages returned from BAPI call
    LOOP AT RETURN.
    WRITE / RETURN-MESSAGE.
    ENDLOOP.

  • Free goods not reflecting in PO from Info Record

    Hi,
    My requirement is , when ever i order 100 qty from a vendor 10 qty should be delivered free of cost.
    I am trying to maintain Info record for the same..
    Now when i created PO for the same...I entered 100 qty..it is not reflecting 10 qty in another line in PO..
    Where i am wrong?
    Uts

    HI,
    Have maintained the values in
    *Spro-Purchasing-Discount in kind-Define & assign discount in kind schema-Maintain free goods schema*
    It will be available in standard SAP if not do the following configuration
    Here
    Usage -N
    Application -M
    create procedure NR0001
    In control data
    step-10
    Cond Type-NR00
    Then save.
    Next
    Define free good schema
    Here assign ur schema grp of vendor
    Then assign the procedure created previously (i-e) NR001 & THEN SAVE.
    The above configuration is very important for the free goods scenario to work.
    Then go to MM and in purchasing view and give the value 2.
    Then in MBN1 create the condition record for the IR -0.
    Then create the PO it will work definetly.
    9884057038
    murugan
    Edited by: Murugan mgl on Jun 17, 2009 6:58 AM
    Edited by: Murugan mgl on Jun 17, 2009 6:59 AM

  • Customer material info records are not  getting displayed in Sales order

    Hi ,
    We are upgrading our client sap system  from ECC 5.0 to ECC 6.0 .We are now in the testing phase .An  issue came up  regarding customer material info records .
    When we are creating a sales order using VA01, after entering Material number and order quantity for an item  if we press the ordering party tab(before saving the sales order) the customer material info records (value in cutomer material number) are gettting displayed.But if we save the sales order we are not able to  see the customer material info records.
    kindly guide me in this issue .
    Thanks in advance .
    Nikhil

    hi nikhil,
                check the tick box in vov8 "read info record",and when you create sales order(va01),dont enter the material number enter the "customer material number" and see whether you are getting the material number.
    and also go to (va02) and check whether you are getting the CMIR details.
    pls explain me the problem in detail for my better understanding
    regards
    senya

  • Not allow order unit in INFO record if it is not in material master

    Hello there!
    In standar SAP any user can introduce any order unit in the info record, even if it is not maintained in the material master alternative units of meassure. We need to block this...
    The conversion factor is not a problem for us, as we can set it only for display in the customizing, so that the systems brings it automatically from material master
    The idea is to allow as order units only those units of meassure that exist in material master.
    We have been checking if it is possible, but no success...
    Any idea on how to get it? Error messages, user exists, or so on...
    Thanks!!
    César

    Hey vmendoza7785,
    Congratulations on getting your new iPhone. I'm sure it is frustrating not being able to do everything you want with it. Let's see if we can get your backup started.
    If you are having an issue with being unable to make a backup of your iPhone with iTunes, I would suggest that you troubleshoot using the steps in this article - 
    If you can't back up or restore your iPhone, iPad, or iPod using iTunes - Apple Support
    Thanks for using Apple Support Communities.
    Be well,
    Brett L 

  • Purchase info records report

    Hi All,
    Is there any report of the purcashe info records entered for different plants.
    I need to see the material prices maintained with their validity periods
    SAPXPT

    Hi
    chek this table it may useful
    EINA Purchasing Info Record- General Data
    EINE Purchasing Info Record- Purchasing Organization Data
    Regards
    Kailas ugale

  • Purchase info record does not exists in purchase organization 1000

    Hi experts,
              I have created a new enterprise structure in SAP. when i am creating a PO its picking the correct info record, but when i am doing GR, its giving the error as 'purchase info record does not exists in purchase organization 1000". I have maintained everything perfect. the only thing i have changed is I have moved the open and close period from 11-2002 to 12-2008 in MMPV.
             Please give me some suggestions, where it can go wrong.
    Thanks & Regards,
    Poorna.

    Hi Guys,
              Thanks for all yours responses, Actually what deepak said was right, but in my IDES system i am not able to create new entries in assign plant to std purchase org. I found the database view for that, V_001W_E its for table T001W. So i looked into that table i found that std purchase org was given as 1000. i made direct entries in that table, i thought the reason for this may be due to , that i copied plant from 1000. After making entries , i did not got the error message that was i am previously getting.
    Thanks & Regards,
    Ravi.

  • Report for Materials expired with price on Purchase Info Record

    Hi Experts,
    Can anyone of you advice a report in SAP that can identify the materials where the price has expired on Purchase Info Record.
    Thanks in advance.
    Regards,
    Nagarjun

    HI,
    ME1P will be used to monitor the changes in terms of pricing conditions you made to your info record via Transaction MEKP.
    In case of SA, you will have to build up your simple query by joining two tables A016 and KONP.
    Regards
    KK

  • Report for displaying info record scale prices

    Hi all,
    Can any one provide me the sample code for a report  displaying info record scale prices.
    Thanks,
    Suresh

    Check t.code MEKP.

  • How do I get ALL the info records for a materials plants using an SAP FM?

    I need to get all of the info records from the EINE table for a material - all of its sites (plants, we are using SAP retail).
    The problem is this:  I call the FM MD_INFORECORDS_READ - here is the code for my call:
    CALL FUNCTION 'MD_INFORECORDS_READ'
              EXPORTING
                imatnr               = t_output_data-article <-- the material number
                iliefnr              = lv_eina_key < -- see below on how I get this
              importing
                eeine                =
              TABLES
                exp_eina             = it_eina
                exp_eine             = it_eine
              EXCEPTIONS
                no_eina_record_found = 2
                no_eine_record_found = 3.
    lv_eina_key is taken from this call:
    SELECT SINGLE altkn INTO lv_vendor_no
            FROM lfb1
            WHERE lifnr = lv_site (plant)
            AND bukrs = t_output_data-company_code.
    The probelm is it only returns the first record it finds for each site.  There could be multiple info records, each one based a a different Valid From date for each site.  I need either ALL of the EINE records for each site OR the most current one
    I know I am not using ALl of the parms in the FM - but are there  maybe there are other ones should I be using.
    Perhaps there is there another FM I should be using - cause I do not have the info record number to pass. 
    Thanks.
    Scott

    Never mind - the FM does work - this was bad data.

  • Multiple Consigned Info-record Based on MPN

    Hi All,
    We have an MPN Profile that has a setting of - MPN Mandatory & Info Records for MPN. This MPN Profile is assigned into an Internal Material which will be managed with our Inventory.
    We have multiple MPNs from a Single Vendor with different price and that is created separately in the Info-Record.
    When the PO is created with the MPN, it is working fine by selecting the Internal Material and I am able to do GR for that PO which comes in Stock as Internal Material.
    However, my problem is that I am not able to create a K-Type PO for those MPN, as system prompts error messages like MPN008 => "Consignment and MPN mat. only possible in case of info recs. for IM mat."
    I have gone through the SAP Help and it is also mentioned as a NOTE in there : If you are working with consignment info records, you must create the info records for your firm’s own material. Reason: in the case of goods issues involving consignment materials, the system searches for the info records for the firm’s own, inventory-managed materials and does not take MPN materials into account.
    I have a question now => Does SAP allow the Consigned Process to be practiced for MPN Materials?
    Any suggestion/idea/solution is most welcome!
    Regards,

    Hi Rahul,
    Thanks again for your reply!
    I did the way you suggested and I was able to create Consigned POs for the MPN. However, my problem is still un-resolved, as you can see the problem from the following process steps.
    1) GR for the Consigned PO is done and now the IM Material is in the Vendor Consigned Stock.
    2) I have pulled the Quantity via Tcode MB1B/411-K.
    3) When I run the MRKO (Vendor Liability Settlement), system took the Consigned Info-record of the IM Material (which is only 1).
    _Problem:_ System while doing MRKO, is not considering the MPN Inforecord, as I am not able to create Consign Info Record for MPN Materials.
    If you are not clear about my scenario, I can explain in detail.
    Regards,

  • MM(PO) :: Not purpose any info record when PO creation

    Dear Expert,
             I have the problem with PO creation. Our user required to not purpose any info record information when create PO.
    Because they want fresh blank PO. I don't know how to do to not activate any info record. Please advise.
    Thank you in advance ^^

    Hi,
    If you want to delete the info record, you can set the deletion indicator with ME15  or if you want that after PO the info record should not get updated in the PO at item level in material data de-select the check box info update.
    regards,
    zafar

  • Change Scheduling Agreement and Info Record using Bapi

    Hi Experts,
    Can anybody say how to change the Scheduling agreement and Info Record using Bapi.
    I use BAPI_AGREEMENT_MAINTAIN to change Scheduling Agreement .
    But it does not changing Scheduling lines.

    Hi,
    Please find the below link check the setting are correct or not
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02cb00a-bfb4-2c10-98aa-e33e7f64ba28?quicklink=index&overridelayout=true
    Reagrds,
    Pramod

Maybe you are looking for

  • Why is Encore producing such bad standard definition DVDs?

    Hi everyone I really need your help, Encore makes me wanna pull my hair out. We just switched from Final Cut Pro to the new Adobe CS6 Production Suite so I am fairly new to this set-up so please point out anything that I am doing wrong, any pointers,

  • XML index in bfile

    I tried to create intermedia text index on XML saved in a bfile, the creation had no problem, but if I use WITHIN clause to query the data, always return 0 rows. When I saved XML in CLOB, everything was ok. Could somebbody tell me why? How can I do t

  • Email Application Error ?!?!?!

    Help - I have my Pre set up through both Yahoo & Cox email accounts. My Cox email account doesn't seem to be sending emails (receives just fine) and that's where my problem began. I tried to reply to an email and it obviously didn't go through so I r

  • Chance to win tickets to Chelsea v Spurs on 30th A...

    Hey Everyone-well the footie fans out there anyway! I've got details of a great competition from our BT Life Blog.  Details below-or click here to read the full blog article. Want to watch Chelsea v Spurs live from the stands at Stamford Bridge on 30

  • Since installing Firefox v.18 a few weeks ago, i get blocked from making entries in all website about 50% of the time...wassup?

    Sometimes I can make entries, sometimes not; when creating a Google calendar event earlier today I was allowed to create an entry but was not allowed to change the duration of an event from the default 1 hour to 1 hour, 15 minutes. Sometimes I can't