<?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: PDF String in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-string/m-p/2537716#M576278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi raghu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give me details as exactly which FM you are using for getting 'pdf data' ?..which data you are passing to it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhijit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2007 06:36:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-19T06:36:26Z</dc:date>
    <item>
      <title>PDF String</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-string/m-p/2537713#M576275</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;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;my requirement:-&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have one smartform for invoice. we need to extract the data from smartform and we need to produce a pdf string of that data,so that they will pass that string to other technology i think like webshop. But we are using  one fm called &amp;lt;b&amp;gt;convert_off&amp;lt;/b&amp;gt; to convert the data from otf format to pdf format.&lt;/P&gt;&lt;P&gt;That means they extracted the smartform data in otf format and transferred it into pdf format by using that fm &amp;lt;b&amp;gt;(convert_off)&amp;lt;/b&amp;gt;.But the FM wants a pdf string not a pdf file.so is there fm to convert otf data in to a pdf string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please update me if any one has idea about this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;raghu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 06:56:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-string/m-p/2537713#M576275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T06:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: PDF String</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-string/m-p/2537714#M576276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have not used Convert_otf.. but i see that there exporting parameter bin_file of type xstring.. that means it exports file as a xstring..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyways,&lt;/P&gt;&lt;P&gt;If you have pdf in form of internal table then you can loop thorough the tab and get the pdf string...&lt;/P&gt;&lt;P&gt;sample code (incomplete but should give you idea):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ls_xfiledata TYPE xstring,&lt;/P&gt;&lt;P&gt;lv_filelength TYPE i,&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;ls_xfiledata&amp;gt; TYPE file_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT lt_file_tab ASSIGNING &amp;lt;ls_xfiledata&amp;gt;.&lt;/P&gt;&lt;P&gt;  CONCATENATE ls_xfiledata &amp;lt;ls_xfiledata&amp;gt; INTO  ls_xfiledata   IN BYTE MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_xfiledata = ls_xfiledata(lv_filelength). 'this is important otherwise file you get is corrupted...lv_filelenght is filled beforehand...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhijit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="/people/mark.finnern/blog/2004/08/10/spread-the-love the love&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:20:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-string/m-p/2537714#M576276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: PDF String</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-string/m-p/2537715#M576277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhijit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the answer. but still the problem persists. Can you please tell me in detail about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And one more thing if we open that pdf file with notepad (ie in txt format) ,we are getting the required string what we want. so is there any FM to convert that pdf data to pdf string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope you understand the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 05:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-string/m-p/2537715#M576277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T05:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: PDF String</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-string/m-p/2537716#M576278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi raghu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give me details as exactly which FM you are using for getting 'pdf data' ?..which data you are passing to it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhijit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 06:36:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-string/m-p/2537716#M576278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T06:36:26Z</dc:date>
    </item>
  </channel>
</rss>

