<?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: background job in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4162143#M995111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check for the system field SY-BATCH. IF it is set to 'X" then it means program is running in background else foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran Bobbala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jul 2008 11:45:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-22T11:45:01Z</dc:date>
    <item>
      <title>background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4162142#M995110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If we want to run any program in foreground and background.. what checks need to be done? or &lt;/P&gt;&lt;P&gt;what code need to be add to the program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if any sample program plz help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 11:43:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4162142#M995110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T11:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4162143#M995111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check for the system field SY-BATCH. IF it is set to 'X" then it means program is running in background else foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran Bobbala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 11:45:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4162143#M995111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T11:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4162144#M995112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;U can put a check like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF-sy-batch EQ space.&lt;/P&gt;&lt;P&gt; "Means for ground.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;Means Back ground&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check below points when u run the program as batch job.&lt;/P&gt;&lt;P&gt;All these cases will cause batch job to fail/cancel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Any thing that makes interaction with front end like using GUI_DOWNLOAD fm, Using OOPS ALV/GRID display with FMS etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Error/Abort messages will cause failure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this there are many things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally if the program is taking much time we will run in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 11:48:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4162144#M995112</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-07-22T11:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4162145#M995113</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;Good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1-No need to do any special coding in your report.&lt;/P&gt;&lt;P&gt;2-You can use the SM36 tcode to assign the background jobs for the report and in SM37 you can see the result, if you want to run the report in hourly basis or days basis.&lt;/P&gt;&lt;P&gt;3-If you want to run the report immediately than you can directly run the report by selecting the run in background option and select the immediately button in top so that it will run immediately and give you the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 11:55:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4162145#M995113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T11:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4162146#M995114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;System variable checks whether your program executing in ofre ground or back grund..&lt;/P&gt;&lt;P&gt;SY-BATCH...&lt;/P&gt;&lt;P&gt;&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;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 11:55:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4162146#M995114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T11:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4162147#M995115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can directly run the program in backgroung through&lt;/P&gt;&lt;P&gt;&lt;U&gt;Menu path&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Program -&amp;gt; Execute -&amp;gt; Background.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/sapab005.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/sapab005.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_bw30b/helpdata/en/73/69ef3d55bb11d189680000e829fbbd/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_bw30b/helpdata/en/73/69ef3d55bb11d189680000e829fbbd/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;raam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 11:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4162147#M995115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T11:56:19Z</dc:date>
    </item>
  </channel>
</rss>

