<?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_CUSTOMERCONTRACT_CHANGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customercontract-change/m-p/7659006#M1573828</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;&lt;/P&gt;&lt;P&gt;I am facing the below problem while using BAPI_CUSTOMERCONTRACT_CHANGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came across a contract where in, the first line item has no open quantity against it and has an order quantity of 60000 Since we might not have line item always in the input file , the program tries to assign the Rejection Code to every line item , and in doing so it tries to do the same for the above material which here happens to be the first line item of the contract 5000023 . The BAPI returns an information message u2018Field 'ABGRU' cannot be changed, VBAPKOM 000010  ready for inputu2019 and error message u2018Sales document 0005000023 was not changedu2019. &lt;/P&gt;&lt;P&gt;As a result of this the subsequent items are also not being assigned the rejection code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran the program for the above contract only for item no. 20 and the rejection code was successfully assigned .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is it that when the first line item fails that the next items don't get updated as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Feb 2011 08:37:49 GMT</pubDate>
    <dc:creator>rahul2000</dc:creator>
    <dc:date>2011-02-21T08:37:49Z</dc:date>
    <item>
      <title>BAPI_CUSTOMERCONTRACT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customercontract-change/m-p/7659006#M1573828</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;&lt;/P&gt;&lt;P&gt;I am facing the below problem while using BAPI_CUSTOMERCONTRACT_CHANGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came across a contract where in, the first line item has no open quantity against it and has an order quantity of 60000 Since we might not have line item always in the input file , the program tries to assign the Rejection Code to every line item , and in doing so it tries to do the same for the above material which here happens to be the first line item of the contract 5000023 . The BAPI returns an information message u2018Field 'ABGRU' cannot be changed, VBAPKOM 000010  ready for inputu2019 and error message u2018Sales document 0005000023 was not changedu2019. &lt;/P&gt;&lt;P&gt;As a result of this the subsequent items are also not being assigned the rejection code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran the program for the above contract only for item no. 20 and the rejection code was successfully assigned .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is it that when the first line item fails that the next items don't get updated as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 08:37:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customercontract-change/m-p/7659006#M1573828</guid>
      <dc:creator>rahul2000</dc:creator>
      <dc:date>2011-02-21T08:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CUSTOMERCONTRACT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customercontract-change/m-p/7659007#M1573829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check document flow of first line item (VBFA). If subsequent documents are created against this line item, field:Rejection reason will not be available for update &amp;amp; will trigger an error while executing the BAPI, which will stop the updation of other line items also.  So before Triggering the BAPI, check the document flow of each line item, and update the rejection reason of line items for which subsequent document is not created.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 08:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customercontract-change/m-p/7659007#M1573829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-21T08:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CUSTOMERCONTRACT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customercontract-change/m-p/7659008#M1573830</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 may be because the reason for rejection field is not as an input field when there is no open quantity lying. See, because, there is no open quantity left, hence the order has already been completely dispatched and thereby no quantity is pending to undergo REJECTION. If it is so, how can we set 'Reason for rejection of quotations and sales orders' i.e. ABGRU..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess, you need to handle this in your condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Kumar Saurav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 09:31:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customercontract-change/m-p/7659008#M1573830</guid>
      <dc:creator>former_member186491</dc:creator>
      <dc:date>2011-02-21T09:31:17Z</dc:date>
    </item>
  </channel>
</rss>

