<?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: Query in Function Module !!!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-in-function-module/m-p/3413672#M819852</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;Plz try the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION "CONVERT_OTF"&lt;/P&gt;&lt;P&gt;&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_LEN&lt;/P&gt;&lt;P&gt;  TABLES      &lt;/P&gt;&lt;P&gt;    OTF   = OTFDATA&lt;/P&gt;&lt;P&gt;    LINES  = PDFDATA&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;    OTHERS  = 4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The IMPORTING parameter BIN_FILESIZE should be Number of bytes in LINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES parameter OTFDATA must be of type ITCOO.&lt;/P&gt;&lt;P&gt;                             PDFDATA must be of type TLINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING parameter FORMAT is the Target Format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2008 07:16:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-21T07:16:18Z</dc:date>
    <item>
      <title>Query in Function Module !!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-in-function-module/m-p/3413671#M819851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;         Can anyone please tell me as to why we use the Function Module 'CONVERT_OTF'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the function Module 'CONVERT_OTF' as follows:&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 = V_LEN_IN&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;OTF = I_OTF&lt;/P&gt;&lt;P&gt;LINES = I_TLINE&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;OTHERS = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I get the contents of the table I_OTF in some Language like Japanese.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyuone please tell me how to resolve the above issue please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reply immediately as this is bit urgent.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 16:47:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-in-function-module/m-p/3413671#M819851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T16:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Query in Function Module !!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-in-function-module/m-p/3413672#M819852</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;Plz try the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION "CONVERT_OTF"&lt;/P&gt;&lt;P&gt;&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_LEN&lt;/P&gt;&lt;P&gt;  TABLES      &lt;/P&gt;&lt;P&gt;    OTF   = OTFDATA&lt;/P&gt;&lt;P&gt;    LINES  = PDFDATA&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;    OTHERS  = 4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The IMPORTING parameter BIN_FILESIZE should be Number of bytes in LINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES parameter OTFDATA must be of type ITCOO.&lt;/P&gt;&lt;P&gt;                             PDFDATA must be of type TLINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING parameter FORMAT is the Target Format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 07:16:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-in-function-module/m-p/3413672#M819852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T07:16:18Z</dc:date>
    </item>
  </channel>
</rss>

