<?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: OTF to PDF. Scripts. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/otf-to-pdf-scripts/m-p/2990015#M706159</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2007 17:55:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-26T17:55:10Z</dc:date>
    <item>
      <title>OTF to PDF. Scripts.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/otf-to-pdf-scripts/m-p/2990014#M706158</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 am using the below module for a script to convert OTF to PDF &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then downloading it to desktop using GUI_DOWNLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIle is getting downloaded and PDF is opening with two pages. But it's blank. Therez no data. I get a message as "There was an error opening this document. There was a problem reading this document".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I right click the PDF file and open it in notepad I can see all the script data with html '/' etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_content_txt has OTF data. As I have used TDGETOTF = 'X'.&lt;/P&gt;&lt;P&gt;I can actually see the data in i_content_bin. But it has all numbers which i don't understand like what they mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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 = c_otf&lt;/P&gt;&lt;P&gt;format_dst = c_pdf&lt;/P&gt;&lt;P&gt;devtype = c_printer&lt;/P&gt;&lt;P&gt;*devtype = 'ASCIIPRI'&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;transfer_bin = w_transfer_bin&lt;/P&gt;&lt;P&gt;content_txt = i_content_txt&lt;/P&gt;&lt;P&gt;content_bin = i_content_bin&lt;/P&gt;&lt;P&gt;objhead = i_objhead&lt;/P&gt;&lt;P&gt;len = v_len_in&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;&lt;/P&gt;&lt;P&gt;plz help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Alchemi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 15:37:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/otf-to-pdf-scripts/m-p/2990014#M706158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T15:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: OTF to PDF. Scripts.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/otf-to-pdf-scripts/m-p/2990015#M706159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 17:55:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/otf-to-pdf-scripts/m-p/2990015#M706159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T17:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: OTF to PDF. Scripts.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/otf-to-pdf-scripts/m-p/2990016#M706160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you create a smartform or sapscript with an empty content&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 18:03:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/otf-to-pdf-scripts/m-p/2990016#M706160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T18:03:07Z</dc:date>
    </item>
  </channel>
</rss>

