<?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: Generating PDF file without spool generation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-pdf-file-without-spool-generation/m-p/9009844#M1698568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN class="L0S33"&gt;Here spool is generating and it &lt;STRONG&gt;is directly printing after execution of program&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is this the actual problem, if yes force the non-immediate printing of the spool (IMMEDIATELY = space) and delete it after conversion to PDF (FM like RSPO_R_RDELETE_SPOOLREQ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2012 12:46:58 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2012-09-13T12:46:58Z</dc:date>
    <item>
      <title>Generating PDF file without spool generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-pdf-file-without-spool-generation/m-p/9009842#M1698566</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 had data in the internal table.I need to save the data as PDF file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currently i am using logic like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'GET_PRINT_PARAMETERS'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;NEW-PAGE &lt;SPAN class="L0S52"&gt;PRINT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ON &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;PARAMETERS &lt;/SPAN&gt;lwa_params &lt;SPAN class="L0S52"&gt;NO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;DIALOG&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;all write statements&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;NEW-PAGE &lt;SPAN class="L0S52"&gt;PRINT &lt;/SPAN&gt;OFF&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&amp;nbsp;&amp;nbsp; and then&amp;nbsp; calling &lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'CONVERT_ABAPSPOOLJOB_2_PDF'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;For displaying popup &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;cl_gui_frontend_services&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;file_save_dialog&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;And finally &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'GUI_DOWNLOAD'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;Here spool is generating and it is directly printing after execution of program.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;I dont want spool to be generated and it should save in the presentatuion server.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;Can any one help me in this regard.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;Ram&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 14:47:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-pdf-file-without-spool-generation/m-p/9009842#M1698566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-12T14:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Generating PDF file without spool generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-pdf-file-without-spool-generation/m-p/9009843#M1698567</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 believe the only solution to convert an abap list to pdf is to generate the spool and the convert it: just like you're doing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 15:42:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-pdf-file-without-spool-generation/m-p/9009843#M1698567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-12T15:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Generating PDF file without spool generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-pdf-file-without-spool-generation/m-p/9009844#M1698568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN class="L0S33"&gt;Here spool is generating and it &lt;STRONG&gt;is directly printing after execution of program&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is this the actual problem, if yes force the non-immediate printing of the spool (IMMEDIATELY = space) and delete it after conversion to PDF (FM like RSPO_R_RDELETE_SPOOLREQ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 12:46:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-pdf-file-without-spool-generation/m-p/9009844#M1698568</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-09-13T12:46:58Z</dc:date>
    </item>
  </channel>
</rss>

