<?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: FD01 FD02 start process after update/commit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457619#M1848044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The CALL FUNCTION IN BACKGROUND TASK are executed after the end of the update task as you can see in online documentaion of COMMIT WORK statement &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jul 2014 07:26:26 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2014-07-24T07:26:26Z</dc:date>
    <item>
      <title>FD01 FD02 start process after update/commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457612#M1848037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to run method after complete customer data update/creation (FD02/FD01)&lt;/P&gt;&lt;P&gt;Before commit is simple to find the place where to make modification (e.g. EXIT_SAPMF02D_001),&lt;/P&gt;&lt;P&gt;but after commit is not so obvious, because validations are done in many places so it is difficult to find place where I can check all warnings/errors and after that call method (or not if errors occure).&lt;/P&gt;&lt;P&gt;to summarize: someone is updating/creating customer (FD02/FD01) than in abap we are checking if there is no errors and run method (initiating interface)&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Tomasz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 11:17:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457612#M1848037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-23T11:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: FD01 FD02 start process after update/commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457613#M1848038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using PERFORM ON COMMIT or CALL FUNCTION IN BACKGROUND TASK you will "schedule" execution of code in the &lt;A href="http://help.sap.com/abapdocu_731/en/abapcommit.htm"&gt;COMMIT WORK&lt;/A&gt; sequence or after, look at those statements' documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 14:54:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457613#M1848038</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-07-23T14:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: FD01 FD02 start process after update/commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457614#M1848039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for good hint,&lt;/P&gt;&lt;P&gt;Unfortunately there is few commits during FD01, FD02 processing (I want process after the last one or with the last one, anyway I'm closer to the solution)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tomasz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 15:04:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457614#M1848039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-23T15:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: FD01 FD02 start process after update/commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457615#M1848040</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;it's not clear what you need to do, if you run your process in UPDATE TASK it will be scheduled in the queue of saving processes, probably it'll be the last fm called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if it's you want &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 15:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457615#M1848040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-23T15:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: FD01 FD02 start process after update/commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457616#M1848041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yes, I want process my code with last commit or after it.&lt;/P&gt;&lt;P&gt;There are few commits during processing FD01 FD02, but I belive that they are processing during one update task, &lt;/P&gt;&lt;P&gt;I think it will solve my problem, I'll share later how it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tomek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 15:24:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457616#M1848041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-23T15:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: FD01 FD02 start process after update/commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457617#M1848042</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;You can try this trick (I think there's a post but I don't rember which is):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A) Create a global class (SE24) having a method (example AFTER_COMMIT) based on the event TRANSACTION_FINISHED of class CL_SYSTEM_TRANSACTION_STATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B) In the exit of FD01/FD02 raise the method of your class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your method should be called as soon as the first COMMIT occurs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;set &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;handler &lt;/SPAN&gt;ztest_max&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;after_commit&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S52"&gt;commit &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;work&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my example I've create the class ZTEST_MAX, the method AFTER_COMMIT will be processed after COMMIT WORK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 15:44:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457617#M1848042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-23T15:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: FD01 FD02 start process after update/commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457618#M1848043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow,&lt;/P&gt;&lt;P&gt;it sounds really good,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You very much,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Tomasz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 15:55:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457618#M1848043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-23T15:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: FD01 FD02 start process after update/commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457619#M1848044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The CALL FUNCTION IN BACKGROUND TASK are executed after the end of the update task as you can see in online documentaion of COMMIT WORK statement &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 07:26:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fd01-fd02-start-process-after-update-commit/m-p/10457619#M1848044</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-07-24T07:26:26Z</dc:date>
    </item>
  </channel>
</rss>

