<?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_SALESDOCUMENT_CHANGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-change/m-p/7331938#M1538372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on the BAPI_SALEDOCUMENT_CHANGE trying to update the delivery block information of sales order.&lt;/P&gt;&lt;P&gt;For this purpose, I am writing a program in which after calling the BAPI_SALESDOCUMENT_CHANGE, I am calling BAP_TRANSACTION_COMMIT FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfotunately, this code is dumping at the line of calling the FM BAPI_SALESDOCUMENT_CHANGE with error&lt;/P&gt;&lt;P&gt; CX_SY_DYN_CALL_ILLEGAL_TYPE. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt; The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was&lt;/P&gt;&lt;P&gt;  not caught and&lt;/P&gt;&lt;P&gt; therefore caused a runtime error.&lt;/P&gt;&lt;P&gt; The reason for the exception is:&lt;/P&gt;&lt;P&gt; The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In the function module interface, you can specify only&lt;/P&gt;&lt;P&gt; fields of a specific type and length under "ORDER_HEADER_IN".&lt;/P&gt;&lt;P&gt; Although the currently specified field&lt;/P&gt;&lt;P&gt; "ORDER_HEADER_IN1" is the correct type, its length is incorrect."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suresh V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Oct 2010 18:51:16 GMT</pubDate>
    <dc:creator>suresh_venukadasula2</dc:creator>
    <dc:date>2010-10-14T18:51:16Z</dc:date>
    <item>
      <title>BAPI_SALESDOCUMENT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-change/m-p/7331938#M1538372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on the BAPI_SALEDOCUMENT_CHANGE trying to update the delivery block information of sales order.&lt;/P&gt;&lt;P&gt;For this purpose, I am writing a program in which after calling the BAPI_SALESDOCUMENT_CHANGE, I am calling BAP_TRANSACTION_COMMIT FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfotunately, this code is dumping at the line of calling the FM BAPI_SALESDOCUMENT_CHANGE with error&lt;/P&gt;&lt;P&gt; CX_SY_DYN_CALL_ILLEGAL_TYPE. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt; The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was&lt;/P&gt;&lt;P&gt;  not caught and&lt;/P&gt;&lt;P&gt; therefore caused a runtime error.&lt;/P&gt;&lt;P&gt; The reason for the exception is:&lt;/P&gt;&lt;P&gt; The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In the function module interface, you can specify only&lt;/P&gt;&lt;P&gt; fields of a specific type and length under "ORDER_HEADER_IN".&lt;/P&gt;&lt;P&gt; Although the currently specified field&lt;/P&gt;&lt;P&gt; "ORDER_HEADER_IN1" is the correct type, its length is incorrect."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suresh V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Oct 2010 18:51:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-change/m-p/7331938#M1538372</guid>
      <dc:creator>suresh_venukadasula2</dc:creator>
      <dc:date>2010-10-14T18:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESDOCUMENT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-change/m-p/7331939#M1538373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;  In the function module interface, you can specify only&lt;/P&gt;&lt;P&gt;&amp;gt;  fields of a specific type and length under "ORDER_HEADER_IN".&lt;/P&gt;&lt;P&gt;&amp;gt;  Although the currently specified field&lt;/P&gt;&lt;P&gt;&amp;gt;  "ORDER_HEADER_IN1" is the correct type, its length is incorrect."&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It's telling you exactly what the problem is. You haven't declared ORDER_HEADER_IN1 correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Oct 2010 19:01:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-change/m-p/7331939#M1538373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-14T19:01:33Z</dc:date>
    </item>
  </channel>
</rss>

