<?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: problem in converting spool to pdf in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-to-pdf/m-p/6071503#M1355627</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;you can refer this sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: t_otfdata_tab LIKE ITCOO OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CLOSE_FORM'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;OTFDATA = t_otfdata_tab&lt;/P&gt;&lt;P&gt;fill the exceptions..&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;then pass the t_otfdata_tab to this function module..&lt;/P&gt;&lt;P&gt;CONSTANTS: c_pdf(03) VALUE 'PDF'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PDF File size&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: w_file_size TYPE I.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal Table to hold Form contents in PDF format&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: t_pdfdata_tab LIKE tline OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for converting. the output format from OTF to PDF&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_OTF'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;FORMAT eq c_pdf&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;BIN_FILESIZE = w_file_size&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;OTF eq t_otfdata_tab&lt;/P&gt;&lt;P&gt;LINES eq t_pdfdata_tab&lt;/P&gt;&lt;P&gt;EXCEPTIONS...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use these links, hope it will be useful to you....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="583553"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="958344"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ahamed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2009 06:30:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-09T06:30:48Z</dc:date>
    <item>
      <title>problem in converting spool to pdf</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-to-pdf/m-p/6071501#M1355625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want an internal table to be converted to the PDF. For this RSPO_OPEN_SPOOLREQUEST, RSPO_WRITE_SPOOLREQUEST and RSPO_CLOSE_SPOOLREQUEST to create the spool. However, somehow the table tsp01 does not gets updated as a result i could not convert the data to PDF. Can any one help me how this problem could be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Harshad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 05:56:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-to-pdf/m-p/6071501#M1355625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T05:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: problem in converting spool to pdf</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-to-pdf/m-p/6071502#M1355626</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;Have a look at the sample code in the given link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://www.sapdev.co.uk/reporting/rep_spooltopdf.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 05:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-to-pdf/m-p/6071502#M1355626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T05:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: problem in converting spool to pdf</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-to-pdf/m-p/6071503#M1355627</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;you can refer this sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: t_otfdata_tab LIKE ITCOO OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CLOSE_FORM'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;OTFDATA = t_otfdata_tab&lt;/P&gt;&lt;P&gt;fill the exceptions..&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;then pass the t_otfdata_tab to this function module..&lt;/P&gt;&lt;P&gt;CONSTANTS: c_pdf(03) VALUE 'PDF'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PDF File size&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: w_file_size TYPE I.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal Table to hold Form contents in PDF format&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: t_pdfdata_tab LIKE tline OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for converting. the output format from OTF to PDF&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_OTF'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;FORMAT eq c_pdf&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;BIN_FILESIZE = w_file_size&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;OTF eq t_otfdata_tab&lt;/P&gt;&lt;P&gt;LINES eq t_pdfdata_tab&lt;/P&gt;&lt;P&gt;EXCEPTIONS...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use these links, hope it will be useful to you....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="583553"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="958344"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ahamed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 06:30:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-to-pdf/m-p/6071503#M1355627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T06:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: problem in converting spool to pdf</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-to-pdf/m-p/6071504#M1355628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2009 11:43:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-to-pdf/m-p/6071504#M1355628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-22T11:43:58Z</dc:date>
    </item>
  </channel>
</rss>

