<?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: Creating Spool File for development plans in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-spool-file-for-development-plans/m-p/2287415#M498671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhishek...&lt;/P&gt;&lt;P&gt; Thank you very much for ur reply..&lt;/P&gt;&lt;P&gt;but my case is i need to select all the smartforms depending upon the selection screen data.&amp;amp; i need to pass all the smartforms to newly created spool file..so &lt;/P&gt;&lt;P&gt;can u or any body explain me in detail..&lt;/P&gt;&lt;P&gt; what is the use of spool file ..???&lt;/P&gt;&lt;P&gt; how to create spool file in this case..???&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;Kalam A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 May 2007 11:29:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-25T11:29:55Z</dc:date>
    <item>
      <title>Creating Spool File for development plans</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-spool-file-for-development-plans/m-p/2287413#M498669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My requirement is Mass printing of Development Plans,&lt;/P&gt;&lt;P&gt;I have to select all development plans and crete a spool file&lt;/P&gt;&lt;P&gt;which would then print to the printer based on the development plan that is being entered in selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my doubt is how to create a spool file?&lt;/P&gt;&lt;P&gt; can any body please give some sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kalam A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 12:03:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-spool-file-for-development-plans/m-p/2287413#M498669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T12:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Spool File for development plans</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-spool-file-for-development-plans/m-p/2287414#M498670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the following Fms to do that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.JOB_OPEN&lt;/P&gt;&lt;P&gt;2.JOB_SUBMIT&lt;/P&gt;&lt;P&gt;3.JOB_CLOSE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;get the spool number&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Declaration of local variables.
DATA:
LV_RQ2NAME LIKE TSP01-RQ2NAME.
 
CONCATENATE SY-REPID+0(8)
SY-UNAME+0(3)
INTO LV_RQ2NAME SEPARATED BY '_'.
* Get the spool number.
SELECT * FROM TSP01 WHERE RQ2NAME = LV_RQ2NAME
ORDER BY RQCRETIME DESCENDING.
V_RQIDENT = TSP01-RQIDENT.
EXIT.
ENDSELECT.
IF SY-SUBRC NE 0.
CLEAR V_RQIDENT.
ENDIF&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 12:07:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-spool-file-for-development-plans/m-p/2287414#M498670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T12:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Spool File for development plans</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-spool-file-for-development-plans/m-p/2287415#M498671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhishek...&lt;/P&gt;&lt;P&gt; Thank you very much for ur reply..&lt;/P&gt;&lt;P&gt;but my case is i need to select all the smartforms depending upon the selection screen data.&amp;amp; i need to pass all the smartforms to newly created spool file..so &lt;/P&gt;&lt;P&gt;can u or any body explain me in detail..&lt;/P&gt;&lt;P&gt; what is the use of spool file ..???&lt;/P&gt;&lt;P&gt; how to create spool file in this case..???&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;Kalam A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 11:29:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-spool-file-for-development-plans/m-p/2287415#M498671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T11:29:55Z</dc:date>
    </item>
  </channel>
</rss>

