<?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 facing while using BAPI function module...... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-while-using-bapi-function-module/m-p/1646831#M287679</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;In  one of my program I am using Bapi function module &lt;/P&gt;&lt;P&gt;SD_SALESDOCUMENT_CHANGE to change the sales order.&lt;/P&gt;&lt;P&gt;after that I am using function module &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' with no parameterspassing to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I am releasing the same sales order using function module SD_ORDER_CREDIT_RELEASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this function module is giving error saying the Sales document  xxxx is currently being processed by XXXXX user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above error is getting only some times when I start that particular program for the first time but not all the times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also put &amp;lt;b&amp;gt;commit work and wait&amp;lt;/b&amp;gt; befor releasing that particular order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i solve the issue.&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Nov 2006 11:08:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-03T11:08:30Z</dc:date>
    <item>
      <title>facing while using BAPI function module......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-while-using-bapi-function-module/m-p/1646831#M287679</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;In  one of my program I am using Bapi function module &lt;/P&gt;&lt;P&gt;SD_SALESDOCUMENT_CHANGE to change the sales order.&lt;/P&gt;&lt;P&gt;after that I am using function module &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' with no parameterspassing to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I am releasing the same sales order using function module SD_ORDER_CREDIT_RELEASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this function module is giving error saying the Sales document  xxxx is currently being processed by XXXXX user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above error is getting only some times when I start that particular program for the first time but not all the times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also put &amp;lt;b&amp;gt;commit work and wait&amp;lt;/b&amp;gt; befor releasing that particular order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i solve the issue.&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 11:08:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-while-using-bapi-function-module/m-p/1646831#M287679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-03T11:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: facing while using BAPI function module......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-while-using-bapi-function-module/m-p/1646832#M287680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe the error is indeed a timing problem with updating the DB table. However, Why don't you choose the following sequence?:&lt;/P&gt;&lt;P&gt;(1) Call SD_SALESDOCUMENT_CHANGE&lt;/P&gt;&lt;P&gt;(2) If successful, call SD_ORDER_CREDIT_RELEASE&lt;/P&gt;&lt;P&gt;(3) If successful, finally commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;   Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 11:22:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-while-using-bapi-function-module/m-p/1646832#M287680</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-11-03T11:22:16Z</dc:date>
    </item>
  </channel>
</rss>

