<?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: a question on bapi call -- BAPI_SALESDOCUMENT_CHANGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699381#M890778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jelena, can you tell me please how to fill this BAPI to update the reason for rejection field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leonardo P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2008 22:38:25 GMT</pubDate>
    <dc:creator>leonardo_pavia</dc:creator>
    <dc:date>2008-04-15T22:38:25Z</dc:date>
    <item>
      <title>a question on bapi call -- BAPI_SALESDOCUMENT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699374#M890771</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;i have the following code to update sales order header level delivery block.&lt;/P&gt;&lt;P&gt;i noticed that certain sales order are updated successfully while the other failed with the following message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Field 'LIFSK' cannot be changed, VBAKKOM 0001279765  ready for input".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this something to do with the sales order data or some program problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*update header level delivery block&lt;/P&gt;&lt;P&gt;      v_head1x-DLV_BLOCK = 'X'.&lt;/P&gt;&lt;P&gt;      v_head1x-updateflag = 'U'.&lt;/P&gt;&lt;P&gt;      v_head-DLV_BLOCK = w_so-lifsk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'BAPI_SALESDOCUMENT_CHANGE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          salesdocument            = w_so-vbeln&lt;/P&gt;&lt;P&gt;          order_header_in          = v_head&lt;/P&gt;&lt;P&gt;          order_header_inx         = v_head1x&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SIMULATION               = ' '&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 07:45:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699374#M890771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-07T07:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: a question on bapi call -- BAPI_SALESDOCUMENT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699375#M890772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It means that the field cannot be changed. If you go to VA02, most lkely you'll see that it is grayed out. Also might be an authorization issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 21:31:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699375#M890772</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2008-04-07T21:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: a question on bapi call -- BAPI_SALESDOCUMENT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699376#M890773</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;Please check that for the erred sales orders whether the deliveries have been already created...? &lt;/P&gt;&lt;P&gt;I am assuming that after creating the delivery for a sales order then you can not able to update the delivery block on the sales order. Any way this is depending upon the definition of Delivery block you configured.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 22:51:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699376#M890773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-07T22:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: a question on bapi call -- BAPI_SALESDOCUMENT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699377#M890774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The document is actually open, not yet deliver and i'm able to edit through VA02. &lt;/P&gt;&lt;P&gt;What could be the other reason caused this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 02:07:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699377#M890774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T02:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: a question on bapi call -- BAPI_SALESDOCUMENT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699378#M890775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, you said that only some orders are failing - try to find what's so different about them. Also check if there are any other messages in the RETURN table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes these errors might be difficult to catch because the field might not be available for input only at the moment when your BAPI runs, but later, when you go to VA02, it &lt;STRONG&gt;is&lt;/STRONG&gt; available. Here is an example. We were trying to update the reason for rejection field. It becomes available, for example, when the delivery line item has been confirmed, but for the lower amount. The program with BAPI was running at the background. Sometimes there was an error in the delivery, which was corrected by a user. So when later in the day we went to research this, we couldn't figure out what's wrong. You might want to check the Changes log on the order and on the delivery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, of course, there is always the debugger - set the whatchpoint for where this message occurs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 13:00:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699378#M890775</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2008-04-08T13:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: a question on bapi call -- BAPI_SALESDOCUMENT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699379#M890776</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;after few tries, we found that "Field 'LIFSK' cannot be changed, VBAKKOM 0001279765 ready for input".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this message come when we try to update the delivery block with some value when the delivery block in the sales document is blank (no block).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advise how to solve the problem. thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 03:11:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699379#M890776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T03:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: a question on bapi call -- BAPI_SALESDOCUMENT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699380#M890777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is rather strange. I have a code example from a previous project where the code was the same as above and it worked perfectly. However, when I ran the same code in a small test program in the current system, I got the same 'not available for input' error message...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look at the note 170028. Even though it is an old note and we are on ECC 6.0, I've discovered that, in fact, the corrections described in it are not present in our system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this does not work, I'd suggest sending a message to SAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 13:21:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699380#M890777</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2008-04-09T13:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: a question on bapi call -- BAPI_SALESDOCUMENT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699381#M890778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jelena, can you tell me please how to fill this BAPI to update the reason for rejection field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leonardo P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 22:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699381#M890778</guid>
      <dc:creator>leonardo_pavia</dc:creator>
      <dc:date>2008-04-15T22:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: a question on bapi call -- BAPI_SALESDOCUMENT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699382#M890779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to fill in order_header_in and order_header_inx table fields and the order_header_inx structure as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CONSTANTS:
      c_updateflag(1)  TYPE c VALUE 'U',
      c_updatefield(1) TYPE c VALUE 'X',

    s_da_order_item_in-material   = &amp;lt;MATNR&amp;gt;.
    s_da_order_item_in-itm_number = &amp;lt;POSNR&amp;gt;.
    s_da_order_item_in-reason_rej = &amp;lt;rejection reason&amp;gt;.
    APPEND s_da_order_item_in.

    s_da_order_item_inx-updateflag = c_updateflag.
    s_da_order_item_inx-reason_rej = c_updatefield.
    s_da_order_item_inx-itm_number = &amp;lt;POSNR&amp;gt;.
    APPEND s_da_order_item_inx.
  
    s_da_order_header_inx-updateflag = 'U'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order number should be in salesdocument FIELD when calling BAPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 13:26:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-on-bapi-call-bapi-salesdocument-change/m-p/3699382#M890779</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2008-04-16T13:26:51Z</dc:date>
    </item>
  </channel>
</rss>

