<?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 file unreadable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-file-unreadable/m-p/6346075#M1398183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you recently upgrade the system? SAP note 787418 should be able to help you on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2011 10:54:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-08-30T10:54:04Z</dc:date>
    <item>
      <title>Pdf file unreadable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-file-unreadable/m-p/6346072#M1398180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;        I have a program where it sends an email to the customer with a PDF file as an attachment. But in one scenario the attachment couldnot be opened. While trying to open the pdf file it shows an error 'Adobe reader couldnot open the file because either it is not a supported file or because the file has been damaged'. &lt;/P&gt;&lt;P&gt;As we are not able to reproduce the same issue in Development we are not able to find the exact reason for this. Can you please give me some points which possibly could be the reasons for this error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 05:18:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-file-unreadable/m-p/6346072#M1398180</guid>
      <dc:creator>lijo_raj2</dc:creator>
      <dc:date>2009-11-11T05:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pdf file unreadable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-file-unreadable/m-p/6346073#M1398181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;it means that pdf file doesn't have data or does not exits.&lt;/P&gt;&lt;P&gt;please provide some more technical information to give better answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;padmaja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 06:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-file-unreadable/m-p/6346073#M1398181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-11T06:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pdf file unreadable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-file-unreadable/m-p/6346074#M1398182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Padmajavaddi ,&lt;/P&gt;&lt;P&gt;     I have checked and the data to be converted is present. &lt;/P&gt;&lt;P&gt;What technical details should i provide you.&lt;/P&gt;&lt;P&gt;Thanks for your valuable time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 06:45:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-file-unreadable/m-p/6346074#M1398182</guid>
      <dc:creator>lijo_raj2</dc:creator>
      <dc:date>2009-11-11T06:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pdf file unreadable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-file-unreadable/m-p/6346075#M1398183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you recently upgrade the system? SAP note 787418 should be able to help you on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 10:54:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-file-unreadable/m-p/6346075#M1398183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-30T10:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pdf file unreadable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-file-unreadable/m-p/6346076#M1398184</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 faced the same problem , but i solved it using OOPS .&lt;/P&gt;&lt;P&gt;You can use it.Below is the code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              -------- create persistent send request ------------------------&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        send_request = cl_bcs=&amp;gt;create_persistent( ).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              -------- create and set document -------------------------------&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        pdf_content1 = cl_document_bcs=&amp;gt;xstring_to_solix( bin_file1 ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        READ TABLE i_packing_list INDEX 1.&lt;/P&gt;&lt;P&gt;        document = cl_document_bcs=&amp;gt;create_document(&lt;/P&gt;&lt;P&gt;                                  i_type    = 'RAW'&lt;/P&gt;&lt;P&gt;                                  i_text    = li_text&lt;/P&gt;&lt;P&gt;                                  i_subject = l_mtitle ).&lt;/P&gt;&lt;P&gt;        READ TABLE i_packing_list INDEX 2.&lt;/P&gt;&lt;P&gt;        document-&amp;gt;add_attachment( i_attachment_type    = 'PDF'&lt;/P&gt;&lt;P&gt;                            i_attachment_subject = l_mtitle1&lt;/P&gt;&lt;P&gt;                            i_att_content_hex  = pdf_content1 ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             add document object to send request&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        send_request-&amp;gt;set_document( document ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      --------- add recipient (e-mail address) -----------------------&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             create recipient object&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        recipient = cl_cam_address_bcs=&amp;gt;create_internet_address( mailto ).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             add recipient object to send request&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        send_request-&amp;gt;add_recipient( i_recipient = recipient&lt;/P&gt;&lt;P&gt;                          i_express   = 'X' i_copy = lx_copy ).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       send_request-&amp;gt;add_recipient( recipient ).&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             ---------- send document ---------------------------------------&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        sent_to_all = send_request-&amp;gt;send( i_with_error_screen = 'X' ).&lt;/P&gt;&lt;P&gt;      CATCH cx_bcs INTO bcs_exception.&lt;/P&gt;&lt;P&gt;    ENDTRY.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 11:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-file-unreadable/m-p/6346076#M1398184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-30T11:38:48Z</dc:date>
    </item>
  </channel>
</rss>

