<?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 Commit is not happening properly sometimes.... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-is-not-happening-properly-sometimes/m-p/8447466#M1649188</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 am using the standard BAPI 'BAPI_DELIVERYPROCESSING_EXEC' in one of my code and this BAPI is called in LOOP of some internal table.&lt;/P&gt;&lt;P&gt;After the BAPI call return table is checked and if no error comes 'BAPI_TRANSACTION_COMMIT' (with wait = 'X') is used to commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that sometimes in production the Delivery is created and sometimes it is not created, and BAPI does not return any error.&lt;/P&gt;&lt;P&gt;So after the 'BAPI_TRANSACTION_COMMIT' another WAIT UP TO 2 SECONDs has been written and then it works perfectly, we monitored this for quite some times and we did not get any error. But again we removed the explicit WAIT statement and we saw some of the Deliveries are not created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my internal table is becoming big in size there by putting WAIT for 2 Seconds is creating the performance issues, it is taking lot of time to complete the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is there any way by which I can get rid of explicit statement.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jan 2012 20:55:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-01-16T20:55:10Z</dc:date>
    <item>
      <title>Commit is not happening properly sometimes....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-is-not-happening-properly-sometimes/m-p/8447466#M1649188</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 am using the standard BAPI 'BAPI_DELIVERYPROCESSING_EXEC' in one of my code and this BAPI is called in LOOP of some internal table.&lt;/P&gt;&lt;P&gt;After the BAPI call return table is checked and if no error comes 'BAPI_TRANSACTION_COMMIT' (with wait = 'X') is used to commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that sometimes in production the Delivery is created and sometimes it is not created, and BAPI does not return any error.&lt;/P&gt;&lt;P&gt;So after the 'BAPI_TRANSACTION_COMMIT' another WAIT UP TO 2 SECONDs has been written and then it works perfectly, we monitored this for quite some times and we did not get any error. But again we removed the explicit WAIT statement and we saw some of the Deliveries are not created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my internal table is becoming big in size there by putting WAIT for 2 Seconds is creating the performance issues, it is taking lot of time to complete the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is there any way by which I can get rid of explicit statement.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 20:55:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-is-not-happening-properly-sometimes/m-p/8447466#M1649188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-16T20:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Commit is not happening properly sometimes....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-is-not-happening-properly-sometimes/m-p/8447467#M1649189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran into this same problem before when calling a bapi. The solution that I found that worked was to insert this statement immediately before calling the bapi.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET UPDATE TASK LOCAL.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;That way you can eliminate the WAIT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brenda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 21:26:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-is-not-happening-properly-sometimes/m-p/8447467#M1649189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-16T21:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Commit is not happening properly sometimes....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-is-not-happening-properly-sometimes/m-p/8447468#M1649190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried that also but it also failed sometimes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 22:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-is-not-happening-properly-sometimes/m-p/8447468#M1649190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-16T22:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Commit is not happening properly sometimes....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-is-not-happening-properly-sometimes/m-p/8447469#M1649191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with RV_DELIVERY_CREATE instead&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 07:05:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-is-not-happening-properly-sometimes/m-p/8447469#M1649191</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-01-17T07:05:00Z</dc:date>
    </item>
  </channel>
</rss>

