<?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 Problem with commit work when using call transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-work-when-using-call-transaction/m-p/7539064#M1562178</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;I have a problem while using commit work when usin call transaction.&lt;/P&gt;&lt;P&gt;Following is my code snippet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program 1 &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
--------
-------
Begin of PAI module 
------
-----
call transaction 'ZTCODE' using bdcdata.
------
end of PAI 
------
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program of ZTCODE&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
-----
-----
call function 'MPLAN_CREATE'
BAPI_TRANSACTION_COMMIT
----
call function 'MPLAN_START'
----
----
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here problem is that when I am calling my Program1 the transaction ZTCODE is called and once the control finishes the &lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT statement, it is not executing the remaining statements. It is directly going back to the PAI module where the call transaction statement in the PAI module of Program1 without executing the remaining statements after the commit statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know your suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Dec 2010 11:26:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-28T11:26:17Z</dc:date>
    <item>
      <title>Problem with commit work when using call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-work-when-using-call-transaction/m-p/7539064#M1562178</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;I have a problem while using commit work when usin call transaction.&lt;/P&gt;&lt;P&gt;Following is my code snippet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program 1 &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
--------
-------
Begin of PAI module 
------
-----
call transaction 'ZTCODE' using bdcdata.
------
end of PAI 
------
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program of ZTCODE&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
-----
-----
call function 'MPLAN_CREATE'
BAPI_TRANSACTION_COMMIT
----
call function 'MPLAN_START'
----
----
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here problem is that when I am calling my Program1 the transaction ZTCODE is called and once the control finishes the &lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT statement, it is not executing the remaining statements. It is directly going back to the PAI module where the call transaction statement in the PAI module of Program1 without executing the remaining statements after the commit statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know your suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 11:26:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-work-when-using-call-transaction/m-p/7539064#M1562178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-28T11:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with commit work when using call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-work-when-using-call-transaction/m-p/7539065#M1562179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to use RACOMMIT = X in call transaction parameters.( ctuparams ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
wa_ctuparams-racommit = 'X'.  "&amp;lt;--
wa_ctuparams-dismode = 'A'.
wa_ctuparams-updmode = 'S'.
CALL TRANSACTION 'ABCD' USING bdcdata
                          OPTIONS FROM wa_ctuparams.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 11:39:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-work-when-using-call-transaction/m-p/7539065#M1562179</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-12-28T11:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with commit work when using call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-work-when-using-call-transaction/m-p/7539066#M1562180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keshav, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply. My problem got resolved &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 12:05:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-work-when-using-call-transaction/m-p/7539066#M1562180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-28T12:05:39Z</dc:date>
    </item>
  </channel>
</rss>

