<?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: Issues while executing background job programatically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-while-executing-background-job-programatically/m-p/10632665#M1864660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Faizur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have the option to run the job in background for Point 3 right so option 2 is not required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if a job is scheduled to run in background, then SY-BATCH will be 'X' and the program will run in the back ground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case the program will be executed in the foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this details will help you. if not please let me know the exact point 2 &amp;amp; 3 requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Sep 2014 15:20:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-09-15T15:20:19Z</dc:date>
    <item>
      <title>Issues while executing background job programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-while-executing-background-job-programatically/m-p/10632664#M1864659</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;My Selction screen has a push button(BG) and the standard F8(Execute) button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If the user click the f8 button i.e sy-ucomm = ONLI , the report should run in foreground mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;SPAN style="font-size: 13.63636302948px;"&gt; If the user click the push button button&amp;nbsp; BGi.e sy-ucomm = FC01 , the report should run in background mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; and create file in sharepath.( i have used fm JOB_OPEN ,SUBMIT etc for this)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;3.&lt;SPAN style="font-size: 13.63636302948px;"&gt; If the user click the F9 button i.e sy-batch = X , the report should run in background mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; and create file in sharepath&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;a)When I click the push button i.e point 2&amp;nbsp; , then the report executes in online mode only .I dont see any &lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;jobs in SM37 &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.sap.com/1024/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;Pls help!!!&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;-Faiz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 14:50:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issues-while-executing-background-job-programatically/m-p/10632664#M1864659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-15T14:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issues while executing background job programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-while-executing-background-job-programatically/m-p/10632665#M1864660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Faizur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have the option to run the job in background for Point 3 right so option 2 is not required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if a job is scheduled to run in background, then SY-BATCH will be 'X' and the program will run in the back ground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case the program will be executed in the foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this details will help you. if not please let me know the exact point 2 &amp;amp; 3 requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 15:20:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issues-while-executing-background-job-programatically/m-p/10632665#M1864660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-15T15:20:19Z</dc:date>
    </item>
  </channel>
</rss>

