<?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: report in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220398#M136161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you want to execute this in background programmitaclly, if yes just look at the options of the SUBMIT command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else, instead of F8, use the F9 command and the report can be run in the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Mar 2006 09:40:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-20T09:40:50Z</dc:date>
    <item>
      <title>report in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220397#M136160</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;&lt;/P&gt;&lt;P&gt;  we have a requirement to run a report in background , how do we do this any help appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 09:39:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220397#M136160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-20T09:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: report in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220398#M136161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you want to execute this in background programmitaclly, if yes just look at the options of the SUBMIT command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else, instead of F8, use the F9 command and the report can be run in the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 09:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220398#M136161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-20T09:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: report in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220399#M136162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u want to schedule this report in the background then u can do so in SM36 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vikky.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 09:43:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220399#M136162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-20T09:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: report in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220400#M136163</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;To execute the job in background press f9 instead of f8. &lt;/P&gt;&lt;P&gt;uncheck the print option.&lt;/P&gt;&lt;P&gt;Then press ok.&lt;/P&gt;&lt;P&gt;Now press immediate, then save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it will show a message saying that job scheduled in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto SM37 press F8, now u can see the jobname and the status if it is finished it will create an spool. Then click the jobname and the spool in the toolbar u can see the list created. then click and see teh output list generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is canceled then some error has occured, so u can chose the job and put &amp;lt;b&amp;gt;jdbg&amp;lt;/b&amp;gt; in the command prompt and start debugging and check where it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 09:47:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220400#M136163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-20T09:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: report in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220401#M136164</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;Click on F9 to execute your report in background.&lt;/P&gt;&lt;P&gt;Then in sm36 you can see the log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gayathri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 09:48:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220401#M136164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-20T09:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: report in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220402#M136165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  you can execute the report in background in SM37 , there are two options , one is as said using f9 or you can make SY-BATCH eq 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if x run the report or exit from the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; so this way you can execute the report in background and check the spool in sm37&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 10:32:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220402#M136165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-20T10:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: report in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220403#M136166</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 SY-BATCH is working but how do i make sure user doesnt run this report in foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 16:42:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220403#M136166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-20T16:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: report in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220404#M136167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the initialization event, check fo SY-BATCH. If its not checked, throw a message to the user that he can run it only in background and exit the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If SY_BATCH is initial.&lt;/P&gt;&lt;P&gt; message "CAnnot Run" type I.&lt;/P&gt;&lt;P&gt; exit.&lt;/P&gt;&lt;P&gt;endif.&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;&lt;/P&gt;&lt;P&gt;Note : please mark the helpful answers if they help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 16:49:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220404#M136167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-20T16:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: report in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220405#M136168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need to trigger the backgroud processing from a program, you should use the FM JOB_OPEN and JOB_CLOSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 19:43:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220405#M136168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-20T19:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: report in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220406#M136169</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 order to restrict the user to run it only in background , you can as well check for SY-BATCH condition.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   The other way is try to remove "execute in foreground"  option from the menu  and this can be done with the function module .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do reward points if useful and close the thread if the doubt is cleared&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data: begin of int_exc occurs 0,&lt;/P&gt;&lt;P&gt;      code like sy-ucomm,&lt;/P&gt;&lt;P&gt;      end of int_exc.&lt;/P&gt;&lt;P&gt;data wf_repid .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  clear int_exc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  int_exc-code = 'ONLI'.&lt;/P&gt;&lt;P&gt;  append int_exc.&lt;/P&gt;&lt;P&gt;  int_exc-code = 'PRIN'.&lt;/P&gt;&lt;P&gt;  append int_exc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move: sy-repid to wf_repid .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'RS_SET_SELSCREEN_STATUS'&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;P&gt;    p_status        = '%_00'&lt;/P&gt;&lt;P&gt;   p_program       = 'wf_repid'&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    p_exclude       = int_exc&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 04:13:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-background/m-p/1220406#M136169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T04:13:12Z</dc:date>
    </item>
  </channel>
</rss>

