<?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: FM CONVERT_OTF in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-convert-otf/m-p/4794657#M1122918</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First of all check whether you are getting the output in smartform.Are you getting that? After that go for the conversion to PDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the bin_filesize in importing&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ARCHIVE_INDEX = ' ' &lt;/P&gt;&lt;P&gt;COPYNUMBER = 0 &lt;/P&gt;&lt;P&gt;ASCII_BIDI_VIS2LOG = ' ' &lt;/P&gt;&lt;P&gt;PDF_DELETE_OTFTAB = ' ' &lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;BIN_FILESIZE = w_bin_filesize&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BIN_FILE = BIN_FILE &lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;otf = t_otf&lt;/P&gt;&lt;P&gt;lines = t_pdf_tab&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ERR_MAX_LINEWIDTH = 1&lt;/P&gt;&lt;P&gt;ERR_FORMAT = 2&lt;/P&gt;&lt;P&gt;ERR_CONV_NOT_POSSIBLE = 3&lt;/P&gt;&lt;P&gt;ERR_BAD_OTF = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;  try commenting the line MAX_LINEWIDTH = 10 "132 in the FM and then check it.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Midhun Abraham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Midhun Abraham on Nov 24, 2008 9:18 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Midhun Abraham on Nov 24, 2008 9:28 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Nov 2008 08:15:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-24T08:15:22Z</dc:date>
    <item>
      <title>FM CONVERT_OTF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-convert-otf/m-p/4794656#M1122917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;    the function module CONVERT_OTF is used in my program for changing my output to pdf but it is dumping an error 'OTF end command // missing in OTF data'. what is the error i ahve made?????&lt;/P&gt;&lt;P&gt;with regrads&lt;/P&gt;&lt;P&gt;janani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 08:07:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-convert-otf/m-p/4794656#M1122917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T08:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: FM CONVERT_OTF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-convert-otf/m-p/4794657#M1122918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First of all check whether you are getting the output in smartform.Are you getting that? After that go for the conversion to PDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the bin_filesize in importing&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ARCHIVE_INDEX = ' ' &lt;/P&gt;&lt;P&gt;COPYNUMBER = 0 &lt;/P&gt;&lt;P&gt;ASCII_BIDI_VIS2LOG = ' ' &lt;/P&gt;&lt;P&gt;PDF_DELETE_OTFTAB = ' ' &lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;BIN_FILESIZE = w_bin_filesize&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BIN_FILE = BIN_FILE &lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;otf = t_otf&lt;/P&gt;&lt;P&gt;lines = t_pdf_tab&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ERR_MAX_LINEWIDTH = 1&lt;/P&gt;&lt;P&gt;ERR_FORMAT = 2&lt;/P&gt;&lt;P&gt;ERR_CONV_NOT_POSSIBLE = 3&lt;/P&gt;&lt;P&gt;ERR_BAD_OTF = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;  try commenting the line MAX_LINEWIDTH = 10 "132 in the FM and then check it.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Midhun Abraham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Midhun Abraham on Nov 24, 2008 9:18 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Midhun Abraham on Nov 24, 2008 9:28 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 08:15:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-convert-otf/m-p/4794657#M1122918</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T08:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: FM CONVERT_OTF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-convert-otf/m-p/4794658#M1122919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the FM as follows.&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;IMPORTING&lt;/P&gt;&lt;P&gt;BIN_FILESIZE = PDF_SIZE&lt;/P&gt;&lt;P&gt;BIN_FILE = PDF_DATA&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;OTF = LT_OTFDATA[]&lt;/P&gt;&lt;P&gt;LINES = L_DUMMY&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ERR_MAX_LINEWIDTH = 1&lt;/P&gt;&lt;P&gt;ERR_FORMAT = 2&lt;/P&gt;&lt;P&gt;ERR_CONV_NOT_POSSIBLE = 3&lt;/P&gt;&lt;P&gt;ERR_BAD_OTF = 4&lt;/P&gt;&lt;P&gt;OTHERS = 5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 08:15:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-convert-otf/m-p/4794658#M1122919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T08:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: FM CONVERT_OTF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-convert-otf/m-p/4794659#M1122920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes sir i am getting output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my code....&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 = 10 "132&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;      BIN_FILESIZE = W_BIN_FILESIZE&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 = T_OTF&lt;/P&gt;&lt;P&gt;      LINES = T_PDF_TAB&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;      ERR_MAX_LINEWIDTH = 1&lt;/P&gt;&lt;P&gt;      ERR_FORMAT = 2&lt;/P&gt;&lt;P&gt;      ERR_CONV_NOT_POSSIBLE = 3&lt;/P&gt;&lt;P&gt;      ERR_BAD_OTF = 4&lt;/P&gt;&lt;P&gt;      OTHERS = 5&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 ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 08:19:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-convert-otf/m-p/4794659#M1122920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T08:19:45Z</dc:date>
    </item>
  </channel>
</rss>

