<?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: Difference in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642269#M286027</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;Technically if you want to find out the difference between Foreground and Background for a program then check the system variable sy-batch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-batch eq 'X'&lt;/P&gt;&lt;P&gt;then it is being executed in background&lt;/P&gt;&lt;P&gt;else if sy-batch is initial.&lt;/P&gt;&lt;P&gt;then it being executed in foreground.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Nov 2006 10:17:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-22T10:17:56Z</dc:date>
    <item>
      <title>Difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642264#M286022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please explain me the diff between foreground &amp;amp; background process.&lt;/P&gt;&lt;P&gt;what is defined as jobs here.&lt;/P&gt;&lt;P&gt;which transactions were used for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 10:03:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642264#M286022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-22T10:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642265#M286023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Foreground, is something when a user executing while he is online, some thing like you got SE38 and execute a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you schedule the same program via SM36, that becomes a Background execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SM36 is the transaction used to schedule a job in the background. apart from that you can do the same from SE38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note - Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 10:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642265#M286023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-22T10:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642266#M286024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SM36 is used to create jobs&lt;/P&gt;&lt;P&gt;SM37 is used to monitor batch jobs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 10:08:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642266#M286024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-22T10:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642267#M286025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you a job which takes longer time to process you can set it in background so that whenever the serves is free that system will process the job (eg. during night). This is all to just reduce the system burden.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Foreground is nothing but the usual method of running a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use transaction SM36 or SM37 to set your job in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Surya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 10:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642267#M286025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-22T10:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642268#M286026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI john,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The basic difference between foreground and background is, foreground means, the process execution is shared between your SAP GUI session on your local PC and the application server. Whereas background process uses the resources of application server, i.e., runs on application server. &lt;/P&gt;&lt;P&gt;In foreground jobs are only allowed a certain amount of runtime. Long running jobs usually times out in foreground, and have to be run background. Some customers has day-end jobs to fill custom tables, and these only run late at night, so they are scheduled as background jobs as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create background job:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;	From the main menu select System&amp;gt;Services&amp;gt;Jobs&amp;gt;Define Job (transaction SM36). &lt;/P&gt;&lt;P&gt;&amp;#149;	Press the Job Wizard button and step through the screens as follows:  &lt;/P&gt;&lt;P&gt;&amp;#149;	Screen 1:    &lt;/P&gt;&lt;P&gt;Continue &lt;/P&gt;&lt;P&gt;&amp;#149;	Screen 2:    &lt;/P&gt;&lt;P&gt;Enter a name for your job. Continue. &lt;/P&gt;&lt;P&gt;&amp;#149;	Screen 3:    &lt;/P&gt;&lt;P&gt;Continue with ABAP Program Step selected  &lt;/P&gt;&lt;P&gt;&amp;#149;	Screen 4:     &lt;/P&gt;&lt;P&gt;Enter the ABAP Program Name and variant name. &lt;/P&gt;&lt;P&gt;Press the Print Parameters button, specify the required printer and set the "Time of Print" to "Send to Print Spooler for now". &lt;/P&gt;&lt;P&gt;Press green tick &lt;/P&gt;&lt;P&gt;Continue &lt;/P&gt;&lt;P&gt;&amp;#149;	Screen 5:   &lt;/P&gt;&lt;P&gt;If more reports need to be added to the job tick the checkbox, press continue and repeat screens 3 and 4. &lt;/P&gt;&lt;P&gt;&amp;#149;	Screen 6:    &lt;/P&gt;&lt;P&gt;Select how the job is to scheduled (eg Date and Time) &lt;/P&gt;&lt;P&gt;&amp;#149;	Screen 7:    &lt;/P&gt;&lt;P&gt;Enter the required scheduling information ( eg Date and Time) and if required tick "Periodic Jobs" &lt;/P&gt;&lt;P&gt;&amp;#149;	Screen 8:    &lt;/P&gt;&lt;P&gt;If "Periodic Job" was selected select the frequency (eg Monthly) &lt;/P&gt;&lt;P&gt;&amp;#149;	Screen 9:    &lt;/P&gt;&lt;P&gt;Check the job details and press Complete &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for more info,chk this link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.le.ac.uk/mis/docs/sapdocs/af/af1-2%20Background%20Jobs.doc" target="test_blank"&gt;http://www.le.ac.uk/mis/docs/sapdocs/af/af1-2%20Background%20Jobs.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        keerthi kiran varanasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 10:15:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642268#M286026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-22T10:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642269#M286027</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;Technically if you want to find out the difference between Foreground and Background for a program then check the system variable sy-batch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-batch eq 'X'&lt;/P&gt;&lt;P&gt;then it is being executed in background&lt;/P&gt;&lt;P&gt;else if sy-batch is initial.&lt;/P&gt;&lt;P&gt;then it being executed in foreground.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 10:17:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642269#M286027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-22T10:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642270#M286028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to add to that , Sometimes when u run  a program in foreground this may take several minutes , when u do it in background it will take very less time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for every program u have the option to run in background&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the menu  program----&amp;gt;execute in background&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 10:25:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642270#M286028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-22T10:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642271#M286029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Foreground Execution is normal execution which is online&lt;/P&gt;&lt;P&gt;(fore ground example SE38 )&lt;/P&gt;&lt;P&gt;Background execution you can execute the job using SM36 schedule the job, and it will run in background. (background is SE38,SM36)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 10:27:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642271#M286029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-22T10:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642272#M286030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Foreground execution means running a program either by se38 or transction by providing all the inputs and clicking on execute button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while background processing means scheduling a job by sm36 by providing the variant for the screen criteria.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 11:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/1642272#M286030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-22T11:12:30Z</dc:date>
    </item>
  </channel>
</rss>

