<?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 to PDF in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-to-pdf/m-p/1595035#M267319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this code it may help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE IT_OTF LINES GV_LINE.&lt;/P&gt;&lt;P&gt;SOOD-OBJLEN = GV_LINE.&lt;/P&gt;&lt;P&gt;CONTENT_IN[] = IT_OTF[].&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;FORMAT_SRC = 'OTF'&lt;/P&gt;&lt;P&gt;FORMAT_DST = 'PDF'&lt;/P&gt;&lt;P&gt;DEVTYPE = 'HPLJ5SI'&lt;/P&gt;&lt;P&gt;LEN_IN = SOOD-OBJLEN&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;CONTENT_IN = CONTENT_IN&lt;/P&gt;&lt;P&gt;CONTENT_OUT = CONTENT_OUT&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ERR_CONV_FAILED = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Oct 2006 03:26:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-10T03:26:39Z</dc:date>
    <item>
      <title>Convert to PDF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-to-pdf/m-p/1595034#M267318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've used FM CONVERT_ABAPSPOOLJOB_2_PDF with the Spool number as a parameter. This returned a table, PDF STRUCTURE TLINE, which I am not able to save with .pdf extension in the debug mode.&lt;/P&gt;&lt;P&gt;I would like to be able to save it with .pdf without&lt;/P&gt;&lt;P&gt;running GUI_DOWNLOAD or SO_NEW_DOCUMENT_ATT_SEND_API1.&lt;/P&gt;&lt;P&gt;I know if I pass this file to either of the FM, they will&lt;/P&gt;&lt;P&gt;produce a .pdf file, but why can't I just save it as .pdf&lt;/P&gt;&lt;P&gt;before calling these FM's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 03:19:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-to-pdf/m-p/1595034#M267318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T03:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Convert to PDF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-to-pdf/m-p/1595035#M267319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this code it may help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE IT_OTF LINES GV_LINE.&lt;/P&gt;&lt;P&gt;SOOD-OBJLEN = GV_LINE.&lt;/P&gt;&lt;P&gt;CONTENT_IN[] = IT_OTF[].&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;FORMAT_SRC = 'OTF'&lt;/P&gt;&lt;P&gt;FORMAT_DST = 'PDF'&lt;/P&gt;&lt;P&gt;DEVTYPE = 'HPLJ5SI'&lt;/P&gt;&lt;P&gt;LEN_IN = SOOD-OBJLEN&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;CONTENT_IN = CONTENT_IN&lt;/P&gt;&lt;P&gt;CONTENT_OUT = CONTENT_OUT&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ERR_CONV_FAILED = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 03:26:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-to-pdf/m-p/1595035#M267319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T03:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Convert to PDF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-to-pdf/m-p/1595036#M267320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravi,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Here is what I get in one table:&lt;/P&gt;&lt;P&gt;    1	255044462D312E330D0A25E2E3CFD30D0A322030206F626A0D0A3C3C0D0A2F54797065202F&amp;lt;&lt;/P&gt;&lt;P&gt;    2	79706520485034313030202020466F6E742048454C5645202020206E6F726D616C204C616E&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and here is what I get in another table:&lt;/P&gt;&lt;P&gt;    1	//XHP4100      0700 00000&lt;EM&gt;00000&lt;/EM&gt;                                          &amp;lt;&lt;/P&gt;&lt;P&gt;    2	IN01EZCUSTACCTSTAT   FIRST                                                &amp;lt;&lt;/P&gt;&lt;P&gt;    3	OPLETTER  P 144  240 1581712189000010000100001                            &amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try to save it as .pdf at this point, I can not open them as pdf files once saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, what do I need to do to save them as .pdf?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 04:25:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-to-pdf/m-p/1595036#M267320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T04:25:45Z</dc:date>
    </item>
  </channel>
</rss>

