<?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: Sales Order - Error while changing using BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-error-while-changing-using-bapi/m-p/8378906#M1642673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niranchan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend you to first verify this by performing the transaction manually. Ask the functional consultant to do this scenario of changing the Sales Order manually where the pricing is missing. Based on the errors received or not you can verify your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose the system should not allow this manually also. Hence, a config change may be expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pranav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2011 06:45:57 GMT</pubDate>
    <dc:creator>former_member222709</dc:creator>
    <dc:date>2011-11-17T06:45:57Z</dc:date>
    <item>
      <title>Sales Order - Error while changing using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-error-while-changing-using-bapi/m-p/8378904#M1642671</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;I would want to compare the system price and the expected price for a sales order and in case of any discrepancy, set a 'reason for rejection' code. I'm using the bapi 'BAPI_SALESORDER_CHANGE' to make changes to the sales order (setting the rejection code). This is working fine in cases where there is some value for both the prices but is throwing an error while the system price is null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to overcome this error and still set the rejection code or should we make any changes in the config to let the system allow to save changes when the system price is null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 22:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-error-while-changing-using-bapi/m-p/8378904#M1642671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-16T22:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order - Error while changing using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-error-while-changing-using-bapi/m-p/8378905#M1642672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Error Message:&lt;/P&gt;&lt;P&gt;No Sales Price (YYYY) for material XXXXX line IIII. Order will be incomplete.&lt;/P&gt;&lt;P&gt;Message no. ZZ054&lt;/P&gt;&lt;P&gt;Diagnosis&lt;/P&gt;&lt;P&gt;The system could not determine a Sales Price (YYYY) for material 1. line 2..&lt;/P&gt;&lt;P&gt;System Response&lt;/P&gt;&lt;P&gt;The entire order will become incomplete when you save it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 22:57:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-error-while-changing-using-bapi/m-p/8378905#M1642672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-16T22:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order - Error while changing using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-error-while-changing-using-bapi/m-p/8378906#M1642673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niranchan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend you to first verify this by performing the transaction manually. Ask the functional consultant to do this scenario of changing the Sales Order manually where the pricing is missing. Based on the errors received or not you can verify your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose the system should not allow this manually also. Hence, a config change may be expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pranav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 06:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-error-while-changing-using-bapi/m-p/8378906#M1642673</guid>
      <dc:creator>former_member222709</dc:creator>
      <dc:date>2011-11-17T06:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order - Error while changing using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-error-while-changing-using-bapi/m-p/8378907#M1642674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The message you mention - ZZ054 - seems to be a non-standard one - it may be generated by some of your user-exits. Check this in SE91-&amp;gt; "Where-used list" (standard system should allow saving the document in case of incimplete pricing - that's why you may have an exit which prevents this).&lt;/P&gt;&lt;P&gt;If so, you might modify your user-exits accordingly - to allow saving the document in cases defined by you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach (not sure if this will be a solution in this case but you may check): see parameter BEHAVE_WHEN_ERROR of fm BAPI_SALESORDER_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 12:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-error-while-changing-using-bapi/m-p/8378907#M1642674</guid>
      <dc:creator>Maciej_DomagaBa</dc:creator>
      <dc:date>2011-11-21T12:11:26Z</dc:date>
    </item>
  </channel>
</rss>

