<?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_SALESDOCUMENT_CHANGE header block change in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-change-header-block-change/m-p/3460981#M831557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2 errors:&lt;/P&gt;&lt;P&gt;1 ) In structure BAPISDH1X : &lt;/P&gt;&lt;P&gt;Field DLV_BLOCK should have value 'X'. Meaning: this field has to be updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 )&lt;/P&gt;&lt;P&gt;t_BAPISDH1 and &lt;/P&gt;&lt;P&gt;t_bapisdh1x should be work areas (structures) and not internal tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Feb 2008 09:15:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-29T09:15:34Z</dc:date>
    <item>
      <title>BAPI_SALESDOCUMENT_CHANGE header block change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-change-header-block-change/m-p/3460979#M831555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a sales order no, here i want to change delivery block(Header)and make them space. here i am passing salesorder no and passing DLV_BLOCK = space and using &lt;/P&gt;&lt;P&gt;UPDATEFLAG = 'U'. but also it is not changing that record.&lt;/P&gt;&lt;P&gt;can any one help me its urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find my code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_BAPISDH1-COLLECT_NO = i_list-vbeln.&lt;/P&gt;&lt;P&gt;t_BAPISDH1-DLV_BLOCK = space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND t_BAPISDH1.&lt;/P&gt;&lt;P&gt;CLEAR t_BAPISDH1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_bapisdh1x-UPDATEFLAG = 'X'.&lt;/P&gt;&lt;P&gt;APPEND t_bapisdh1x .&lt;/P&gt;&lt;P&gt;CLEAR t_bapisdh1x.&lt;/P&gt;&lt;P&gt;&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 = i_list-vbeln&lt;/P&gt;&lt;P&gt;order_header_in = t_BAPISDH1&lt;/P&gt;&lt;P&gt;order_header_inx = t_bapisdh1x&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;return = t_bapiret2&lt;/P&gt;&lt;P&gt;schedule_lines = t_bapischdl&lt;/P&gt;&lt;P&gt;schedule_linesx = t_bapischdlx&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;OTHERS = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;WAIT = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else i want to change this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;DVNS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 07:04:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-change-header-block-change/m-p/3460979#M831555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-29T07:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESDOCUMENT_CHANGE header block change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-change-header-block-change/m-p/3460980#M831556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try the below code i have added &lt;/P&gt;&lt;P&gt;t_bapisdh1x-UPDATEFLAG = 'U'.&lt;/P&gt;&lt;P&gt;t_BAPISDH1x-DLV_BLOCK = 'X'. these two lines two ur old code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_BAPISDH1-COLLECT_NO = i_list-vbeln.&lt;/P&gt;&lt;P&gt;t_BAPISDH1-DLV_BLOCK = space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND t_BAPISDH1.&lt;/P&gt;&lt;P&gt;CLEAR t_BAPISDH1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_bapisdh1x-UPDATEFLAG = 'U'.&lt;/P&gt;&lt;P&gt;t_BAPISDH1x-DLV_BLOCK = 'X'.&lt;/P&gt;&lt;P&gt;APPEND t_bapisdh1x .&lt;/P&gt;&lt;P&gt;CLEAR t_bapisdh1x.&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 = i_list-vbeln&lt;/P&gt;&lt;P&gt;order_header_in = t_BAPISDH1&lt;/P&gt;&lt;P&gt;order_header_inx = t_bapisdh1x&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;return = t_bapiret2&lt;/P&gt;&lt;P&gt;schedule_lines = t_bapischdl&lt;/P&gt;&lt;P&gt;schedule_linesx = t_bapischdlx&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;OTHERS = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;WAIT = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 09:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-change-header-block-change/m-p/3460980#M831556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-29T09:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESDOCUMENT_CHANGE header block change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-change-header-block-change/m-p/3460981#M831557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2 errors:&lt;/P&gt;&lt;P&gt;1 ) In structure BAPISDH1X : &lt;/P&gt;&lt;P&gt;Field DLV_BLOCK should have value 'X'. Meaning: this field has to be updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 )&lt;/P&gt;&lt;P&gt;t_BAPISDH1 and &lt;/P&gt;&lt;P&gt;t_bapisdh1x should be work areas (structures) and not internal tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 09:15:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-change-header-block-change/m-p/3460981#M831557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-29T09:15:34Z</dc:date>
    </item>
  </channel>
</rss>

