<?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: Fetching OTF data required for Convert_OTF for SAPScript versus Samrtform. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-otf-data-required-for-convert-otf-for-sapscript-versus-samrtform/m-p/1465957#M219435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one more doubt associated with this.&lt;/P&gt;&lt;P&gt;If we want to convert this OTF data in PDF, where exactly we will use the convert_otf function module ? Will this be after Close_form ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: According to solution given to me I will get OTF data after close_form function module..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Aug 2006 23:38:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-16T23:38:38Z</dc:date>
    <item>
      <title>Fetching OTF data required for Convert_OTF for SAPScript versus Samrtform.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-otf-data-required-for-convert-otf-for-sapscript-versus-samrtform/m-p/1465954#M219432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When using a CONVERT_OTF for converting Smartform output we pass the &amp;lt;b&amp;gt;importing parameter job_output_info-otfdata&amp;lt;/b&amp;gt; of function module CALL FUNCTION v_form_name&lt;/P&gt;&lt;P&gt;to &amp;lt;b&amp;gt;Tables parameter OTF&amp;lt;/b&amp;gt; of function module CONVERT_OTF odule. We do this because the &amp;lt;b&amp;gt;job_output_info-otfdata&amp;lt;/b&amp;gt; contains the otf data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when when we are using the same function module CONVERT_OTF for SAPScript, where do we get the otf data from ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 23:03:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-otf-data-required-for-convert-otf-for-sapscript-versus-samrtform/m-p/1465954#M219432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-16T23:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching OTF data required for Convert_OTF for SAPScript versus Samrtform.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-otf-data-required-for-convert-otf-for-sapscript-versus-samrtform/m-p/1465955#M219433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You get is from the CLOSE_FORM function call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 23:04:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-otf-data-required-for-convert-otf-for-sapscript-versus-samrtform/m-p/1465955#M219433</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-16T23:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching OTF data required for Convert_OTF for SAPScript versus Samrtform.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-otf-data-required-for-convert-otf-for-sapscript-versus-samrtform/m-p/1465956#M219434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example, you set the flag in the OPEN_FORM call, then get the OTF from the CLOSE_FORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


form  get_otf_code.

  data: begin of otf occurs 0.
          include structure itcoo .
  data: end of otf.

  data: itcpo like itcpo.
  data: itcpp like itcpp.

  clear itcpo.
&amp;lt;b&amp;gt;  itcpo-tdgetotf = 'X'.&amp;lt;/b&amp;gt;

* Start writing OTF code
  call function 'OPEN_FORM'
       exporting
            form     = 'ZTEST'
            language = sy-langu
&amp;lt;b&amp;gt;            options  = itcpo&amp;lt;/b&amp;gt;
            dialog   = false
       exceptions
            others   = 1.

  perform write_form.

&amp;lt;b&amp;gt;  move-corresponding itcpo to itcpp.&amp;lt;/b&amp;gt;

  call function 'CLOSE_FORM'
       importing
  &amp;lt;b&amp;gt;          result  = itcpp&amp;lt;/b&amp;gt;
       tables
   &amp;lt;b&amp;gt;         otfdata = otf&amp;lt;/b&amp;gt;
       exceptions
            others  = 1.



&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 23:07:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-otf-data-required-for-convert-otf-for-sapscript-versus-samrtform/m-p/1465956#M219434</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-16T23:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching OTF data required for Convert_OTF for SAPScript versus Samrtform.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-otf-data-required-for-convert-otf-for-sapscript-versus-samrtform/m-p/1465957#M219435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one more doubt associated with this.&lt;/P&gt;&lt;P&gt;If we want to convert this OTF data in PDF, where exactly we will use the convert_otf function module ? Will this be after Close_form ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: According to solution given to me I will get OTF data after close_form function module..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 23:38:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-otf-data-required-for-convert-otf-for-sapscript-versus-samrtform/m-p/1465957#M219435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-16T23:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching OTF data required for Convert_OTF for SAPScript versus Samrtform.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-otf-data-required-for-convert-otf-for-sapscript-versus-samrtform/m-p/1465958#M219436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFter you get the OTF code from the CLOSE_FORM function module you will then call another function module to convert it to PDF format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may be able to use function module CONVERT_OTF_2_PDF for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 23:42:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-otf-data-required-for-convert-otf-for-sapscript-versus-samrtform/m-p/1465958#M219436</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-16T23:42:18Z</dc:date>
    </item>
  </channel>
</rss>

