<?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: Getting otfdata from structure (SAPLSTXC).... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-otfdata-from-structure-saplstxc/m-p/1517067#M237876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know how to convert data in pdf. My question is completely different. I am asking how can I get otf data in stucture (SAPLSTXC)itcpp.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Aug 2006 16:20:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-28T16:20:57Z</dc:date>
    <item>
      <title>Getting otfdata from structure (SAPLSTXC)....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-otfdata-from-structure-saplstxc/m-p/1517065#M237874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;While working on SAPScript, the driver program RM08NAST control comes out of MRM_ERS_ENTRY function module ,I am using (SAPLSTXC)itcpp-tdspoolid to fetch spoolid(which I use for conversion to pdf)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I want otfdata because instead of using spoolid , I want to use OTFdata directly so that I can directly convert in pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I get it from same structure (SAPLSTXC)itcpp or somewhere  else ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inputs will be appreciated...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 15:58:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-otfdata-from-structure-saplstxc/m-p/1517065#M237874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T15:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getting otfdata from structure (SAPLSTXC)....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-otfdata-from-structure-saplstxc/m-p/1517066#M237875</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 below code......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get the OTF from CLOSE_FORM (otf_data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Convert OTF to PDF &lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;TABLES &lt;/P&gt;&lt;P&gt;otf = otf_data &lt;/P&gt;&lt;P&gt;lines = it_pdf. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Make each line 255 characters &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE' &lt;/P&gt;&lt;P&gt;TABLES &lt;/P&gt;&lt;P&gt;content_in = it_pdf &lt;/P&gt;&lt;P&gt;content_out = it_pdfout. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create the PDF File &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CLEAR it_pdfdata. &lt;/P&gt;&lt;P&gt;REFRESH it_pdfdata. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_pdfout. &lt;/P&gt;&lt;P&gt;MOVE it_pdfout-tline TO it_pdfdata-line. &lt;/P&gt;&lt;P&gt;APPEND it_pdfdata. &lt;/P&gt;&lt;P&gt;CLEAR it_pdfdata. &lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use GUI_DOWNLOAD to to downlaod it_pdfdata file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Refer this Thread:-&amp;lt;/b&amp;gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1753763"&gt;&lt;/A&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="2221461"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 16:12:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-otfdata-from-structure-saplstxc/m-p/1517066#M237875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T16:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Getting otfdata from structure (SAPLSTXC)....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-otfdata-from-structure-saplstxc/m-p/1517067#M237876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know how to convert data in pdf. My question is completely different. I am asking how can I get otf data in stucture (SAPLSTXC)itcpp.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 16:20:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-otfdata-from-structure-saplstxc/m-p/1517067#M237876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T16:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting otfdata from structure (SAPLSTXC)....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-otfdata-from-structure-saplstxc/m-p/1517068#M237877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rajesh,&lt;/P&gt;&lt;P&gt; Try this to get otf data...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before MRM_ENTRY_ERS call add:&lt;/P&gt;&lt;P&gt;NAST-SORT1 = 'SWP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the MRM fm call add the following fm to get otf data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data:  lt_otf_data type  itcoo occurs 0.
call function 'READ_OTF_FROM_MEMORY'
 EXPORTING
   MEMORY_KEY         = NAST-OBJKY
  tables
    otf                = lt_otf_data.
 EXCEPTIONS
   MEMORY_EMPTY       = 1
   OTHERS             = 2&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sridahr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 16:55:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-otfdata-from-structure-saplstxc/m-p/1517068#M237877</guid>
      <dc:creator>sridhar_k1</dc:creator>
      <dc:date>2006-08-28T16:55:37Z</dc:date>
    </item>
  </channel>
</rss>

