<?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 binary to pdf in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-to-pdf/m-p/3812182#M916958</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;        I have RFC which gives data in binary format. now I need to convert that binary data to pdf with out using spool request number like that. Can anybody have idea on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       sure helpful answers are rewarded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;suma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 May 2008 15:49:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-08T15:49:23Z</dc:date>
    <item>
      <title>binary to pdf</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-to-pdf/m-p/3812182#M916958</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;        I have RFC which gives data in binary format. now I need to convert that binary data to pdf with out using spool request number like that. Can anybody have idea on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       sure helpful answers are rewarded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;suma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 15:49:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binary-to-pdf/m-p/3812182#M916958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T15:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: binary to pdf</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-to-pdf/m-p/3812183#M916959</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;After  you get  the data from RFC FM,thn  you use tht &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all 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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Fehlerhandling&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at i_tline.&lt;/P&gt;&lt;P&gt;    translate i_tline using '~'.&lt;/P&gt;&lt;P&gt;    concatenate wa_buffer i_tline into wa_buffer.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  translate wa_buffer using '~'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  do.&lt;/P&gt;&lt;P&gt;    i_record = wa_buffer.&lt;/P&gt;&lt;P&gt;    append i_record.&lt;/P&gt;&lt;P&gt;    shift wa_buffer left by 255 places.&lt;/P&gt;&lt;P&gt;    if wa_buffer is initial.&lt;/P&gt;&lt;P&gt;      exit.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Attachment&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  refresh:&lt;/P&gt;&lt;P&gt;    i_reclist,&lt;/P&gt;&lt;P&gt;    i_objtxt,&lt;/P&gt;&lt;P&gt;    i_objbin,&lt;/P&gt;&lt;P&gt;    i_objpack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  clear wa_objhead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i_objbin[] = i_record[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you the PDF data in i_record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 15:56:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binary-to-pdf/m-p/3812183#M916959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T15:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: binary to pdf</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-to-pdf/m-p/3812184#M916960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;send me declarations code also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 11:05:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binary-to-pdf/m-p/3812184#M916960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T11:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: binary to pdf</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binary-to-pdf/m-p/3812185#M916961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this code is not working. now I am having a file with binary data. what is the procedure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 11:07:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binary-to-pdf/m-p/3812185#M916961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T11:07:41Z</dc:date>
    </item>
  </channel>
</rss>

