<?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: Run the program in Background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-the-program-in-background/m-p/5499566#M1258066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Indrakaran Reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot run the programs which involves the user intervention,pop-up displays etc., in the background mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this, you need to have the file in the application server not on the desktop(presentation server).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once, your file is in the application server, give the class and path of the file in the selection screen and then save it as a variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, schedule the program in the background using the transaction SM36.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how it works. Hope you understood the concept clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Babu Kilari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Apr 2009 08:32:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-22T08:32:19Z</dc:date>
    <item>
      <title>Run the program in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-the-program-in-background/m-p/5499562#M1258062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have selection screen where i have parameters for programs, classes and filename.&lt;/P&gt;&lt;P&gt;When i give program name and filename and execute. A Popup appears and asks the path for the file to be saved in xml format. This is done through foreground. It is working correctly in foreground and the file saves in xml format in specified location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using the JOB Schedule for background but it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to do the same process in background. How can i achieve the same process as foreground for the given programs and classes to save the file in xml format through background process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anybody help me in this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 07:42:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-the-program-in-background/m-p/5499562#M1258062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T07:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Run the program in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-the-program-in-background/m-p/5499563#M1258063</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;you can not shedule the PC file run in background..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is FTP you can shedule in back ground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only application server files can shedule in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 07:46:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-the-program-in-background/m-p/5499563#M1258063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T07:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Run the program in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-the-program-in-background/m-p/5499564#M1258064</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;The program will not ask for the file path in background mode.&lt;/P&gt;&lt;P&gt;You have to hardocde the path in the code or maintain the same in a z-table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the following condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-batch - 'X'.&lt;/P&gt;&lt;P&gt;  path = ....... &lt;/P&gt;&lt;P&gt;   or&lt;/P&gt;&lt;P&gt;  select path from ztable into.....&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please note that the file will be stored in the application server only. You cannot directly stroe it in your desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;RJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 07:47:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-the-program-in-background/m-p/5499564#M1258064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T07:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Run the program in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-the-program-in-background/m-p/5499565#M1258065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To run the program in background we have to 3 function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Job_open,&lt;/P&gt;&lt;P&gt;Job_submit,&lt;/P&gt;&lt;P&gt;Job_close.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before this create the varient for the selection screen.&lt;/P&gt;&lt;P&gt;Pass the program name and varient name in the functional modules then u r program works in back ground also try this way..........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 07:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-the-program-in-background/m-p/5499565#M1258065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T07:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Run the program in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-the-program-in-background/m-p/5499566#M1258066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Indrakaran Reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot run the programs which involves the user intervention,pop-up displays etc., in the background mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this, you need to have the file in the application server not on the desktop(presentation server).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once, your file is in the application server, give the class and path of the file in the selection screen and then save it as a variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, schedule the program in the background using the transaction SM36.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how it works. Hope you understood the concept clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Babu Kilari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 08:32:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-the-program-in-background/m-p/5499566#M1258066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T08:32:19Z</dc:date>
    </item>
  </channel>
</rss>

