<?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: Regarding Batch Processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807066#M346357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At the end of REPORT2, after you consolidate all your ouptut data in a internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-BATCH = 'X'.&lt;/P&gt;&lt;P&gt; The data you have in the internal table will have to sent as a mail.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This needs to happen only when the report is running in the background and that is why you are checking the SY-BATCH variable. however, you need to get the information of which users the data has to be mailed and what are the mailing addresses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the function modules JOB_OPEN, JOB_SUBMIT and JOB_CLOSE to submit REPORT2 from REPORT1 in the background mode. You can track the background job in SM37&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;Ravi&lt;/P&gt;&lt;P&gt;Note - Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2006 07:43:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-05T07:43:52Z</dc:date>
    <item>
      <title>Regarding Batch Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807065#M346356</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;I have a issue with batch processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The words in &amp;lt;b&amp;gt;FD&amp;lt;/b&amp;gt; are as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;The program &amp;lt;b&amp;gt;REPORT2&amp;lt;/b&amp;gt; will need to be modified to process in batch, which will require the &amp;lt;b&amp;gt;sy-batch&amp;lt;/b&amp;gt; be checked and if this is a batch job then email the table data to specific users.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does the statement &amp;lt;b&amp;gt;REPORT2 will need to be modified to process in batch&amp;lt;/b&amp;gt; meant for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i need to do to make it batch.&lt;/P&gt;&lt;P&gt;Once i make it batch i need to check &amp;lt;b&amp;gt;sy-batch&amp;lt;/b&amp;gt; in program if it is &amp;lt;b&amp;gt;'X'&amp;lt;/b&amp;gt; i will send email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also i am submitting above report &amp;lt;b&amp;gt;REPORT2&amp;lt;/b&amp;gt; from &amp;lt;b&amp;gt;REPORT1&amp;lt;/b&amp;gt; as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  SUBMIT REPORT2 VIA SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;         WITH SELECTION-TABLE RSPAR.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While doing this i need to perform above task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody give solution for the same!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 07:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807065#M346356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T07:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Batch Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807066#M346357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At the end of REPORT2, after you consolidate all your ouptut data in a internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-BATCH = 'X'.&lt;/P&gt;&lt;P&gt; The data you have in the internal table will have to sent as a mail.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This needs to happen only when the report is running in the background and that is why you are checking the SY-BATCH variable. however, you need to get the information of which users the data has to be mailed and what are the mailing addresses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the function modules JOB_OPEN, JOB_SUBMIT and JOB_CLOSE to submit REPORT2 from REPORT1 in the background mode. You can track the background job in SM37&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;Ravi&lt;/P&gt;&lt;P&gt;Note - Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 07:43:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807066#M346357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T07:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Batch Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807067#M346358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok deepa... this is what they mean... when the report is executed in the background obviously u wont be able to view the list or grid whatever...In that case when the report execution is over...I mean background..the spooled list or internal table needs to be send as a attachement or whay ever form to the user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 07:44:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807067#M346358</guid>
      <dc:creator>aakash_neelaperumal2</dc:creator>
      <dc:date>2006-12-05T07:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Batch Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807068#M346359</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;While submitting REPORT2 from REPORT1 i am not using AND RETURN option in SUBMIT statement in that case. is it valid to use JOB_OPEN, JOB_SUBMIT, JOB_CLOSE as it will never come back to REPORT1!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for those replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 08:07:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807068#M346359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T08:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Batch Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807069#M346360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use JOB_OPEN, Submit statement, JOB_CLOSE or use JOB_SUBMIT in place SUBMIT statement, either way is fine.&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;Note - Please mark all the helpful answers and clsoe the thread if the issue is resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 08:56:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807069#M346360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T08:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Batch Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807070#M346361</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;Though i am using JOB_OPEN Before SUBMIT statement Sy-BATCH is not becoming 'X' i am laso using JOB_CLOSE after SUBMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody solve this issue!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 10:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807070#M346361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T10:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Batch Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807071#M346362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SY-BATCH will be X only when the program is getting executed in the background. That means it will be X only in REPORT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are checking for the value of SY-BATCH?&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;&amp;lt;b&amp;gt;Note  -  Please mark all the helpful answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 10:38:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807071#M346362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T10:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Batch Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807072#M346363</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;When we use &amp;lt;b&amp;gt;JOB_OPEN&amp;lt;/b&amp;gt; F.M will this SY-BATCH variable become 'X' directly (or) we need to chcek it by using any other F.M!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 10:50:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807072#M346363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T10:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Batch Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807073#M346364</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 am checking the value of SY-BATCH in REPORT2 only but here also SY-BATCH is blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 10:51:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807073#M346364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T10:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Batch Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807074#M346365</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;Can anybody give me the solution for above posted issue!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also i have one more issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually i am submitting &amp;lt;b&amp;gt;REPORT2&amp;lt;/b&amp;gt; from &amp;lt;b&amp;gt;REPORT1&amp;lt;/b&amp;gt; with selection-screen data of &amp;lt;b&amp;gt;REPORT2&amp;lt;/b&amp;gt; along with &amp;lt;b&amp;gt;SUBMIT&amp;lt;/b&amp;gt; statement as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt; SUBMIT REPORT2 VIA SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;         WITH SELECTION-TABLE RSPAR.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But here though selection-screen in&amp;lt;b&amp;gt; REPORT2&amp;lt;/b&amp;gt; is getting updated with data we are sending from &amp;lt;b&amp;gt;REPORT1&amp;lt;/b&amp;gt;, After Submit it is stopping at &amp;lt;b&amp;gt;REPOR2&amp;lt;/b&amp;gt; selection-screen i have to execute from there once again though data is coming and updating all the fileds correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me how can i execute &amp;lt;b&amp;gt;REPORT2&amp;lt;/b&amp;gt; without showing &amp;lt;b&amp;gt;sel-screen&amp;lt;/b&amp;gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 12:51:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807074#M346365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T12:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Batch Processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807075#M346366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deep,&lt;/P&gt;&lt;P&gt;  Please change the SUBMIT statement as mentioned below to skip the selection screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SUBMIT REPORT2 WITH SELECTION-TABLE RSPAR.&amp;lt;/b&amp;gt;, &lt;/P&gt;&lt;P&gt;   i.e., u've to remove the &amp;lt;b&amp;gt;VIA SELECTION SCREEN&amp;lt;/b&amp;gt; addition of the SUBMIT statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 14:20:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-batch-processing/m-p/1807075#M346366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T14:20:20Z</dc:date>
    </item>
  </channel>
</rss>

