<?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: Persistent Object Services and Commit Work in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-object-services-and-commit-work/m-p/6488277#M1419981</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've never done this but have you tried to set up different modes? It looks like it's well described [here|http://help.sap.com/saphelp_nw04/helpdata/en/f5/a3682bbc6911d4b2e80050dadfb92b/frameset.htm]. Especially, the section Nesting and Concatenation looks related to your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jan 2010 00:00:54 GMT</pubDate>
    <dc:creator>mvoros</dc:creator>
    <dc:date>2010-01-12T00:00:54Z</dc:date>
    <item>
      <title>Persistent Object Services and Commit Work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-object-services-and-commit-work/m-p/6488276#M1419980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two table A and B with Persistent Object Services which are wrapped around a OO transaction service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a program which calls a SQL update to a table C. I do not do a commit work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right after the update statement to C I make a call to the transaction service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically the code in the transaction service is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cl_os_system=&amp;gt;init_and_set_modes( i_external_commit = oscon_false&lt;/P&gt;&lt;P&gt;                            i_update_mode = oscon_dmode_direct ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tx_manager = cl_os_system=&amp;gt;get_transaction_manager( ).&lt;/P&gt;&lt;P&gt;  tx = tx_manager-&amp;gt;create_transaction( ).&lt;/P&gt;&lt;P&gt;  tx-&amp;gt;start( ).&lt;/P&gt;&lt;P&gt;Set the data in the persistent object services for tables A and B.&lt;/P&gt;&lt;P&gt;tx-&amp;gt;end( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my understanding was that only the data in A and B should get updated on the tx-&amp;gt;end( ) call. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the data in table C, which is not part of the object services is also getting updated at the same time. I do not want this to happen. Is there a way to prevent this update to table C?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 22:41:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-object-services-and-commit-work/m-p/6488276#M1419980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-11T22:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Object Services and Commit Work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-object-services-and-commit-work/m-p/6488277#M1419981</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've never done this but have you tried to set up different modes? It looks like it's well described [here|http://help.sap.com/saphelp_nw04/helpdata/en/f5/a3682bbc6911d4b2e80050dadfb92b/frameset.htm]. Especially, the section Nesting and Concatenation looks related to your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 00:00:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-object-services-and-commit-work/m-p/6488277#M1419981</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2010-01-12T00:00:54Z</dc:date>
    </item>
  </channel>
</rss>

