<?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 To convert OTF to PDF using function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-otf-to-pdf-using-function-module/m-p/1719576#M314186</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;Can some one help me by telling the name of the function module which can be used to convert OTF to PDF in UNICODE environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Nov 2006 19:52:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-28T19:52:36Z</dc:date>
    <item>
      <title>To convert OTF to PDF using function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-otf-to-pdf-using-function-module/m-p/1719576#M314186</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;Can some one help me by telling the name of the function module which can be used to convert OTF to PDF in UNICODE environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 19:52:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-otf-to-pdf-using-function-module/m-p/1719576#M314186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T19:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: To convert OTF to PDF using function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-otf-to-pdf-using-function-module/m-p/1719577#M314187</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 can use the function module:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CONVERT_OTF_2_PDF&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 19:55:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-otf-to-pdf-using-function-module/m-p/1719577#M314187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T19:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: To convert OTF to PDF using function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-otf-to-pdf-using-function-module/m-p/1719578#M314188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using that. But it is not working properly in UNICODE environment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 20:03:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-otf-to-pdf-using-function-module/m-p/1719578#M314188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T20:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: To convert OTF to PDF using function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-otf-to-pdf-using-function-module/m-p/1719579#M314189</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;U can try "SX_OBJECT_CONVERT_OTF_PDF" or "OTF_CONVERT".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 20:17:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-otf-to-pdf-using-function-module/m-p/1719579#M314189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T20:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: To convert OTF to PDF using function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-otf-to-pdf-using-function-module/m-p/1719580#M314190</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 can do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use &amp;lt;b&amp;gt;'CONVERT_OTF'&amp;lt;/b&amp;gt; FM to get the &amp;lt;b&amp;gt;Bin_filesize&amp;lt;/b&amp;gt; like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: i_lines TYPE tline OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;data: ws_bin_size type i,&lt;/P&gt;&lt;P&gt;        ws_filename type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;    max_linewidth = 132&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;    bin_filesize = ws_bin_size&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;    otf = i_otf&lt;/P&gt;&lt;P&gt;    lines = i_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this:&lt;/P&gt;&lt;P&gt; Get the download path for the file to be downloaded.&lt;/P&gt;&lt;P&gt;then:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Download&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    bin_filesize = ws_bin_size&lt;/P&gt;&lt;P&gt;    filename = ws_filename&lt;/P&gt;&lt;P&gt;    filetype = &amp;lt;b&amp;gt;'BIN'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt; TABLES&lt;/P&gt;&lt;P&gt;    data_tab = i_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE i050 WITH 'Error while File download'.&lt;/P&gt;&lt;P&gt;flg_exit = 'X'.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;MESSAGE i050 WITH 'File downloaded successfully '.&lt;/P&gt;&lt;P&gt;flg_exit = 'X'.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works for unicode environment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 20:37:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-otf-to-pdf-using-function-module/m-p/1719580#M314190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T20:37:39Z</dc:date>
    </item>
  </channel>
</rss>

