<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: BAPI_PO_CHANGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/6624648#M1440958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to Pass the data to the table POSCHEDULE with the line item number and the new delivery date &lt;/P&gt;&lt;P&gt;and also pass the data in POSCHEDULEX with delivery date update flag to 'X'.&lt;/P&gt;&lt;P&gt;Pass the table to return paramter it will provide the log details the PO.&lt;/P&gt;&lt;P&gt;Use the BAPI 'BAPI_TRANSACTION_COMMIT' after the 'BAPI_PO_CHANGE'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jan 2010 11:09:59 GMT</pubDate>
    <dc:creator>nirajgadre</dc:creator>
    <dc:date>2010-01-28T11:09:59Z</dc:date>
    <item>
      <title>BAPI_PO_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/6624647#M1440957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, I'm just looking for a little help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with PO number &amp;amp; item number (it_po_numbers) and a work area that contains a new delivery date (wa_eindt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use BAPI_PO_CHANGE to update these PO's with this new date. Could anyone suggest how the FM should look. It currently looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at it_po_numbers into wa_po_numbers.
CALL FUNCTION 'BAPI_PO_CHANGE'
  EXPORTING
    purchaseorder                = wa_po_numbers-ebeln
*   POHEADER                     =
*   POHEADERX                    =
*   POADDRVENDOR                 =
*   TESTRUN                      =
*   MEMORY_UNCOMPLETE            =
*   MEMORY_COMPLETE              =
*   POEXPIMPHEADER               =
*   POEXPIMPHEADERX              =
*   VERSIONS                     =
*   NO_MESSAGING                 =
*   NO_MESSAGE_REQ               =
*   NO_AUTHORITY                 =
*   NO_PRICE_FROM_PO             =
* IMPORTING
*   EXPHEADER                    =
*   EXPPOEXPIMPHEADER            =
* TABLES
*   RETURN                       =
    POITEM                       = wa_po_numbers-ebelp
*   POITEMX                      =
*   POADDRDELIVERY               =
*   POSCHEDULE                   =
*   POSCHEDULEX                  =
*   POACCOUNT                    =
*   POACCOUNTPROFITSEGMENT       =
*   POACCOUNTX                   =
*   POCONDHEADER                 =
*   POCONDHEADERX                =
*   POCOND                       =
*   POCONDX                      =
*   POLIMITS                     =
*   POCONTRACTLIMITS             =
*   POSERVICES                   =
*   POSRVACCESSVALUES            =
*   POSERVICESTEXT               =
*   EXTENSIONIN                  =
*   EXTENSIONOUT                 =
*   POEXPIMPITEM                 =
*   POEXPIMPITEMX                =
*   POTEXTHEADER                 =
*   POTEXTITEM                   =
*   ALLVERSIONS                  =
*   POPARTNER                    =
*   POCOMPONENTS                 =
*   POCOMPONENTSX                =
*   POSHIPPING                   =
*   POSHIPPINGX                  =
*   POSHIPPINGEXP                =
*   POHISTORY                    =
*   POHISTORY_TOTALS             =
*   POCONFIRMATION               =
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 11:00:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/6624647#M1440957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-28T11:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/6624648#M1440958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to Pass the data to the table POSCHEDULE with the line item number and the new delivery date &lt;/P&gt;&lt;P&gt;and also pass the data in POSCHEDULEX with delivery date update flag to 'X'.&lt;/P&gt;&lt;P&gt;Pass the table to return paramter it will provide the log details the PO.&lt;/P&gt;&lt;P&gt;Use the BAPI 'BAPI_TRANSACTION_COMMIT' after the 'BAPI_PO_CHANGE'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 11:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/6624648#M1440958</guid>
      <dc:creator>nirajgadre</dc:creator>
      <dc:date>2010-01-28T11:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/6624649#M1440959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call to bapi for basic data changes should look as below - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          salesdocument    = l_salesdocument                                              "Sales order number&lt;/P&gt;&lt;P&gt;          order_header_in  = l_w_order_header_in                                      "Header Data&lt;/P&gt;&lt;P&gt;          order_header_inx = l_w_order_header_inx                                  "Indicators for fields that we want to change in header     &lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;          return           = g_t_return                                                               "This will have return messages &lt;/P&gt;&lt;P&gt;          order_item_in    = l_t_order_item_in                                               "Each line item data that we want to change &lt;/P&gt;&lt;P&gt;          order_item_inx   = l_t_order_item_inx                                            'Indicators for feilds which we want to change&lt;/P&gt;&lt;P&gt;          schedule_lines   = l_t_schedule_lines                                           "Additional data for line items&lt;/P&gt;&lt;P&gt;          schedule_linesx  = l_t_schedule_linesx                                        "Indicators for additional fields&lt;/P&gt;&lt;P&gt;          extensionin      = l_t_extensionin.                                                  " this table should be filled for custom fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to change delivery date, then it is at header level. You need to fill ORDER_HEADER_IN-REQ_DATE_H with the new date. and ORDER_HEADER_INX-REQ_DATE_H = 'X'  and ORDER_HEADER_INX-UPDATEFLAG = 'U'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this data you should be able to update sales order delivery date. Then you have to call BAPI_TRANSACTION_COMMIT to reflect these changes to database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 11:29:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/6624649#M1440959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-28T11:29:04Z</dc:date>
    </item>
  </channel>
</rss>

