<?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 Issue in Commit Work Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-commit-work-statement/m-p/8757929#M1676058</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Z Module Program which calls another Z Module Program1.&lt;/P&gt;&lt;P&gt;There are various Database Updations taking Place in Z Module Program1 due to which i need to write &lt;STRONG&gt;Commit Work&lt;/STRONG&gt; in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However as soon as the Z Module Program1 sees Commit Work statement, it terminates its execution and comes back to Z Module Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I dont want this. I want it to continue to next statement. Can anyone tell me how can this be achieved. I mean I need to write Commit Work also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Googled internet for this and i found one link which says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; If the statement COMMIT WORK is executed by calling special programs, be aware of the following:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In a program executed using batch input, or if you have called the program using the USING addition of the statement CALL TRANSACTION, COMMIT WORK terminates the batch input processing when using the corresponding settings.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * In a program called using CALL DIALOG, COMMIT WORK initiates the processing of subroutines or updated function modules registered using PERFORM ... ON COMMIT and CALL FUNCTION ... IN UPDATE TASK. Therefore, it does not complete the current SAP LUW. The SAP LUW cannot be completed until the COMMIT WORK statement is executed in the calling program.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Execution of the COMMIT WORK statement is not permitted during the updating procedure or during the execution of subroutines registered using PERFORM ... ON {COMMIT|ROLLBACK}.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2012 08:54:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-04-11T08:54:31Z</dc:date>
    <item>
      <title>Issue in Commit Work Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-commit-work-statement/m-p/8757929#M1676058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Z Module Program which calls another Z Module Program1.&lt;/P&gt;&lt;P&gt;There are various Database Updations taking Place in Z Module Program1 due to which i need to write &lt;STRONG&gt;Commit Work&lt;/STRONG&gt; in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However as soon as the Z Module Program1 sees Commit Work statement, it terminates its execution and comes back to Z Module Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I dont want this. I want it to continue to next statement. Can anyone tell me how can this be achieved. I mean I need to write Commit Work also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Googled internet for this and i found one link which says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; If the statement COMMIT WORK is executed by calling special programs, be aware of the following:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In a program executed using batch input, or if you have called the program using the USING addition of the statement CALL TRANSACTION, COMMIT WORK terminates the batch input processing when using the corresponding settings.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * In a program called using CALL DIALOG, COMMIT WORK initiates the processing of subroutines or updated function modules registered using PERFORM ... ON COMMIT and CALL FUNCTION ... IN UPDATE TASK. Therefore, it does not complete the current SAP LUW. The SAP LUW cannot be completed until the COMMIT WORK statement is executed in the calling program.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Execution of the COMMIT WORK statement is not permitted during the updating procedure or during the execution of subroutines registered using PERFORM ... ON {COMMIT|ROLLBACK}.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 08:54:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-commit-work-statement/m-p/8757929#M1676058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-11T08:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Commit Work Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-commit-work-statement/m-p/8757930#M1676059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do the program 2 depends on the data saved in program 1 ? What is happening in program 2 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 09:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-commit-work-statement/m-p/8757930#M1676059</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-04-11T09:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Commit Work Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-commit-work-statement/m-p/8757931#M1676060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're using &lt;EM&gt;CALL TRANSATION&lt;/EM&gt; to call the second module-pool program, then you'll have to use the field &lt;EM style="font-size: 10pt;"&gt;RACOMMIT&lt;/EM&gt; of the structure &lt;EM&gt;CTU_PARAMS&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read the F1 documentation for &lt;EM&gt;CALL TRANSACTION&lt;/EM&gt; for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 09:56:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-commit-work-statement/m-p/8757931#M1676060</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2012-04-11T09:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Commit Work Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-commit-work-statement/m-p/8757932#M1676061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so so much... My Problem is solved....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 10:10:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-commit-work-statement/m-p/8757932#M1676061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-11T10:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Commit Work Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-commit-work-statement/m-p/8757933#M1676062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;A __default_attr="167632" __jive_macro_name="user" class="jive_macro jive_macro_user" href="https://community.sap.com/"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currenlty am trying to trace out an ABAP issue. &lt;/P&gt;&lt;P&gt;with ref. :&amp;nbsp; &lt;A _jive_internal="true" href="https://answers.sap.com/thread/3228498" title="http://scn.sap.com/thread/3228498"&gt;http://scn.sap.com/thread/3228498&lt;/A&gt;&lt;/P&gt;&lt;P&gt; where Commit work is being calling for both CC31 and thru IQS1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For CC31, control flows to PERFORM....ON COMMIT. (where a BAdi is called to generate ECR)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;But thru IQS1 on COMMIT WORK statement, i press F5, control goes back to initially called module PAI , highlighted as under, rather than going back to PERFORM .... ON COMMIT&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; process after &lt;SPAN class="L1S52"&gt;input.&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;module&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;exit&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;at&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;exit&lt;/SPAN&gt;-command.&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;call&lt;/SPAN&gt; subscreen common.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;call&lt;/SPAN&gt; subscreen &lt;SPAN class="L1S52"&gt;detail&lt;/SPAN&gt;.&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;module&lt;/SPAN&gt; csl_02.&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;field&lt;/SPAN&gt; okcode&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;EM&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;module&lt;/SPAN&gt; okcode.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;STRONG&gt;&lt;EM&gt;And on F8, Message is displayed that ECR is created, but internally BAdi is not called and ECR is not updated in AENR table.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;STRONG&gt;&lt;EM&gt;Any inputs !!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;STRONG&gt;&lt;EM&gt;Thanks&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 06:28:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-commit-work-statement/m-p/8757933#M1676062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-29T06:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Commit Work Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-commit-work-statement/m-p/8757934#M1676063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your "&lt;SPAN style="color: #333333; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;PERFORM .... ON COMMIT&lt;/SPAN&gt;" registered in the second case ?&lt;/P&gt;&lt;P&gt;Is your badi method executed in update task ?&lt;/P&gt;&lt;P&gt;For the second case please let us know the badi used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 06:48:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-commit-work-statement/m-p/8757934#M1676063</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-08-29T06:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Commit Work Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-commit-work-statement/m-p/8757935#M1676064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kesavdas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In second case, Perform...on commit is not called / not registered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BADI used is ECR_UPDATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 08:11:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-commit-work-statement/m-p/8757935#M1676064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-29T08:11:35Z</dc:date>
    </item>
  </channel>
</rss>

