<?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 create Spool through ABAP program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-spool-through-abap-program/m-p/3662170#M882095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Include the below code in ur program .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: PRINT_PARAMETERS TYPE PRI_PARAMS,&lt;/P&gt;&lt;P&gt;        VALID_FLAG       TYPE C LENGTH 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GET_PRINT_PARAMETERS'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;  IMMEDIATELY = 'X' "C_IMMEDIATELY&lt;/P&gt;&lt;P&gt;*LAYOUT = 'Z_48_144'&lt;/P&gt;&lt;P&gt;*LINE_COUNT = '48'&lt;/P&gt;&lt;P&gt;  LINE_SIZE = '255'&lt;/P&gt;&lt;P&gt;*NEW_LIST_ID = C_NEW_LIST_ID&lt;/P&gt;&lt;P&gt;  NO_DIALOG = 'X'&lt;/P&gt;&lt;P&gt;  RELEASE = 'X'&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;  OUT_PARAMETERS = PRINT_PARAMETERS&lt;/P&gt;&lt;P&gt;  VALID = VALID_FLAG&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;  ARCHIVE_INFO_NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;  INVALID_PRINT_PARAMS = 2&lt;/P&gt;&lt;P&gt;  INVALID_ARCHIVE_PARAMS = 3&lt;/P&gt;&lt;P&gt;  OTHERS = 4 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  G_PDEST = PRINT_PARAMETERS-PDEST.&lt;/P&gt;&lt;P&gt;  NEW-PAGE PRINT ON PARAMETERS PRINT_PARAMETERS&lt;/P&gt;&lt;P&gt;                    NO DIALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List of write statements to be output.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEW-PAGE PRINT OFF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful..............&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2008 07:34:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-08T07:34:36Z</dc:date>
    <item>
      <title>How to create Spool through ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-spool-through-abap-program/m-p/3662168#M882093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to create spool request for Smartforms through program. So I can go in TCODE SP01 and see the output of my smartforms.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 07:12:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-spool-through-abap-program/m-p/3662168#M882093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T07:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Spool through ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-spool-through-abap-program/m-p/3662169#M882094</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 generate a spool req for a smartform you can generate from the standard Tcode of the application for which you are generating smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example :For invoice you can got ot VF03 provide the invoice no then go with Billing Document-&amp;gt;Issue output ,select the output type and go with the Print option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will generate the spool request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But,&lt;/P&gt;&lt;P&gt;If you want a program for generating the same then you can record the above procedure and write a BDC .&lt;/P&gt;&lt;P&gt;so that it will generate the spool request.But this will be application dependent,i.e you need to record depending on &lt;/P&gt;&lt;P&gt;the application  for which you want the spool request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want for invoice record vf03 as said above ,code accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: K.R.Reddy on Apr 8, 2008 9:18 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 07:13:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-spool-through-abap-program/m-p/3662169#M882094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T07:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Spool through ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-spool-through-abap-program/m-p/3662170#M882095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Include the below code in ur program .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: PRINT_PARAMETERS TYPE PRI_PARAMS,&lt;/P&gt;&lt;P&gt;        VALID_FLAG       TYPE C LENGTH 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GET_PRINT_PARAMETERS'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;  IMMEDIATELY = 'X' "C_IMMEDIATELY&lt;/P&gt;&lt;P&gt;*LAYOUT = 'Z_48_144'&lt;/P&gt;&lt;P&gt;*LINE_COUNT = '48'&lt;/P&gt;&lt;P&gt;  LINE_SIZE = '255'&lt;/P&gt;&lt;P&gt;*NEW_LIST_ID = C_NEW_LIST_ID&lt;/P&gt;&lt;P&gt;  NO_DIALOG = 'X'&lt;/P&gt;&lt;P&gt;  RELEASE = 'X'&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;  OUT_PARAMETERS = PRINT_PARAMETERS&lt;/P&gt;&lt;P&gt;  VALID = VALID_FLAG&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;  ARCHIVE_INFO_NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;  INVALID_PRINT_PARAMS = 2&lt;/P&gt;&lt;P&gt;  INVALID_ARCHIVE_PARAMS = 3&lt;/P&gt;&lt;P&gt;  OTHERS = 4 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  G_PDEST = PRINT_PARAMETERS-PDEST.&lt;/P&gt;&lt;P&gt;  NEW-PAGE PRINT ON PARAMETERS PRINT_PARAMETERS&lt;/P&gt;&lt;P&gt;                    NO DIALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List of write statements to be output.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEW-PAGE PRINT OFF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful..............&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 07:34:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-spool-through-abap-program/m-p/3662170#M882095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T07:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Spool through ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-spool-through-abap-program/m-p/3662171#M882096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the program, how ill get the spool number ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 04:58:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-spool-through-abap-program/m-p/3662171#M882096</guid>
      <dc:creator>sreehari_vpillai</dc:creator>
      <dc:date>2013-08-09T04:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Spool through ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-spool-through-abap-program/m-p/3662172#M882097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The smartform function module will return the parameter &lt;STRONG&gt;JOB_OUTPUT_INFO. &lt;/STRONG&gt;This parameter will contain a component called &lt;STRONG&gt;SPOOLIDS&lt;/STRONG&gt; which will have contain the spool ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above is based on the assumption that you are using the&amp;nbsp; function module of your smartform to print it. If you are trying to print differently give more information on how you are printing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 08:57:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-spool-through-abap-program/m-p/3662172#M882097</guid>
      <dc:creator>former_member196641</dc:creator>
      <dc:date>2013-08-09T08:57:17Z</dc:date>
    </item>
  </channel>
</rss>

