<?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: PDF problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-problem/m-p/7690551#M1576837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;you have some pdf's and you want to build one pdf out of these pdf's.&lt;/P&gt;&lt;P&gt;This will only be possible with a 3rd party product, e.g. using Seal System or an external converting tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have these documents as OTF-Data, you can put these otf-documents together and then convert it into one pdf, thats all sap can do as i know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Mar 2011 09:31:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-02T09:31:42Z</dc:date>
    <item>
      <title>PDF problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-problem/m-p/7690548#M1576834</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've got some PDFs in the SAP server, which I need to combine into an only pdf document.&lt;/P&gt;&lt;P&gt;This final PDF document needs to have a standard frontpage and a second page with a glosary of all the pdfs documents that i have combined into one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had planned to create a smartform for the frontpage and the second page, put them into an spool order, and add into that same spool order the rest of the pdfs one by one. And finally use the function CONVERT_ABAPSPOOLJOB_2_PDF to generate my final PDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That was my idea, but when it comes to put that pdfs (the ones in the sap server) into the spool order... then i've got the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, is there anyone who can guide me with this big problem i have? How can i put those PDFs in the sap server into my spool order?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Paula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please use more descriptive subject lines for your posts.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Mar 1, 2011 5:40 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 16:30:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-problem/m-p/7690548#M1576834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-01T16:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: PDF problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-problem/m-p/7690549#M1576835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like you're asking to combine PDF docs together - use a 3rd party tool for that.  You can call the tool from an ABAP application (as we've discussed here before).  The conversion functions are for converting OTF or ALI data to PDF.  If you want to re-render existing spools into one, you can do that but you need one type before conversion.  Personally, I would handle this at the point of generation, not after the fact...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 17:11:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-problem/m-p/7690549#M1576835</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-03-01T17:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: PDF problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-problem/m-p/7690550#M1576836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry but there are some points that I don't understand:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;EM&gt;It sounds like you're asking to combine PDF docs together - use a 3rd party tool for that. :&lt;/EM&gt;  Yes, I need to combine PDFs docs together. These PDFs are in the SAP server. Please, could you tell me what's that 3rd party tool you are talking about?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;EM&gt;The conversion functions are for converting OTF or ALI data to PDF:&lt;/EM&gt; I don't get this point, i already have my PDFs, why should I convert them into OTF or ALI data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;EM&gt;If you want to re-render existing spools into one, you can do that but you need one type before conversion:&lt;/EM&gt; I need one type of what? One type of spool order? didn't know there were many types. Is there any function which can re-render existing spools into one? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for all these questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paula&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 07:54:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-problem/m-p/7690550#M1576836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-02T07:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: PDF problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-problem/m-p/7690551#M1576837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;you have some pdf's and you want to build one pdf out of these pdf's.&lt;/P&gt;&lt;P&gt;This will only be possible with a 3rd party product, e.g. using Seal System or an external converting tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have these documents as OTF-Data, you can put these otf-documents together and then convert it into one pdf, thats all sap can do as i know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 09:31:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-problem/m-p/7690551#M1576837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-02T09:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: PDF problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-problem/m-p/7690552#M1576838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call one by one the function module for the smartforms with the parameters    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  output_options-tddataset = 'PDF'.&lt;/P&gt;&lt;P&gt;  output_options-tdsuffix1 = 'SUFFIX.'.&lt;/P&gt;&lt;P&gt;  output_options-tdsuffix2 = lw_vbrk-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  output_options-tdnewid = 'X'.&lt;/P&gt;&lt;P&gt;  output_options-tddelete = 'X'.&lt;/P&gt;&lt;P&gt;  output_options-tdfinal = ' '.&lt;/P&gt;&lt;P&gt;  output_options-tdlifetime = 8.&lt;/P&gt;&lt;P&gt;  control_parameters-no_dialog = 'X'.&lt;/P&gt;&lt;P&gt;  control_parameters-preview = ' '.&lt;/P&gt;&lt;P&gt; control_parameters-getotf = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The importing parameter job_output_info-otfdata will will you back the form in OTF format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can append every smartform into another internal table with the job_output_info-otfdata type, gt_otf for example, and at the end call function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CONVERT_OTF'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      format                      = 'PDF'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      bin_filesize                = file_size&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        BIN_FILE                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      otf                         = gt_otf&lt;/P&gt;&lt;P&gt;      lines                       = lt_pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lt_pdf will have the pdf file. You can download with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  OPEN DATASET file_hibrido FOR OUTPUT&lt;/P&gt;&lt;P&gt;                            IN BINARY MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT lt_pdf INTO st_pdf.&lt;/P&gt;&lt;P&gt;    TRANSFER st_pdf TO file_hibrido.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLOSE DATASET file_hibrido.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 09:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-problem/m-p/7690552#M1576838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-02T09:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: PDF problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-problem/m-p/7690553#M1576839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1 - There are many 3rd party tools for working with PDFs.  You need to Google for them.  There is even one discussed in a blog or wiki on this forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 - You are the one who mentioned that and that was my point.  I had no idea why you would use the ABAB list convert function for your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3 - One spool format type - ALI or OTF and use the corresponding convert function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search for the PDF merge wiki to get some idea of how to proceed.  I don't have a link to it because I use a different approach and tool for merging PDFs when necessary.  As I said before, it's better to attack the issue before conversion if you can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Oscar: that wasn't the question asked though...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 15:04:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-problem/m-p/7690553#M1576839</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-03-02T15:04:45Z</dc:date>
    </item>
  </channel>
</rss>

