<?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: Perform ... ON COMMIT is not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-on-commit-is-not-working/m-p/10250136#M1829190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;let me check that Sudeesh. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2014 10:59:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-04-24T10:59:32Z</dc:date>
    <item>
      <title>Perform ... ON COMMIT is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-on-commit-is-not-working/m-p/10250133#M1829187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to change Exclusion/Inclusion Flag in Invoice document after pressing SAVE button. I wrote code in FM 'RV_INVOICE_DOCUMENT_ADD'. I used implicit enhancement and put my logic at the end of FM. In Development server, since data is very less, so my code is running without using PERFORM.. ON COMMIT but is testing server, since data is very huge. So, my logic is not getting triggered.&lt;/P&gt;&lt;P&gt;Actually, I am calling table VBRP and EIKP in this FM and at the time of selecting records from VBRP and EIKP, records are not present in these tables. But in Development, since data is very so it works fine. But in testing, it is getting failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I used PERFORM.. ON COMMIT. But this is not calling my code even in Developemnt server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, help me, how to use PERFORM.. ON COMMIT. Or is there another place where in, I can put my code. BTW this FM is the last place where I am getting values in VBRP and EIKP tables. Before this FM, we don't get any values in VBRP and EIKP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arpit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 10:13:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-on-commit-is-not-working/m-p/10250133#M1829187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-24T10:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Perform ... ON COMMIT is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-on-commit-is-not-working/m-p/10250134#M1829188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arpit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't you use another condition like import parameter WITH_POSTING to determine the execution of the code?&lt;/P&gt;&lt;P&gt;And maybe placing your code in a function and call it with starting new task instruction where you can wait for the table updates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Arpit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 10:34:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-on-commit-is-not-working/m-p/10250134#M1829188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-24T10:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Perform ... ON COMMIT is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-on-commit-is-not-working/m-p/10250135#M1829189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arpit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must ensure that any subroutines called using ON COMMIT can be delayed until the next COMMIT WORK in the calling program so please check whether commit work correctly getting executed after your perform routine for all scenarios.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sudeesh Soni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 10:47:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-on-commit-is-not-working/m-p/10250135#M1829189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-24T10:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Perform ... ON COMMIT is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-on-commit-is-not-working/m-p/10250136#M1829190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;let me check that Sudeesh. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 10:59:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-on-commit-is-not-working/m-p/10250136#M1829190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-24T10:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Perform ... ON COMMIT is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-on-commit-is-not-working/m-p/10250137#M1829191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Edgar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me try your proposed solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 11:00:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-on-commit-is-not-working/m-p/10250137#M1829191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-24T11:00:05Z</dc:date>
    </item>
  </channel>
</rss>

