<?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: FM in background process in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-in-background-process/m-p/4407499#M1047415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whenever a FM is executed in Background task, the processing of the FM starts only when a "COMMIT WORK" statement is encountered during the remaining processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you need to explicitly call "COMMIT WORK" for you background FM to be processed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Sep 2008 11:36:18 GMT</pubDate>
    <dc:creator>former_member195698</dc:creator>
    <dc:date>2008-09-20T11:36:18Z</dc:date>
    <item>
      <title>FM in background process</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-in-background-process/m-p/4407497#M1047413</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 hve to process a FM in background process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstlly i scheduled a report through &lt;/P&gt;&lt;P&gt;1-call function 'JOB_OPEN'&lt;/P&gt;&lt;P&gt;2-SUBMIT (jobname) and return&lt;/P&gt;&lt;P&gt;3-call function 'JOB_CLOSE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by this i scheduled my job succesfully.&lt;/P&gt;&lt;P&gt;but i hve to scheduled my job for FM.&lt;/P&gt;&lt;P&gt;so i used&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'Y_WS4_WRK' in background task&lt;/P&gt;&lt;P&gt;DESTINATION 'NONE'  AS SEPARATE UNIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;buy   i'm unble to see there result in sp01, sm37 , sm58 n without adding " in background task it's giving right result.&lt;/P&gt;&lt;P&gt;pls help me how to get my result&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 06:31:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-in-background-process/m-p/4407497#M1047413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-17T06:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: FM in background process</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-in-background-process/m-p/4407498#M1047414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anuj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL THE FM directly without background task if you are using JOB_OPEN etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL THE FM WITH BACKGROUND TASK if you are not using JOB_OPEN, SUBMIT etc. i.e. If you are having a program which would be executed in foreground &amp;amp; want the FM to be executed in background in asynchronus mode, then call it in Background task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2008 04:12:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-in-background-process/m-p/4407498#M1047414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-20T04:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: FM in background process</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-in-background-process/m-p/4407499#M1047415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whenever a FM is executed in Background task, the processing of the FM starts only when a "COMMIT WORK" statement is encountered during the remaining processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you need to explicitly call "COMMIT WORK" for you background FM to be processed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2008 11:36:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-in-background-process/m-p/4407499#M1047415</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2008-09-20T11:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: FM in background process</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-in-background-process/m-p/4407500#M1047416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 05:57:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-in-background-process/m-p/4407500#M1047416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T05:57:25Z</dc:date>
    </item>
  </channel>
</rss>

