<?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 Extend Bapi BAPI_SALESORDER_CHANGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/extend-bapi-bapi-salesorder-change/m-p/7497173#M1557963</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;Iu2019m trying to extend Bapi BAPI_SALESORDER_CHANGE.&lt;/P&gt;&lt;P&gt;I created 2 structures: ZZVBAP_SERVICE for fields, ZZVBAP_SERVICEX for flags.&lt;/P&gt;&lt;P&gt;I added ZZVBAP_SERVICE structure to VBAP, BAPE_VBAP, VBAPKOZ.&lt;/P&gt;&lt;P&gt;I added ZZVBAP_SERVICEX structure to BAPE_VBAPX, VBAPKOZX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the BAPI I populated the following parameters:&lt;/P&gt;&lt;P&gt;SALESDOCUMENT with sales order&lt;/P&gt;&lt;P&gt;ORDER_HEADER_INX with UPDATEFLAG = u2018Uu2019&lt;/P&gt;&lt;P&gt;ORDER_ITEM_IN with line number&lt;/P&gt;&lt;P&gt;ORDER_ITEM_IN with line number and UPDATEFLAG = u2018Uu2019&lt;/P&gt;&lt;P&gt;EXTENSIONIN with 2 lines:&lt;/P&gt;&lt;P&gt;1.	Structure = 'BAPE_VBAP', valuepart1 = order&lt;EM&gt;posnr&lt;/EM&gt;additional fields&lt;/P&gt;&lt;P&gt;2.	Structure = 'BAPE_VBAPX', valuepart1 = order&lt;EM&gt;posnr&lt;/EM&gt;X in additional fields&lt;/P&gt;&lt;P&gt;I checked that the positions are correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After running the BAPI, I get 3 messages in return table:&lt;/P&gt;&lt;P&gt;1.	That the header was updated.&lt;/P&gt;&lt;P&gt;2.	That the lines were updated.&lt;/P&gt;&lt;P&gt;3.	That the order was saved.&lt;/P&gt;&lt;P&gt;I also run BAPI_TRANSACTION_COMMIT after BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When checking the sales order, no data changed for my fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Nov 2010 09:39:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-24T09:39:13Z</dc:date>
    <item>
      <title>Extend Bapi BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extend-bapi-bapi-salesorder-change/m-p/7497173#M1557963</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;Iu2019m trying to extend Bapi BAPI_SALESORDER_CHANGE.&lt;/P&gt;&lt;P&gt;I created 2 structures: ZZVBAP_SERVICE for fields, ZZVBAP_SERVICEX for flags.&lt;/P&gt;&lt;P&gt;I added ZZVBAP_SERVICE structure to VBAP, BAPE_VBAP, VBAPKOZ.&lt;/P&gt;&lt;P&gt;I added ZZVBAP_SERVICEX structure to BAPE_VBAPX, VBAPKOZX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the BAPI I populated the following parameters:&lt;/P&gt;&lt;P&gt;SALESDOCUMENT with sales order&lt;/P&gt;&lt;P&gt;ORDER_HEADER_INX with UPDATEFLAG = u2018Uu2019&lt;/P&gt;&lt;P&gt;ORDER_ITEM_IN with line number&lt;/P&gt;&lt;P&gt;ORDER_ITEM_IN with line number and UPDATEFLAG = u2018Uu2019&lt;/P&gt;&lt;P&gt;EXTENSIONIN with 2 lines:&lt;/P&gt;&lt;P&gt;1.	Structure = 'BAPE_VBAP', valuepart1 = order&lt;EM&gt;posnr&lt;/EM&gt;additional fields&lt;/P&gt;&lt;P&gt;2.	Structure = 'BAPE_VBAPX', valuepart1 = order&lt;EM&gt;posnr&lt;/EM&gt;X in additional fields&lt;/P&gt;&lt;P&gt;I checked that the positions are correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After running the BAPI, I get 3 messages in return table:&lt;/P&gt;&lt;P&gt;1.	That the header was updated.&lt;/P&gt;&lt;P&gt;2.	That the lines were updated.&lt;/P&gt;&lt;P&gt;3.	That the order was saved.&lt;/P&gt;&lt;P&gt;I also run BAPI_TRANSACTION_COMMIT after BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When checking the sales order, no data changed for my fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 09:39:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extend-bapi-bapi-salesorder-change/m-p/7497173#M1557963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-24T09:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Bapi BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extend-bapi-bapi-salesorder-change/m-p/7497174#M1557964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="237019"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 09:45:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extend-bapi-bapi-salesorder-change/m-p/7497174#M1557964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-24T09:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Bapi BAPI_SALESORDER_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extend-bapi-bapi-salesorder-change/m-p/7497175#M1557965</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;Try to update VBAPKOM and VBAPKOMX structures too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 09:46:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extend-bapi-bapi-salesorder-change/m-p/7497175#M1557965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-24T09:46:27Z</dc:date>
    </item>
  </channel>
</rss>

