<?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: How to generate the multiple spools using submit programs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-generate-the-multiple-spools-using-submit-programs/m-p/10870453#M1887311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for giving the reply, but I am not using any loop for this program.&lt;/P&gt;&lt;P&gt;I have to use the &lt;STRONG&gt;submit &amp;lt; APO standarard prog1&amp;gt;&lt;/STRONG&gt; and I am getting the spool number using through Get parameter ID.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;and I have to use the &lt;STRONG&gt;submit &amp;lt; APO standarard prog2&amp;gt;&lt;/STRONG&gt; and I am not getting the spool number using through Get parameter ID.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;If you know, could you please help on the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;I thought may be parameter ID's are different in different programs.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But I will search in two programs, does not maintain set parameter ID's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jan 2015 15:59:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-01-21T15:59:29Z</dc:date>
    <item>
      <title>How to generate the multiple spools using submit programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-generate-the-multiple-spools-using-submit-programs/m-p/10870451#M1887309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to generate the multiple spools using with submit programs in single report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement, I will take 6 standard APO programs output keep into one custom report output. So for this requirement I have to use the submit programs and generate the spool for 1st submit program, but spool is not generated the next 5 submit program. but I need the spool and take the spool number, and get the data from spool and put in to output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUBMIT /sapapo/rlcdelete&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TO SAP-SPOOL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WITH p_area = '9ADC01'&amp;nbsp;&amp;nbsp; "'ZSNP_WESTCON'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WITH p_versio = '000'&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WITH p_test = ' '&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WITH sel_prod IN lr_product&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WITH sel_loc IN lr_locno&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WITHOUT SPOOL DYNPRO&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; GET PARAMETER ID 'SPI' FIELD l_spool_1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUBMIT rspolst2 EXPORTING LIST TO MEMORY AND RETURN&lt;/P&gt;&lt;P&gt;&amp;nbsp; WITH rqident = l_spool_1&lt;/P&gt;&lt;P&gt;&amp;nbsp; WITH first = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; listobject = itab_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF itab_list[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL FUNCTION 'LIST_TO_ASCI'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list_index = -1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; listasci&amp;nbsp;&amp;nbsp; = it_output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; listobject = itab_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this code is working for only one submit program, I need to get the data from remaining 5 submit programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any one knows, please help on this issue. Thanks in advance.&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;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 22:30:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-generate-the-multiple-spools-using-submit-programs/m-p/10870451#M1887309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-20T22:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate the multiple spools using submit programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-generate-the-multiple-spools-using-submit-programs/m-p/10870452#M1887310</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; So, I assume you put the above code in a loop? What happens then - do you only get one spool file, or the same one generated over and over again?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 03:11:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-generate-the-multiple-spools-using-submit-programs/m-p/10870452#M1887310</guid>
      <dc:creator>paul_bakker2</dc:creator>
      <dc:date>2015-01-21T03:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate the multiple spools using submit programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-generate-the-multiple-spools-using-submit-programs/m-p/10870453#M1887311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for giving the reply, but I am not using any loop for this program.&lt;/P&gt;&lt;P&gt;I have to use the &lt;STRONG&gt;submit &amp;lt; APO standarard prog1&amp;gt;&lt;/STRONG&gt; and I am getting the spool number using through Get parameter ID.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;and I have to use the &lt;STRONG&gt;submit &amp;lt; APO standarard prog2&amp;gt;&lt;/STRONG&gt; and I am not getting the spool number using through Get parameter ID.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;If you know, could you please help on the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;I thought may be parameter ID's are different in different programs.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But I will search in two programs, does not maintain set parameter ID's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 15:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-generate-the-multiple-spools-using-submit-programs/m-p/10870453#M1887311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-21T15:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate the multiple spools using submit programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-generate-the-multiple-spools-using-submit-programs/m-p/10870454#M1887312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am wondering why you do a SUBMIT .. TO SAP-SPOOL, then retrieve the spool file, output it, and then capture it. Do you really need those intermediate steps? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why not do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT /sapapo/rlcdelete EXPORTING LIST TO MEMORY AND RETURN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;followed by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No need to bother with parameter IDs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 22:36:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-generate-the-multiple-spools-using-submit-programs/m-p/10870454#M1887312</guid>
      <dc:creator>paul_bakker2</dc:creator>
      <dc:date>2015-01-21T22:36:29Z</dc:date>
    </item>
  </channel>
</rss>

