<?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 work statement creating problem in CALL TRANSACTION in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-statement-creating-problem-in-call-transaction/m-p/8555171#M1658565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are facing a problem where we need to call a standard program from a  Zprogram.&lt;/P&gt;&lt;P&gt;we have tried the following ways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Using SUBMIT statement , we are sending the parameters to the standard program, but when the standard program gives a   &lt;/P&gt;&lt;P&gt;    dump our program cannot process further records. we are calling the submit statment in a loop. As because the standard &lt;/P&gt;&lt;P&gt;    program is giving dump our program is not able to process the next record in the loop and this should not be the case.&lt;/P&gt;&lt;P&gt;    To avoid this we have used the second method.&lt;/P&gt;&lt;P&gt;2. we used a CALL transaction, we have created a Tcode for the standard program and called this transaction in the calling &lt;/P&gt;&lt;P&gt;    program. We are passing the parameters for the  standard program via BDC table. this works fine even when  the standard &lt;/P&gt;&lt;P&gt;    program gives a dump but when ever the control   comes across a Commit work statement the the control comes back to our &lt;/P&gt;&lt;P&gt;   calling program with out executing the rest of the   statments after the commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now our concern is even though there is an commit work statement , statements after the commit work should also get executed in call transaction. Is thee any way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2012 12:33:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-02-15T12:33:37Z</dc:date>
    <item>
      <title>Commit work statement creating problem in CALL TRANSACTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-statement-creating-problem-in-call-transaction/m-p/8555171#M1658565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are facing a problem where we need to call a standard program from a  Zprogram.&lt;/P&gt;&lt;P&gt;we have tried the following ways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Using SUBMIT statement , we are sending the parameters to the standard program, but when the standard program gives a   &lt;/P&gt;&lt;P&gt;    dump our program cannot process further records. we are calling the submit statment in a loop. As because the standard &lt;/P&gt;&lt;P&gt;    program is giving dump our program is not able to process the next record in the loop and this should not be the case.&lt;/P&gt;&lt;P&gt;    To avoid this we have used the second method.&lt;/P&gt;&lt;P&gt;2. we used a CALL transaction, we have created a Tcode for the standard program and called this transaction in the calling &lt;/P&gt;&lt;P&gt;    program. We are passing the parameters for the  standard program via BDC table. this works fine even when  the standard &lt;/P&gt;&lt;P&gt;    program gives a dump but when ever the control   comes across a Commit work statement the the control comes back to our &lt;/P&gt;&lt;P&gt;   calling program with out executing the rest of the   statments after the commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now our concern is even though there is an commit work statement , statements after the commit work should also get executed in call transaction. Is thee any way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 12:33:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-statement-creating-problem-in-call-transaction/m-p/8555171#M1658565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T12:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work statement creating problem in CALL TRANSACTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-statement-creating-problem-in-call-transaction/m-p/8555172#M1658566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please search in SCN. The solution to this is already available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 12:36:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-statement-creating-problem-in-call-transaction/m-p/8555172#M1658566</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-02-15T12:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work statement creating problem in CALL TRANSACTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-statement-creating-problem-in-call-transaction/m-p/8555173#M1658567</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;&lt;/P&gt;&lt;P&gt;I got the solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ctu_parameters TYPE ctu_params.&lt;/P&gt;&lt;P&gt;ctu_parameters-dismode = 'E'.&lt;/P&gt;&lt;P&gt;ctu_parameters-updmode = 'A'.&lt;/P&gt;&lt;P&gt;ctu_parameters-racommit = 'X'. "No abortion by COMMIT WORK&lt;/P&gt;&lt;P&gt;CALL TRANSACTION USING itab_bdcdata OPTIONS FROM ctu_parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above code will work even if there is an commit work . This might help some others.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 12:46:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-statement-creating-problem-in-call-transaction/m-p/8555173#M1658567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T12:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work statement creating problem in CALL TRANSACTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-statement-creating-problem-in-call-transaction/m-p/8555174#M1658568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the solution in SDN itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 12:47:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-statement-creating-problem-in-call-transaction/m-p/8555174#M1658568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T12:47:00Z</dc:date>
    </item>
  </channel>
</rss>

