<?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 differentiate foreground and background processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-foreground-and-background-processing/m-p/3322611#M795898</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 want to execute a certain report in background. If the user tries to execute the program in foreground, the system should prompt him not to run it in foreground. In the same way, the message should not come if the program is run in backgroud. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is, the system should &lt;STRONG&gt;differentiate&lt;/STRONG&gt; whether the program is run in &lt;STRONG&gt;foreground&lt;/STRONG&gt; or in &lt;STRONG&gt;background&lt;/STRONG&gt;. How to differentiate them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i could differentiate, i could code a message to display when the user runs the program in foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Feb 2008 05:06:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-04T05:06:52Z</dc:date>
    <item>
      <title>differentiate foreground and background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-foreground-and-background-processing/m-p/3322611#M795898</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 want to execute a certain report in background. If the user tries to execute the program in foreground, the system should prompt him not to run it in foreground. In the same way, the message should not come if the program is run in backgroud. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is, the system should &lt;STRONG&gt;differentiate&lt;/STRONG&gt; whether the program is run in &lt;STRONG&gt;foreground&lt;/STRONG&gt; or in &lt;STRONG&gt;background&lt;/STRONG&gt;. How to differentiate them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i could differentiate, i could code a message to display when the user runs the program in foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 05:06:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-foreground-and-background-processing/m-p/3322611#M795898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T05:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: differentiate foreground and background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-foreground-and-background-processing/m-p/3322612#M795899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if sy-batch = 'X'  '' then it is runing in background other wise it is running in foreground&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;enter ur code here, to display when running in background&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;enter ur code here, to display when running in foreground&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 05:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-foreground-and-background-processing/m-p/3322612#M795899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T05:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: differentiate foreground and background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-foreground-and-background-processing/m-p/3322613#M795900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answer was useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 06:27:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-foreground-and-background-processing/m-p/3322613#M795900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T06:27:16Z</dc:date>
    </item>
  </channel>
</rss>

