<?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: Update before rollback in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205968#M1376889</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 error then you update variable as lv_error = 'Y'  rollback.&lt;/P&gt;&lt;P&gt;After rollback you can check the lv_error = 'Y' then update your Ztable. I hope you must be storing required information to update&lt;/P&gt;&lt;P&gt;ztable in an  internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Sep 2009 12:03:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-25T12:03:17Z</dc:date>
    <item>
      <title>Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205965#M1376886</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;  how can I save some data in a Z table before rolling back a transaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the order is something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;transaction start&lt;/P&gt;&lt;P&gt;  do something&lt;/P&gt;&lt;P&gt;  update, modify etc&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;  error&lt;/P&gt;&lt;P&gt;  update ZTABLE&lt;/P&gt;&lt;P&gt;  rollback.&lt;/P&gt;&lt;P&gt;end of transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;obviously in the order mentioned also the update of ZTABLE will be rolled back, my need is to save it and roll back everything else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Stefano Cattaneo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 09:44:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205965#M1376886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-25T09:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205966#M1376887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the value of sy-subrc when you are updating your primary table. If sys-subrc ne 0, then you update the ZTABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 10:05:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205966#M1376887</guid>
      <dc:creator>rvinod1982</dc:creator>
      <dc:date>2009-09-25T10:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205967#M1376888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;  the problem is that I'm working on a FM called from a standard program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The standard program make some update (without commit) and after this calls my FM. &lt;/P&gt;&lt;P&gt;  In my function module I make some checks and if necessary, i raise an error. &lt;/P&gt;&lt;P&gt;  The error cause the standard program to rollback everything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is to change a Ztable before raising the error. The problem is that I cannot make a commit work at this point to prevent that all the changes previously made will also be commited. I can't neither make a rollback because I'm not supposed to control the rollback event in my function module. What I'm looking for is a way to manage my update in a different LUW or to postpone my update after the rollback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 10:18:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205967#M1376888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-25T10:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205968#M1376889</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 error then you update variable as lv_error = 'Y'  rollback.&lt;/P&gt;&lt;P&gt;After rollback you can check the lv_error = 'Y' then update your Ztable. I hope you must be storing required information to update&lt;/P&gt;&lt;P&gt;ztable in an  internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 12:03:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205968#M1376889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-25T12:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205969#M1376890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narajan,&lt;/P&gt;&lt;P&gt;  I can't insert any code after rollback since there are no exit after that.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  I tried to use perform on rollback but I can't insert a commit inside of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any other suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 12:18:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205969#M1376890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-25T12:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205970#M1376891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;U&gt;Maybe&lt;/U&gt; you could register a routine in your FM with PERFORM ... ON ROLLBACK, in which this update is done. However you cannot do a COMMIT WORK inside such a registered routine, so not sure if this works.&lt;/P&gt;&lt;P&gt;Is there another enhancement point (or similar) &lt;U&gt;after&lt;/U&gt; the rollback in the standard program? If yes, you could store some data in ABAP memory in your first FM which you could read in a second FM and update your table accordingly.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: sorry, all obsolete after reading your last reply...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 12:22:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205970#M1376891</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-09-25T12:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205971#M1376892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a small function to do the Z-table update, make it RFC - callable and call it with addition 'DESTINATION 'NONE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This starts a new task and the update in the new task can only be rolled back in the new task making it independent of the calling task - that may be rolled back.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 23:31:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205971#M1376892</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2009-09-25T23:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205972#M1376893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have the same problem, so i hope it is OK when i join this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tthe ABAP-documention says, that the synchronous RFC triggers a database commit in the calling program:&lt;/P&gt;&lt;P&gt; [http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_DESTINATION.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is it possbile to do it in a separate LUW without calling a COMMIT WORK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition KEEPING LOGICAL UNIT OF WORK is unfortunetaly &lt;STRONG&gt;not allowed to use&lt;/STRONG&gt;...&lt;/P&gt;&lt;P&gt;[http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_DESTINATION_INT.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many greetings,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2009 05:58:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205972#M1376893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-26T05:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205973#M1376894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may need to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION - STARTING NEW TASK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/3d/a846df17c1014e928626637ab06838/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/3d/a846df17c1014e928626637ab06838/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2009 06:23:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205973#M1376894</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-09-26T06:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205974#M1376895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  a®s,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks, however this will call the FM as an asynchronous RFC and trigger a database commit in the calling program, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the SAP ABAP-Keyword Documention under Notes:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_STARTING.htm"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's not so easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many greetings,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2009 07:51:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205974#M1376895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-26T07:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205975#M1376896</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;oh yes - any RFC call (including starting new task and destination NONE) will trigger an implicit database commit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way will be to put all database operations into a PERFORM ON COMMIT or write a function and call it IN UPDATE TASK. Those will be triggered  only  by &lt;STRONG&gt;explicit&lt;/STRONG&gt; COMMIT WORK (or call of function BAPI_TRANSACTION_COMMIT).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"An SAP LUW that is not closed by COMMIT WORK, but instead by ending the current program or closing the internal session, has no effect on the registered procedures. Registered update function modules remain on the database but can no longer be executed." ([ABAP Keyword Documentation u2192  ABAP - Reference u2192  Processing External Data u2192  Data Consistency u2192  SAP LUW u2192  COMMIT WORK|http://help.sap.com/abapdocu_70/en/ABAPCOMMIT.htm])&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2009 11:00:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205975#M1376896</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2009-09-26T11:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205976#M1376897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anybody experience with the &lt;STRONG&gt;Background Remote Function Calls bgRFC&lt;/STRONG&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the [ABAP documentation|http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_BACKGROUND_UNIT.htm] for bgRFC they say:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;--- begin of copy &amp;amp; paste -&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- If, within the same SAP LUW, bgRFC units and also updates are executed, the bgRFC units are dependent on the update. Only after the update has been processed can the linked bgRFC also be processed. When an incorrect update record is deleted, the corresponding bgRFC units are also deleted. The linkage of bgRFC with the update can be removed with the interface method IF_BGRFC_UNIT~SEPARATE_FROM_UPDATE_TASK of the bgRFC object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Dialog module registered bgRFCs that were not started there using COMMIT WORK are not executed by the COMMIT WORK of the caller either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- The statements COMMIT WORK and ROLLBACK WORK may not be executed in a unit. In addition, no implicit database commit may be triggered there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;---- end of copy &amp;amp; paste -&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This sounds for me, that some LUW-Units can linked together and proceeded separately ?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2009 13:41:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205976#M1376897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-26T13:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205977#M1376898</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;after update command..u do commit work...&lt;/P&gt;&lt;P&gt;and then use other statements..&lt;/P&gt;&lt;P&gt;and after that rollback work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards&lt;/P&gt;&lt;P&gt;Dhruv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Sep 2009 13:02:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205977#M1376898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-27T13:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205978#M1376899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not write it to a log file before the rollback?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Sep 2009 19:48:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205978#M1376899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-27T19:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205979#M1376900</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;  I work-around my problem using a rollback followed by the update and the commit, after this the main program continue its operations...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Anyway I'm still looking for a better solution. The way suggested by Stefan Gerschler is the same I'm trying to follow. So the question is if it's possible to start a new LUW without closing the current one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2009 08:01:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205979#M1376900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-28T08:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205980#M1376901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Why not write it to a log file before the rollback?&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Cheers,&lt;/P&gt;&lt;P&gt;&amp;gt; Julius&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Julius,&lt;/P&gt;&lt;P&gt;  your solution is a nice work-around that I considered but, as stated in the previous message, I choose a different one. Now I still looking for "the" solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2009 08:04:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205980#M1376901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-28T08:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205981#M1376902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;update the ztable after rollback.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2009 08:09:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205981#M1376902</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2009-09-28T08:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205982#M1376903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; update the ztable after rollback.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Rainer,&lt;/P&gt;&lt;P&gt;  as stated in previous messages working after standard rollback is not an option since there are no exit point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2009 08:24:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205982#M1376903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-28T08:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205983#M1376904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a variant of the &lt;STRONG&gt;internal&lt;/STRONG&gt; DESTINATION 'NONE' suggestion, you could try an &lt;STRONG&gt;R/3&lt;/STRONG&gt; connection. Create a remote enabled FM and update your ztable in the FM. If you save the logon data (which you don't have to within the same system) then take the sy-uname with as a parameter together with the other data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A bit ugly, but might work for your requirement purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2009 14:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205983#M1376904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-28T14:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Update before rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205984#M1376905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;This thread is a bit oldish but I would like to stir a little bit here...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the first sight, it appears that the point is to break the consistency of a transaction - save some data to DB while not saving others. With regards to the fact that most developers try to stick to the ACID principle rather than break it, the task looks interesting and hard to be justified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But on a second thought, the problem seems to me a bid to narrowly defined to me. Why have the data been put in any kind of persistency layer at all in the first place? Why the need to call the rollback?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g., there is a TEST switch in most BAPIs allowing to mock the processing of the data without running into risk that anything is going to be saved to DB upon commit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the checks and error handling should be done in the application layer rather than the DB one, shouldn't they?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe the design of the solution needs some reengineering?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Wiktor Nyckowski&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 15:17:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-before-rollback/m-p/6205984#M1376905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-26T15:17:17Z</dc:date>
    </item>
  </channel>
</rss>

