<?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: Issue with Background execution of a Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-background-execution-of-a-program/m-p/7326233#M1537579</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;My Program is not having any FM like GUI_UPLOAD or GUI_DOWNLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When run in background, basically a IF condition mentioned in the AT SELECTION-SCREEN event is getting failed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Sep 2010 07:42:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-28T07:42:03Z</dc:date>
    <item>
      <title>Issue with Background execution of a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-background-execution-of-a-program/m-p/7326231#M1537577</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;I have developed a simple Report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i execute the report in foreground, the execution will be perfect as per logic maintained in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i execute the report in background, a particular IF condition is getting failed in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to debug the code (maintaining sy-batch = 'X' while debug). The same IF condition which gets failed in background, will get satisfied now in debug mode with sy-batch = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe sy-batch = 'X' means the program running in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i run the program in background (pressing F9 without any debug), again the particular IF condition in the code gets fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea to resolve this kind of issues...??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 07:19:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-background-execution-of-a-program/m-p/7326231#M1537577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-28T07:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Background execution of a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-background-execution-of-a-program/m-p/7326232#M1537578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     Does your program contain FM's like GUI_UPLOAD, GUI_DOWNLOAD, etc...&lt;/P&gt;&lt;P&gt;     If you r using any of these FM's that are related to presentation server, then u cannot run the program in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 07:32:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-background-execution-of-a-program/m-p/7326232#M1537578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-28T07:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Background execution of a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-background-execution-of-a-program/m-p/7326233#M1537579</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;My Program is not having any FM like GUI_UPLOAD or GUI_DOWNLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When run in background, basically a IF condition mentioned in the AT SELECTION-SCREEN event is getting failed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 07:42:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-background-execution-of-a-program/m-p/7326233#M1537579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-28T07:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Background execution of a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-background-execution-of-a-program/m-p/7326234#M1537580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sy-batch = 'X' should do the job.&lt;/P&gt;&lt;P&gt;What operations you are performing at selection screen based on sy-batch ??&lt;/P&gt;&lt;P&gt;You can move the same logic to start-of-selection and it should work .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 07:57:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-background-execution-of-a-program/m-p/7326234#M1537580</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2010-09-28T07:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Background execution of a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-background-execution-of-a-program/m-p/7326235#M1537581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is "getting failed"? Result not true, so not going to the code inside IF/ENDIF? What is your expected result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please post the code part here (using code tags, only the relevant part, please watch the formatting).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 08:00:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-background-execution-of-a-program/m-p/7326235#M1537581</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2010-09-28T08:00:08Z</dc:date>
    </item>
  </channel>
</rss>

