<?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_SHIPMENT_CHANGE - change addditonal custom fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-shipment-change-change-addditonal-custom-fields/m-p/7558121#M1564083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hello BAPI Guru's,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the BAPI_SHIPMENT_CHANGE to change some fields in Shipment header. &lt;/P&gt;&lt;P&gt;All normal requirements are working good. &lt;/P&gt;&lt;P&gt;We have extended table VTTK with couple of Z-fields and We want to update this fields also.&lt;/P&gt;&lt;P&gt;By default this BAPI will not update these new custom fields as they are not existing in the BAPI interface (structure BAPISHIPMENTHEADER).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks a lot !&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Natalia.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jan 2011 13:46:40 GMT</pubDate>
    <dc:creator>NataliaGlants</dc:creator>
    <dc:date>2011-01-18T13:46:40Z</dc:date>
    <item>
      <title>BAPI_SHIPMENT_CHANGE - change addditonal custom fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-shipment-change-change-addditonal-custom-fields/m-p/7558121#M1564083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hello BAPI Guru's,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the BAPI_SHIPMENT_CHANGE to change some fields in Shipment header. &lt;/P&gt;&lt;P&gt;All normal requirements are working good. &lt;/P&gt;&lt;P&gt;We have extended table VTTK with couple of Z-fields and We want to update this fields also.&lt;/P&gt;&lt;P&gt;By default this BAPI will not update these new custom fields as they are not existing in the BAPI interface (structure BAPISHIPMENTHEADER).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks a lot !&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Natalia.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 13:46:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-shipment-change-change-addditonal-custom-fields/m-p/7558121#M1564083</guid>
      <dc:creator>NataliaGlants</dc:creator>
      <dc:date>2011-01-18T13:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SHIPMENT_CHANGE - change addditonal custom fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-shipment-change-change-addditonal-custom-fields/m-p/7558122#M1564084</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;it does not look good. Usually, BAPIs have table with name EXTENSION which can be used to pass values to custom fields ([example|http://help.sap.com/saphelp_nw04/helpdata/en/6b/3f6d2b6d0711d396a50004ac96334b/frameset.htm]). This BAPI does not have it. BTW it hasn't been released officially.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it looks like only option is to enhance/modify SAP code. It should be possible to use enhancement framework for this. You could enhance BAPI structures or just create a new optional parameter where you will pass all your extra fields and then use suitable enhancement points to populate internal structures. It might work. BAPI_SHIPMENT_CHANGE calls SD_SHIPMENT_PROCESS_EXT_CHANGE. So maybe you can write your own wrapper instead of BAPI_SHIPMENT_CHANGE and enhance SD_SHIPMENT_PROCESS_EXT_CHANGE only. Here I would check routine set_header_change_data. You can easily test it. Just put a break point here, modify your custom fields (variable cs_header-data) and see if they will change after processing BAPI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 00:55:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-shipment-change-change-addditonal-custom-fields/m-p/7558122#M1564084</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2011-01-19T00:55:29Z</dc:date>
    </item>
  </channel>
</rss>

