<?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: Help with a FM running in background task in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364243#M1839243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting thing here,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The commit will happen automatically if the executable program completes sucessfully without runtime error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. if you call the FM in background its not necessary that it executes right then, it will be scheduled for execution, In my system the background job will be scheduled with the delay of 30 mins atleast in DEV. Not sure how it decides the time. Please check if the job is scheduled or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yes you can change the start time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 May 2014 14:21:32 GMT</pubDate>
    <dc:creator>former_member183073</dc:creator>
    <dc:date>2014-05-29T14:21:32Z</dc:date>
    <item>
      <title>Help with a FM running in background task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364236#M1839236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have problem with FM runing in background task!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ıts suppsed to update the table zmm_t_so_001, it works well when run without background task&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have ran FMs like BAPis in background before and it was ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Module --- ZZ_TEST_BACKGROUND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;STRONG&gt;function &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;zz_test_background&lt;/STRONG&gt;&lt;SPAN class="L0S55"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; break solend&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;data&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;lr_satinalma_header&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;new &lt;/SPAN&gt;zmm_t_so_001&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;call &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;method &lt;/SPAN&gt;zcl_mm_so&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;get_next_number_appid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;importing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; appid &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lr_satinalma_header&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;appid&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; lr_satinalma_header&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;belnr &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;value &lt;/SPAN&gt;#&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; lr_satinalma_header&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;kalnr &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;value &lt;/SPAN&gt;#&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*Aktarım durumu Yeni&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; lr_satinalma_header&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;bstyp &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;value &lt;/SPAN&gt;#&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*Aktarım durumu&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; lr_satinalma_header&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;akdur &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'YK'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; lr_satinalma_header&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;frgst &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;value &lt;/SPAN&gt;#&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*Onay Tipi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; lr_satinalma_header&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;ontip &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;value &lt;/SPAN&gt;#&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; lr_satinalma_header&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;ontur &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;value &lt;/SPAN&gt;#&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; lr_satinalma_header&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;erdat &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;datum&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; lr_satinalma_header&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;erzet &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;uzeit&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; lr_satinalma_header&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;ernam &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;uname&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;**Gonderim durumu&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; lr_satinalma_header&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;gondr &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;' '&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;**İnsert here!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;insert &lt;/SPAN&gt;zmm_t_so_001 &lt;SPAN class="L0S52"&gt;from &lt;/SPAN&gt;lr_satinalma_header&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;*&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;&amp;nbsp; commit work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;endfunction&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="L0S55"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&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;then this Fm is called from the report here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;STRONG&gt;report &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;z_learnıng&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;START-OF-SELECTION&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;call &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ZZ_TEST_BACKGROUND'&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;in &lt;/SPAN&gt;BACKGROUND &lt;SPAN class="L0S52"&gt;TASK&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;STRONG&gt;&amp;nbsp; .&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&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;the interesting part is it works ok when its ran without the BACKGROUND TASK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 12:55:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364236#M1839236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-29T12:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a FM running in background task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364237#M1839237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Solen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When FM in called in background task then it first registered for LUW wont execute immediately. After COMMIT WORK statement the registered FM will execute.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, i not seeing commit work statement in calling program Z_learning to execute the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/saphelp_nwpi71/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm" title="https://help.sap.com/saphelp_nwpi71/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm"&gt;https://help.sap.com/saphelp_nwpi71/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards &lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 13:43:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364237#M1839237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-29T13:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a FM running in background task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364238#M1839238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Solen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try and add COMMIT WORK after the CALL FUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will update the database and also your problem will be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ganesh Lathi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 13:46:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364238#M1839238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-29T13:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a FM running in background task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364239#M1839239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi aruna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the comment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried that and it still didnt update &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please try yourself to update a z table like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats the reason i put it on SDN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Smth is causing it but no idea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 13:46:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364239#M1839239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-29T13:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a FM running in background task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364240#M1839240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Solen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just want know any run time errors in ST22 ? Can you comment commit work inside the FM and try ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 14:06:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364240#M1839240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-29T14:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a FM running in background task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364241#M1839241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ganesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i also added commit after the FM but that also dint fix the issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i was checking the remote comparison by chance i saw that there is s problem with RFC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i come to think it might be the RFC that has problem maybe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then just now i tried and it worked without code change&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it didnt make sense to me but i guess it was RFC issue!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks guys for suggections!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 14:07:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364241#M1839241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-29T14:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a FM running in background task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364242#M1839242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Solen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you mentioned that you are using RFC. Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION '-----------' IN BACKGROUND TASK DESTINATION 'RFC_DEST'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here keep RFC destination&amp;nbsp; as your calling system itself.&lt;/P&gt;&lt;P&gt;May be this will solve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarsd,&lt;/P&gt;&lt;P&gt;Ganesh Lathi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 14:12:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364242#M1839242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-29T14:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a FM running in background task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364243#M1839243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting thing here,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The commit will happen automatically if the executable program completes sucessfully without runtime error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. if you call the FM in background its not necessary that it executes right then, it will be scheduled for execution, In my system the background job will be scheduled with the delay of 30 mins atleast in DEV. Not sure how it decides the time. Please check if the job is scheduled or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yes you can change the start time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 14:21:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364243#M1839243</guid>
      <dc:creator>former_member183073</dc:creator>
      <dc:date>2014-05-29T14:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a FM running in background task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364244#M1839244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 2 point i got a point from help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"If the specified destination is not available when COMMIT WORK is executed, an &lt;A href="https://community.sap.com/"&gt;executable program&lt;/A&gt; called RSARFCSE is started in &lt;A href="https://community.sap.com/"&gt;background processing&lt;/A&gt;. By default, this tries to start the function modules registered for a SAP LUW in their destination every 15 minutes and up to 30 times. You can make changes to these parameters using transaction &lt;A href="https://community.sap.com/"&gt;SM59&lt;/A&gt;. If the destination does not become available within the defined time, it is recorded in the database table &lt;A href="https://community.sap.com/"&gt;ARFCSDATA&lt;/A&gt; as the entry "CPICERR". By default, this entry in database table &lt;A href="https://community.sap.com/"&gt;ARFCSSTATE&lt;/A&gt; is deleted after eight days."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So adding destination with the background may help in getting that Job start automatically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 14:31:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364244#M1839244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-29T14:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a FM running in background task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364245#M1839245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yah good one, i didn't know that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i told that the job it itself will be scheduled to start after 30 mins the start time will be +30 mins from the execution of the parent program, how that happens?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 14:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-fm-running-in-background-task/m-p/10364245#M1839245</guid>
      <dc:creator>former_member183073</dc:creator>
      <dc:date>2014-05-29T14:38:36Z</dc:date>
    </item>
  </channel>
</rss>

