<?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: Background job in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370594#M182584</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;If you are meant that ALV grid is transformed in ALV list in background, that is a standard thing. ALV grid is automatically transformed in to ALV list when you perform it in background. You can no way have a grid report in background (to the best of my knowledge).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you want execute in backgound, in SE38, enter the parameters and instead of pressing F8, go via menu Program-&amp;gt; Execute in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't have to skip the selection screen in background, it's automatically taken care of. To schedule a job in background, one needs to maintain variants (selection-set) with which the program is scheduled as a batch job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to award points if this helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 May 2006 12:37:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-07T12:37:35Z</dc:date>
    <item>
      <title>Background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370593#M182583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!&lt;/P&gt;&lt;P&gt;i have a non standard transaction that call another two non standard transactions.&lt;/P&gt;&lt;P&gt;i want to run them in background job. so i added to them sy-batch = 'X'.&lt;/P&gt;&lt;P&gt;Before that i used to get the report as an ALV, but when i added the sy-batch i got it as list.&lt;/P&gt;&lt;P&gt;is it enough to just add sy-batch = 'X' in order to run the job in background, and how do i see the results?&lt;/P&gt;&lt;P&gt;do i see it aurtomatically on the screen or in SM37?&lt;/P&gt;&lt;P&gt;also in one of them i put the sy-batch = 'X' in the initialization, and i want it to skeep the selection screen, is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;YIFAT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 May 2006 12:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370593#M182583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-07T12:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370594#M182584</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;If you are meant that ALV grid is transformed in ALV list in background, that is a standard thing. ALV grid is automatically transformed in to ALV list when you perform it in background. You can no way have a grid report in background (to the best of my knowledge).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you want execute in backgound, in SE38, enter the parameters and instead of pressing F8, go via menu Program-&amp;gt; Execute in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't have to skip the selection screen in background, it's automatically taken care of. To schedule a job in background, one needs to maintain variants (selection-set) with which the program is scheduled as a batch job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to award points if this helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 May 2006 12:37:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370594#M182584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-07T12:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370595#M182585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!&lt;/P&gt;&lt;P&gt;thanks for your answer. &lt;/P&gt;&lt;P&gt;i have 2 questions &lt;/P&gt;&lt;P&gt;1. the result of the report is automatically printed on screen, or can i see it in some other place?&lt;/P&gt;&lt;P&gt;2. i have transaction that call another transaction. if from the first transaction i specified sy-batch = 'X' and move it to the other transaction in the initialization, if i get sy-batch = 'x'i want to skip the selection screen, and run it on the whole population, is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;yifa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 May 2006 12:59:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370595#M182585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-07T12:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370596#M182586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didnot understand either of your questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 May 2006 13:17:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370596#M182586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-07T13:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370597#M182587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;First of all - you cannot run a transaction that is a modul-pool in background.&lt;/P&gt;&lt;P&gt;Only Reports (started via SA38 or SE38) can be started in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your submitted program is a report you can act as follows:&lt;/P&gt;&lt;P&gt;In your "caller" program you can use then command:&lt;/P&gt;&lt;P&gt;SUBMIT zxyz USER user VIA JOB job NUMBER n &lt;/P&gt;&lt;P&gt;(See online help for that)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then your Report is beeing executed in Background.&lt;/P&gt;&lt;P&gt;The SY-BATHC is setted by the system. Ther's no use of setting it by yourself in your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Repsults of your,in background executed, report are beeing printed to the device you an define during the JOB-Ceration (see Help for SUBMIT).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some points would be fine if that helped a bit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 04:45:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370597#M182587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T04:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370598#M182588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF p_backgd = 'X'.&lt;/P&gt;&lt;P&gt;    IF sscrfields-ucomm = 'ONLI' AND sy-batch &amp;lt;&amp;gt; 'X'.&lt;/P&gt;&lt;P&gt;      sscrfields-ucomm = 'SJOB'.         " Submit in background&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let p_backgd be a parameter, then u need to write above code to submit in background from the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can see the o/p in sm37&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 04:56:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370598#M182588</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-05-08T04:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370599#M182589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yifat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. the result of the report is automatically printed on screen, or can i see it in some other place?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes can can user tcode SP01 to see the list generated or you can go to se37 select the line and click on spool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 04:57:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370599#M182589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T04:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370600#M182590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yifat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. i have transaction that call another transaction. if from the first transaction i specified sy-batch = 'X' and move it to the other transaction in the initialization, if i get sy-batch = 'x'i want to skip the selection screen, and run it on the whole population, is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--I like to know whether these non standard transactions you are for report program or module pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 05:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/1370600#M182590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T05:01:00Z</dc:date>
    </item>
  </channel>
</rss>

