<?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: COMMIT WORK closes a transaction call in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178833#M125116</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;There is actually a standard solution for this with the CALL TRANSACTION statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has an optional syntax element 'OPTIONS FROM opt' where the 'opt' is a structure with specific option fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the fields 'RACOMMIT' controls whether the commit work statement will stop the BDC or not. By default it will but by using this field you can prevent it from happening ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jan 2006 17:38:44 GMT</pubDate>
    <dc:creator>StevenDeSaeger</dc:creator>
    <dc:date>2006-01-10T17:38:44Z</dc:date>
    <item>
      <title>COMMIT WORK closes a transaction call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178827#M125110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! I have two different programs. In one of them, I call a transaction to the second program in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ZVGI03A_RCR' USING bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the second program, I have to use 'COMMIT WORK' but after that the program finish itself suddenly, returning to the first program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the reason?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2006 16:26:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178827#M125110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-10T16:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK closes a transaction call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178828#M125111</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;U cant use the commit work inside a program, calling form call transaction method. It ends the LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sreedhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2006 16:28:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178828#M125111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-10T16:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK closes a transaction call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178829#M125112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I call the program usign CALL PROGRAM instead of CALL TRANSACTION??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2006 16:35:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178829#M125112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-10T16:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK closes a transaction call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178830#M125113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use "Submit program &amp;lt;progname&amp;gt; and return."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2006 16:46:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178830#M125113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-10T16:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK closes a transaction call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178831#M125114</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;If you have used a COMMIT WORK command, your BDC'll end at the point where you've done the COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which kind is your Z-program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2006 16:51:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178831#M125114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-10T16:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK closes a transaction call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178832#M125115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use submit program if the report is a report, but how would you handle the BDC table? If possible, I'd take the commit out of the other program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2006 17:03:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178832#M125115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-10T17:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK closes a transaction call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178833#M125116</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;There is actually a standard solution for this with the CALL TRANSACTION statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has an optional syntax element 'OPTIONS FROM opt' where the 'opt' is a structure with specific option fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the fields 'RACOMMIT' controls whether the commit work statement will stop the BDC or not. By default it will but by using this field you can prevent it from happening ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2006 17:38:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178833#M125116</guid>
      <dc:creator>StevenDeSaeger</dc:creator>
      <dc:date>2006-01-10T17:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK closes a transaction call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178834#M125117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;You could use the Call Transacation ... OPTIONS&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ZXYZ' UING bdc_tab &lt;/P&gt;&lt;P&gt;     OPTIONS FROM bdc_opt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where bdc_opt is defined as:&lt;/P&gt;&lt;P&gt;DATA: bdc_opt TYPE ctu_params.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the parameter: bdc_opt-racommit ist set to ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the Call-Transaction will not end on any COMMIT WORK of the called transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2006 08:24:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-closes-a-transaction-call/m-p/1178834#M125117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-11T08:24:55Z</dc:date>
    </item>
  </channel>
</rss>

