<?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: About SAP function CONVERT_OTF in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-sap-function-convert-otf/m-p/6420728#M1409319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This you can achieve by using some function module in sequence. just try to follow the steps :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First you need to get the function module name by calling Function module SSF_FUNCTION_MODULE_NAME. and use this function module name to see the preview.Like Call function (module name).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Execute that function module and you'll got your preview to the output now. and get the spool id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Take that spool id and pass it to function module  'CONVERT_ABAPSPOOLJOB_2_PDF' and save your file in pdf.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Dec 2009 12:38:35 GMT</pubDate>
    <dc:creator>dhirendra_pandit</dc:creator>
    <dc:date>2009-12-16T12:38:35Z</dc:date>
    <item>
      <title>About SAP function CONVERT_OTF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-sap-function-convert-otf/m-p/6420727#M1409318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;    When I used function  "CONVERT_OTF" to convent smartforms to PDF, Italic and  bold  and font size can not be shown correctly . font size is not same as po preview.   i want to show same layout as po preview.&lt;/P&gt;&lt;P&gt;who can tell me how to do?&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          = GV_BIN_FILESIZE&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      OTF                   = GT_OTF&lt;/P&gt;&lt;P&gt;      LINES                 = GT_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;      OTHERS                = 4.&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;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 08:47:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-sap-function-convert-otf/m-p/6420727#M1409318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-16T08:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: About SAP function CONVERT_OTF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-sap-function-convert-otf/m-p/6420728#M1409319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This you can achieve by using some function module in sequence. just try to follow the steps :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First you need to get the function module name by calling Function module SSF_FUNCTION_MODULE_NAME. and use this function module name to see the preview.Like Call function (module name).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Execute that function module and you'll got your preview to the output now. and get the spool id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Take that spool id and pass it to function module  'CONVERT_ABAPSPOOLJOB_2_PDF' and save your file in pdf.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 12:38:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-sap-function-convert-otf/m-p/6420728#M1409319</guid>
      <dc:creator>dhirendra_pandit</dc:creator>
      <dc:date>2009-12-16T12:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: About SAP function CONVERT_OTF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-sap-function-convert-otf/m-p/6420729#M1409320</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;check the thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="8348947"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 12:45:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-sap-function-convert-otf/m-p/6420729#M1409320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-16T12:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: About SAP function CONVERT_OTF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-sap-function-convert-otf/m-p/6420730#M1409321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Take that spool id and pass it to function module 'CONVERT_ABAPSPOOLJOB_2_PDF' and save your file in pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wrong function.  That is for ALI-based spools not OTF-based spools.  See RSTXPDFT4 for more details on how spool types are handled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To the original poster, have you checked RSTXPDFT4 to verify that it's not an issue with your code?  Have you checked for OSS notes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 15:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-sap-function-convert-otf/m-p/6420730#M1409321</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2009-12-16T15:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: About SAP function CONVERT_OTF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-sap-function-convert-otf/m-p/6420731#M1409322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Can you tell me how can i get spool number?  which function can be used?now i am using smartform to change pdf.&lt;/P&gt;&lt;P&gt;looking forward to your reply,thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 04:22:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-sap-function-convert-otf/m-p/6420731#M1409322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-17T04:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: About SAP function CONVERT_OTF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-sap-function-convert-otf/m-p/6420732#M1409323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need a spool number because you can use the OTF data returned by the form call directly (in the job_output_info-otfdata table).  However, you can also get the spool numbers from the spoolids table in the same structure.  Have you looked at the interface of your smartform function call?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 17:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-sap-function-convert-otf/m-p/6420732#M1409323</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2009-12-17T17:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: About SAP function CONVERT_OTF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-sap-function-convert-otf/m-p/6420733#M1409324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 12:08:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-sap-function-convert-otf/m-p/6420733#M1409324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T12:08:40Z</dc:date>
    </item>
  </channel>
</rss>

