<?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: Submit program in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program-in-background/m-p/5145248#M1192435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;submit (prog) with or via and RETURN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2009 10:26:55 GMT</pubDate>
    <dc:creator>Sandeep_Panghal</dc:creator>
    <dc:date>2009-01-30T10:26:55Z</dc:date>
    <item>
      <title>Submit program in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program-in-background/m-p/5145247#M1192434</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 2 exe programs where main program supplies selection to second program, it retrieve the data and send list to the first program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the problem is second program has to run in background mode as database selection exceeds the maximum time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used 2 FMs &lt;/P&gt;&lt;P&gt;JOB_OPEN&lt;/P&gt;&lt;P&gt;JOB_CLOSE &lt;/P&gt;&lt;P&gt;and in between I submitted the second program. It creates a spool request but fail to return any data to the main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide solution to the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ni3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 09:56:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program-in-background/m-p/5145247#M1192434</guid>
      <dc:creator>former_member434229</dc:creator>
      <dc:date>2009-01-30T09:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Submit program in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program-in-background/m-p/5145248#M1192435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;submit (prog) with or via and RETURN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 10:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program-in-background/m-p/5145248#M1192435</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-01-30T10:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Submit program in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program-in-background/m-p/5145249#M1192436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ni3,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Try to "export to memory" the values in the second program and once the second program is returned to first program try to find whether background job is completed(I think you can do this using some FM).  If yes, then use "import from the Memory".  If no, continue until it completes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       Hope this is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 14:14:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program-in-background/m-p/5145249#M1192436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T14:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Submit program in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program-in-background/m-p/5145250#M1192437</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;In your scenario,  &lt;/P&gt;&lt;P&gt;1. you run 1st report&lt;/P&gt;&lt;P&gt;2. launch 2nd report in background&lt;/P&gt;&lt;P&gt;3. Back in 1st report and use data from 2nd report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, you will have a problem since the 2nd report in background is scheduled to be run later and execution goes back to 1st report irrespective of whether the 2nd one has run or is successful or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the scheduled job is completed, it will automatically create its corresponding spool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that this will help you to understand this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dev.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 14:24:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program-in-background/m-p/5145250#M1192437</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2009-01-30T14:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Submit program in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program-in-background/m-p/5145251#M1192438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may be able to do all of your coding in one program and not use background IF you can call the&lt;/P&gt;&lt;P&gt;FM    &lt;STRONG&gt;SAPGUI_PROGRESS_INDICATOR&lt;/STRONG&gt;  within your DB Processing.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function in essence resets the timer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 14:42:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-program-in-background/m-p/5145251#M1192438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T14:42:54Z</dc:date>
    </item>
  </channel>
</rss>

