<?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 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/1801732#M344151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been used the fun module 'BAPI_PO_CHANGE' for PO item Change.&lt;/P&gt;&lt;P&gt;But it is not updating the PO item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Dec 2006 03:50:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-29T03:50:51Z</dc:date>
    <item>
      <title>BAPI_PO_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/1801732#M344151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been used the fun module 'BAPI_PO_CHANGE' for PO item Change.&lt;/P&gt;&lt;P&gt;But it is not updating the PO item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2006 03:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/1801732#M344151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-29T03:50:51Z</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/1801733#M344152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kindly close this duplicate thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2006 03:57:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/1801733#M344152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-29T03:57:39Z</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/1801734#M344153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pass the required data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_PO_CHANGE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      purchaseorder          = purchaseorder&lt;/P&gt;&lt;P&gt;      poheader               = poheader&lt;/P&gt;&lt;P&gt;      poheaderx              = poheaderx&lt;/P&gt;&lt;P&gt;      poaddrvendor           = poaddrvendor&lt;/P&gt;&lt;P&gt;      testrun                = testrun&lt;/P&gt;&lt;P&gt;      memory_uncomplete      = memory_uncomplete&lt;/P&gt;&lt;P&gt;      memory_complete        = memory_complete&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     poexpimpheader         = poexpimpheader&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     poexpimpheaderx        = poexpimpheaderx&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     versions               = versions&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     no_messaging           = no_messaging&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     no_message_req         = no_message_req&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     no_authority           = no_authority&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     no_price_from_po       = no_price_from_po&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      expheader              = expheader&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     exppoexpimpheader      = exppoexpimpheader&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      return                 = return&lt;/P&gt;&lt;P&gt;      poitem                 = poitem&lt;/P&gt;&lt;P&gt;      poitemx                = poitemx&lt;/P&gt;&lt;P&gt;      poaddrdelivery         = poaddrdelivery&lt;/P&gt;&lt;P&gt;      poschedule             = poschedule&lt;/P&gt;&lt;P&gt;      poschedulex            = poschedulex&lt;/P&gt;&lt;P&gt;      poaccount              = poaccount&lt;/P&gt;&lt;P&gt;      poaccountprofitsegment = poaccountprofitsegment&lt;/P&gt;&lt;P&gt;      poaccountx             = poaccountx&lt;/P&gt;&lt;P&gt;      pocondheader           = pocondheader&lt;/P&gt;&lt;P&gt;      pocondheaderx          = pocondheaderx&lt;/P&gt;&lt;P&gt;      pocond                 = pocond&lt;/P&gt;&lt;P&gt;      pocondx                = pocondx&lt;/P&gt;&lt;P&gt;      polimits               = polimits&lt;/P&gt;&lt;P&gt;      pocontractlimits       = pocontractlimits&lt;/P&gt;&lt;P&gt;      poservices             = poservices&lt;/P&gt;&lt;P&gt;      posrvaccessvalues      = posrvaccessvalues&lt;/P&gt;&lt;P&gt;      poservicestext         = poservicestext&lt;/P&gt;&lt;P&gt;      extensionin            = extensionin&lt;/P&gt;&lt;P&gt;      extensionout           = extensionout&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     poexpimpitem           = poexpimpitem&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     poexpimpitemx          = poexpimpitemx&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      potextheader           = potextheader&lt;/P&gt;&lt;P&gt;      potextitem             = potextitem .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     allversions            = allversions&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     popartner              = popartner.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Code inserted to commit work&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SORT return BY type.&lt;/P&gt;&lt;P&gt;  IF testrun IS INITIAL.&lt;/P&gt;&lt;P&gt;    READ TABLE return&lt;/P&gt;&lt;P&gt;         WITH KEY type = c_msgtype_e               "E.&lt;/P&gt;&lt;P&gt;         BINARY SEARCH.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.&lt;/P&gt;&lt;P&gt;**To generate inbound IDOC for failed PO&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     perform idoc_create tables poitem&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                g_t_itemx_tmp&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                poaddrdelivery&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                poschedule&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                g_t_schdx_tmp&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                poaccount&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                poaccountprofitsegment&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                g_t_accntx_tmp&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                pocond&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                g_t_condx_tmp&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                polimits&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                pocontractlimits&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                poservices&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                posrvaccessvalues&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                poservicestext&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                extensionin&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                return&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                          using c_flg_pochange              "CHNG&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                purchaseorder&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                poheader&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                g_w_hdrx_tmp&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                poaddrvendor&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                testrun&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                memory_uncomplete&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                memory_complete .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;      loop at return.&lt;/P&gt;&lt;P&gt;        l_wa_zerrors-OBJECT     = 'PURCHASE_ORDER'.&lt;/P&gt;&lt;P&gt;        l_wa_zerrors-serialno   = sy-tabix.&lt;/P&gt;&lt;P&gt;        l_wa_zerrors-COMP_CODE  = poheader-comp_code.&lt;/P&gt;&lt;P&gt;        l_wa_zerrors-zid        = return-id.&lt;/P&gt;&lt;P&gt;        l_wa_zerrors-znumber    = return-number.&lt;/P&gt;&lt;P&gt;        l_wa_zerrors-BEACON_DOC_NO = poheader-po_number.&lt;/P&gt;&lt;P&gt;        l_wa_zerrors-SRC_DOC_NO = poheader-po_number.&lt;/P&gt;&lt;P&gt;        l_wa_zerrors-ZDATE      = sy-datum.&lt;/P&gt;&lt;P&gt;        l_wa_zerrors-ERR_MSG    = return-message.&lt;/P&gt;&lt;P&gt;        append l_wa_zerrors to t_errors.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      insert into zerrors values l_wa_zerrors.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        clear: l_wa_zerrors.&lt;/P&gt;&lt;P&gt;      endloop.&lt;/P&gt;&lt;P&gt;      SELECT max( SERIALNO )&lt;/P&gt;&lt;P&gt;       INTO L_SERIAL&lt;/P&gt;&lt;P&gt;       FROM ZP2P_ERRORS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LOOP AT T_ERRORS.&lt;/P&gt;&lt;P&gt;        L_SERIAL = L_SERIAL + 1.&lt;/P&gt;&lt;P&gt;        T_ERRORS-SERIALNO = L_SERIAL.&lt;/P&gt;&lt;P&gt;        MODIFY T_ERRORS TRANSPORTING SERIALNO.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    INSERT ZERRORS FROM TABLE T_ERRORS.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      INSERT ZP2P_ERRORS FROM TABLE T_ERRORS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2006 04:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change/m-p/1801734#M344153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-29T04:27:12Z</dc:date>
    </item>
  </channel>
</rss>

