<?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: Convert spools to Pdf format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-spools-to-pdf-format/m-p/1653544#M290131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can start with this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: spoolid LIKE tsp01-rqident OBLIGATORY.   "DEFAULT 9429.

DATA BEGIN OF pdf_table OCCURS 0.
        INCLUDE STRUCTURE tline.
DATA END   OF pdf_table.

DATA pdf_fsize TYPE i.

CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
     EXPORTING
          src_spoolid   = spoolid
          no_dialog     = 'X'
     IMPORTING
          pdf_bytecount = pdf_fsize
     TABLES
          pdf           = pdf_table
     EXCEPTIONS
          OTHERS        = 0.

CALL FUNCTION 'DOWNLOAD'
     EXPORTING
          bin_filesize = pdf_fsize
          filetype     = 'BIN'
     TABLES
          data_tab     = pdf_table.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Nov 2006 16:12:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-03T16:12:01Z</dc:date>
    <item>
      <title>Convert spools to Pdf format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-spools-to-pdf-format/m-p/1653543#M290130</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 know a standard program  RSTXPDFT4 which converts a single spool to PDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do we have any thing for multiple spools? My requirement is I will key in Spool numbers via Selection options and I want Pdf file separetly to be dumped for each file&lt;/P&gt;&lt;P&gt;in to folder on to my hard drive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 16:00:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-spools-to-pdf-format/m-p/1653543#M290130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-03T16:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Convert spools to Pdf format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-spools-to-pdf-format/m-p/1653544#M290131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can start with this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: spoolid LIKE tsp01-rqident OBLIGATORY.   "DEFAULT 9429.

DATA BEGIN OF pdf_table OCCURS 0.
        INCLUDE STRUCTURE tline.
DATA END   OF pdf_table.

DATA pdf_fsize TYPE i.

CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
     EXPORTING
          src_spoolid   = spoolid
          no_dialog     = 'X'
     IMPORTING
          pdf_bytecount = pdf_fsize
     TABLES
          pdf           = pdf_table
     EXCEPTIONS
          OTHERS        = 0.

CALL FUNCTION 'DOWNLOAD'
     EXPORTING
          bin_filesize = pdf_fsize
          filetype     = 'BIN'
     TABLES
          data_tab     = pdf_table.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 16:12:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-spools-to-pdf-format/m-p/1653544#M290131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-03T16:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Convert spools to Pdf format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-spools-to-pdf-format/m-p/1653545#M290132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see RSTXPDFT4 requires Spool Number and PDF file path... If you want a different PDF file for each spool. Write a Z* program and SUBMIT RSTXPDFT4 for each spool. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or I guess CONVERT_OTFSPOOLJOB_2_PDF function module is being used for converting spools to PDF. Call this function module in your program for each spool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 16:21:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-spools-to-pdf-format/m-p/1653545#M290132</guid>
      <dc:creator>TuncayKaraca</dc:creator>
      <dc:date>2006-11-03T16:21:08Z</dc:date>
    </item>
  </channel>
</rss>

