Regardig purchase order data

Hi all,
              I have a requirement to modify the purchase order data in the ekko table and other underlying tables. I want to modify the field Invoicing Party(LIFRE in EKKO).
            is there any BAPI or standard function module to do this.
Regards,
Ravi G

in BAPI: BAPI_PO_CHANGE
BAPIMEPOHEADER-PO_NUMBER = <PO Number>
BAPIMEPOHEADER-DIFF_INV = <data>
BAPIMEPOHEADERX-PO_NUMBER = <PO Number>
BAPIMEPOHEADERX-DIFF_INV = 'X'.
Finally DB Commit by BAPI: BAPI_TRANSACTION_COMMIT.
Message was edited by:
        Murugesh Arcot

Similar Messages

  • Doubt in uploading purchase order data using BDC

    Hi friends,
    how to upload purchase order data.
    1) In both BDC and BAPI which one is preferable?
    2) for suppose if it is through BDC,  how to use? what are the transactions that we can use(SHDB, ME21N,ME21)?
    3) To execute the job in background, is it possible for both call transaction and session method.
    Thanks in advance
    Sreenivas k

    It really depends on the number of records you have. Still for a set of 5,000 records my answer to your questions will be:
    1) In both BDC and BAPI which one is preferable?  - <b>Go with BDC</b>
    2) for suppose if it is through BDC, how to use? what are the transactions that we can use(SHDB, ME21N,ME21)? - <b>Yes, its SHDB for recording, SE38 for abap program and ME21 for PO. Avoid SAP Enjoy transactions for recording as you may end up having problems wiht it.</b>
    3) To execute the job in background, is it possible for both call transaction and session method. - <b>If you use call transaction method then you have to schedule the job to run in background or simply run it through F9 instead of F8. In case of session method you can chose to process the session in background. However  I would suggest you go with BDC Session method for this.</b>
    - Guru
    Reward points for helpful answers

  • HOW to retrieve PURCHASE ORDER DATA from archieve file and print a report

    Dear all
    1) I have retrieve purchase order data from archived files.
    2)  print purchase order data and created pdf file.
    VIJ.............
    Moderator message - Please ask a specific question - post locked
    Edited by: Rob Burbank on Apr 28, 2009 12:00 PM

    Dear all
    1) I have retrieve purchase order data from archived files.
    2)  print purchase order data and created pdf file.
    VIJ.............
    Moderator message - Please ask a specific question - post locked
    Edited by: Rob Burbank on Apr 28, 2009 12:00 PM

  • Additional field in the sales order header Purchase Order Data tab

    Hi,
    I want to add an additional field in the below screen:
    VAO1 > Go to > Header > Purchase Order Data >
    Under Sold to party section i want to add an additional field.
    Is this possible through configuration?
    Please let me know.
    Thanks in advance
    Edited by: Kase on Dec 20, 2011 7:06 AM

    Hi Kase,
    Check this below link it might be helpful for your issue
    sales order - Additional data B
    new fields in sales order
    Regards
    Pradeep

  • Updating Purchase Order data in VBKD table

    Hello,
    We are trying to update Purchase order data in VBKD table for Sales Order at Item level. When sales Order is created, VBKD has a default record with VBELN = 'sales order number' and Item = '00000'. We want to update BSTKD_E field with Purchase order number for VBELN= 'sales order number' and Item = '00010'.
    We wrote our logic in USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_MOVE_FIELDS_TO_VBKD in MV50AFZZ to append new entries in XVBKD with VBELN= 'sales order number' and Item = '00010'. But in this case Sales order is not created with UPDATE TERMINATED message. We are not sure if we can append a new record in XVBKD.
            wa_xvbkd = xvbkd.
            wa_xvbkd-posnr = wa_xvbap-posnr.  "00010
            wa_xvbkd-bstkd_e = vbkd-bstkd.   "PO no
            wa_xvbkd-posex_e = wa_xvbap-posnr. "Purch. order item no
            wa_xvbkd-updkz = C_I.
            APPEND wa_xvbkd TO xvbkd.
            CLEAR wa_xvbkd.
    Please advice the suitable way to have a Purchase Order item level data in Sales Order.
    Thanks
    Rohit

    Hi,
    You can try these FM to update info record.
    ME_DB_UPDATE_INFORECORDS
    ME_UPDATE_INFORECORD
    ME_UPDATE_INFORECORD_COND
    ME_UPDATE_INFORECORD_PD
    Check the sample code on BAPI_PO_CHANGE
    http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm
    Regards,
    Shiva Kumar

  • Purchase Order date vs Invoice date

    Hi to all.
    In our system we run t-code me21n to create purchase order and later on we run t-code MIRO, MIR7 etc. to post incoming invoice. My question is how do I prevent system from letting end users enter invoice date that has earlier date than purchase order? Let's say purchase order was created on December 3-rd, but end users enter as an "invoice date" in the t-code MIRO December 2-nd and system lets it go through, not even warning message. What I want to accomplish is to create "E" message and not let end-users enter invoice date earlier than purchase order date.
    Help is sincerely appreciated.
    Regards,
    Nazim
    Edited by: Nazim Gasimzade on Dec 4, 2008 3:32 PM
    Edited by: Nazim Gasimzade on Dec 4, 2008 3:35 PM

    Thanks for your reply.
    Our R3 system is designed for government funded organizations. The issue is that government funded organizations are not supposed to have PO entered in the system until they are provided with funds which are quite often get delayed because of all the paper work that has to take place. Suppliers know about it and quite often they supply goods to budget organizations even before PO are in place. Once the budget organization receives the funds that they can spend, they enter PO details and invoice details but it turns out that invoice date is earlier than PO date. At very least we would like to have our system give a "W" message.
    Regards,
    Nazim

  • SAP renamed 'Purchase Order Data' tabs but it is not changed in menu bar

    In VA01/VA02/VA03  transactions,  SAP has renamed the "Purchase  Order Data" tabs at header and item level to "Order Data" but the Goto > Header   and    Goto > Item    menu paths still have "Purchase Order Data" as the name.  This is inconsistent.  Is there an SAP fix for it?

    Try wit this report RSLANG20
    Best regards,
    Mirek

  • Purchase order date posting problems

    Hi all,
    I have done an interface to post purchase/ sales order into sap. ive populated fields correctly into the segments and executed the fm. its posting all the data except the purchase order date in the header. i dont know why its doing dat. the field is populated into the segments and i can see it. but its not getting reflected in the order created .. can somebody help me with this. ive used date segment e1edk03 qualifier 22 field is iddat.
    thanks,
    kishore.

    Hi,
    Im using orders 05.. FM idoc_input_orders
    Create Document header date segment - E1EDK03
    *. I.e. set header level required delivery date
      e1edk03-iddat = c_edi_iddat_002.
      e1edk03-datum = date_required.  "Set the date required
      PERFORM add_segment USING c_segnam_e1edk03 e1edk03.
    Header Level Customer purchase order date
      e1edk03-iddat = c_edi_iddat_022.  " default value 22.
      e1edk03-datum = cust_po_date.
      PERFORM add_segment USING c_segnam_e1edk03 e1edk03.
    Header Level Pricing Date
      e1edk03-iddat = c_edi_iddat_023.
      e1edk03-datum = pricing_date.
      PERFORM add_segment USING c_segnam_e1edk03 e1edk03.
    Wat i could observe from fm idoc_input_orders fm , fm is not posting in the purchase order date for identifier 22.. u can have a look at it if u want.. include LVEDAF5W
    is there any way to post this date plz
    thanks

  • Regarding LSMW -- Purchase Order Data

    Hi Friends,
    I have one requirement i.e purchase order data need to be upload through LSMW via Direct input method.
    =============
    pls find the belwo flat file structure
    old_PO           material            price            qty
    P123              M111                  10               1
    P123              M222                  10                1
    P123              M333                  20               1
    ===============
    Normally if I upload same data into SAP, it will create three purchase orders with different SAP numbers.
    I want if old_PO number is matches with the previous record all the materials should be in single transaction and single Purchase order should be created.
    Can any body help how to resolve this issue. This is very urgent.
    pls explain in detail. I am using LSMW. I don't have no other option.
    =====
    please don't post any junk amswers.
    =====
    Thanks in advance

    Hi Raghunath,
    Don't think that this reply is junk one.I cannot explain you in detail but try like this.
    In the fifth step of LSMW,You can find Global data definitions & Processing times.
    In any of these you can just fetch the values from database with reference to flat file data like..
    select PO from ...where PO = source-PO.
    if sy-subrc EQ 0.
    skip_transaction. Using this function you can skip this record
    endif.
    Award points if useful.
    Thanks,
    Ravee..

  • Purchase order data base

    I need help.
    I have a database that contains all purchase orders
    I'd like to be able to create a report that shows only the most recent order for each supplier
    ordered by date.  Sounds simple but I have been struggling with this for awhile.
    Thanks

    Create a group on the supplier name
    create a group on the purchase order date - ascending order
    place the output fields you want to see on the report in the footer section of the purchase order date.
    Suppress the purchase order date header, the detail section and the supplier name footer.
    You may need to do a 'top N' group sort to get it to sort by date, as the instructions I'm giving would put it in Supplier order.
    Only the last purchase order data will display on the report.  If you want to include Supplier specific information, such as address, phone or customer number you can place those fields in the Supplier group header.
    This report will pull in all the data but only display the last record for each supplier's last purchase order (assuming they only have one purchase order in a day...if you have more than one in a day you may want to include a purchase order number group and move all the data into that footer).
    If you're going to summarize, say, try to get 'total dollars for month', you'll need to use a 'running total' and specify the dates to be used in the Evaluate section formula.

  • How to upload Purchase Order Data thru LSMW

    Hi All,
    I need to upload Purchase order data thru LSMW. LSMW Provides standard object method which does not suit for split valuation. But in the client place split valuation is maintained. Is there any other of option of uploading the data.
    Regards,
    Srivatsan

    Dear Srivatsan
    For Upload Purchase order Data through LSMW
    Business object BUS2012 - Purchase Order
    Basic type PORDCR04
    Message type PORDCR
    Method CREATEFROMDATA
    With regards
    B.Ravindranath

  • Standard Purchase Order Data Source question

    Hi,
    I have read the documentation discussing how to create data definitions. They all say make sure that the code is the short name of the concurrent request. However I noticed when I look at the Standard Purchase Order Data Source's code it has is PO_STANDARD_PO which seems to match the XML Schema PO_STANDARD_PO.xsd how is the concurrent request initiated at runtime?
    Thanks,
    Mark

    If you go to the XML administrator screen and lookup the definition of the XML page and what program it is associated to as a start. From memory, i believe that the Definition of the Print PO concurrent job is where the output is required in order for the PO to be printed in the XML format.

  • Purchase Order data from archive

    Friends,
    May i ask your expert advise on the best possible and efficient way to extract the archived Purchase Orders data, basically key figures are needed for audit purpose of year 2002 to 2006, i tried using SARA and SARI, but they are really killing huge time and also the system memory.
    Thanks in advance for all your valuable advises.
    Best Regards,
    Ravi

    Hi Ravi,
    If you are talking about the data from a few purchase orders, then displaying using ME23n will be the easiest.
    If you are talking about some key fields from a lot of POs then i feel using infostructures will be the easiest (although it is slow if you are talking of huge volumes of data; but compared to sequential access, this is better).
    If there is a standard infostucture already available which has the fields which you are looking for, then activate and build the info structure. Else, you may have to create a new infostructure which has the fields you require; again for this you can make use of a standard available field catalog or create one on your own. When filling the infostructures, you may have to fill for few archive sessions / files at a time so that it wont take long time and memory.
    There is another way which is possible. If you have BI system in place and if it contains the data you are looking for, then you can extract the data from BI (if it suffices your audit requirements).
    Hope this helps,
    Naveen

  • Tables for sales & purchase order data relating to delivery

    hi all,
    i am writing a report to download all the delivery data after the delivery is created.i have to download the sales order data & purchase order data relating to this delivery also.
    i am using likp & lips table for delivery.which tables i
    should use to get the sales order data & PO data for the same delivery (likp-vbeln). i.e i need the sales & purchase order related tables which has link with delivery tables like likp & lips etc.
    plz advice me. it is very urgent.
    any idea is highly appreaciated.
    Regards
    pabitra

    in Addition to NM ,
    in case of STO there is no Sales Order , Process will be like this
    PO-->Delivery->PGI--->Billing  then u have to
    link
    *getting the History data of the PO
            select ebeln
                   ebelp
                   belnr
                   menge
                   from ekbe
                   into corresponding fields of table  w_ekbe
                   where ebeln eq w_lips-vgbel
                     and ebelp eq w_lips-vgpos
                     and bewtp eq 'L'.
    Regards
    Prabhu

  • Purchase order data for ATP category BH and BI not retrieved

    Hi Experts,
    I have a requirement where I need to extract purchase orders data from the bapi BAPI_POSRVAPS_GETLIST3. I am passing the locations, products and ATP categories AG,EF,BF,BI and BH. However, my bapi works correctly for AG,EF and BF, but it does not retrieve the data for BI and BH categories.
    I have debugged the bapi and found that it is unable to retrieve data from the live cache.
    Can anybody please help me out and let me know the exact reason for this issue? I have checked the return table of the bapi and it does not give any error message as well.
    Looking forward to your reply.
    Thanks in advance.
    --Warm Regards,
    Prajakta K.

    Hi,
    BI (stock transport order) and BH (PreqRel) are demand elements for which there exist corresponding receipt element as BF (Purchase order) and AG (Preq) respectively. BAPI will give data for these categories.Thus you can get data for BI and BH from corresponding BF and AG.
    Similarly EF (Dep:Preq) is receipt element and you will not get data for corresponding demand element which is available in the system as EG (Dep:ConRel).
    I think BAPI is working fine.
    Regards,
    ~Vaibhav

Maybe you are looking for

  • Lumia 520 freezing on 3g

    Hello, I am using a Lumia 520,when I select 3g as the highest speed connection the phone freeze, I am now obliged only to use 2g,and 2g is very slow.What is the problem? Can anyone help me to solve this issue. Thanks

  • Re: Satellite L500-126 dedicated VRAM

    I bought Satellite L500-126 last week, I was told that the dedicated VRAM of this laptop is 512 MB in the shop, but when I check the VRAM at home, it shows 1G dedicated VRAM. My old laptop is Satellite M70-147, I remember my old laptop uses a technol

  • Best way to store data

    Hi, i need to read some data in my application. Now this data are stored in a mysql db and are about 6000 rows. In another application that i've developed I used the sqlcipher library but I want to know if there is another way to storing data. This d

  • PR account assignment category.

    HI Gurus. Use of Account Assignment Category in Purchase Requisition. right now we are not using Account assignment category. if we will use the account assignment category , then what will be the use of that. our objective is to just it for Internal

  • How do I buy photoshop elements download for someone else?

    if I buy it with my adobe account which has my email, the download link will be sent to me - can I forward it to someone else?  This may have an obvious answer but I'm non-tech