<?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: HOW TO READ PDF FILES FROM APPLICATION SERVER in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693582#M889394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've executed this code, and it is working for me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Apr 2008 19:33:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-10T19:33:37Z</dc:date>
    <item>
      <title>HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693571#M889383</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;I have PDF files in application server.My requirement is to read these PDF&lt;/P&gt;&lt;P&gt;files and send it as a PDF attachement to some receipients.Do anyone know&lt;/P&gt;&lt;P&gt;how to read PDF files from application server.thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 21:12:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693571#M889383</guid>
      <dc:creator>aakash-neelaperumal</dc:creator>
      <dc:date>2008-04-09T21:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693572#M889384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really any different from reading 'any' other file from application server, just use OPEN DATASET but this time in BINARY MODE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 22:35:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693572#M889384</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-04-09T22:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693573#M889385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;even if  I read the files from application server nad store it in an internal table,how do i send it as a pdf attachment.??In the fm 'SO_DOCUMENT_SEND_API1' &lt;/P&gt;&lt;P&gt;the tables parameter contents_bin (maximum length per line s only 255...) but the pdf file on the application server will be more than that??? could you please help???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 17:08:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693573#M889385</guid>
      <dc:creator>aakash-neelaperumal</dc:creator>
      <dc:date>2008-04-10T17:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693574#M889386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, if you use open dataset with that structure you need to use a loop until the file is completed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code needs to look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
open dataset dsn for input in binary mode.

do.
read dataset dsn into contents_bin-line.
if sy-subrc ne 0.
exit.
endif.
append contents_bin.
enddo.

close dataset dsn.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ramiro Escamilla on Apr 10, 2008 7:16 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 17:15:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693574#M889386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T17:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693575#M889387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aakash,&lt;/P&gt;&lt;P&gt;You are right.&lt;/P&gt;&lt;P&gt;As, SOLISTI1 is off length 255 characters, you can not have more than 255 character width in attachment doc, if you use SO_NEW_DOCUMENT_ATT_SEND_API1.&lt;/P&gt;&lt;P&gt;However, there is a way out. You need to use Business Communication Service. Class CL_BCS provides a way to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the demo program BCS_EXAMPLE_5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 17:37:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693575#M889387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T17:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693576#M889388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;yeah u r right..I tried this for populating my internal table and i used this internal table&lt;/P&gt;&lt;P&gt;in FM 'SO_DOCUMENT_SEND_API1' .  As expected ,I got an attachement as pdf file but&lt;/P&gt;&lt;P&gt;when i tried opening the pdf document,i got a pop up saying &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'there was an error opening this document .The file is damaged and could not be repaired'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to fix this??Pls help.thanks much for ur reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 18:06:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693576#M889388</guid>
      <dc:creator>aakash-neelaperumal</dc:creator>
      <dc:date>2008-04-10T18:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693577#M889389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi akash this is the problem with the file name only....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some times /tmp will give error so choose another directory and test it ...i think it will work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 18:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693577#M889389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T18:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693578#M889390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No venkat,&lt;/P&gt;&lt;P&gt;I tried doing that..it is not working..am getting the same error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 18:28:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693578#M889390</guid>
      <dc:creator>aakash-neelaperumal</dc:creator>
      <dc:date>2008-04-10T18:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693579#M889391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've done this for you... enjoy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: send_request       TYPE REF TO cl_bcs.
DATA: text               TYPE bcsy_text.
DATA: binary_content     TYPE solix_tab.
DATA: document           TYPE REF TO cl_document_bcs.
DATA: sender             TYPE REF TO cl_sapuser_bcs.
DATA: recipient          TYPE REF TO if_recipient_bcs.
DATA: bcs_exception      TYPE REF TO cx_bcs.
DATA: sent_to_all        TYPE os_boolean.



START-OF-SELECTION.

  PERFORM main.

*---------------------------------------------------------------------*
*       FORM main                                                     *
*---------------------------------------------------------------------*
FORM main.

TRY.
*     -------- create persistent send request ------------------------
      send_request = cl_bcs=&amp;gt;create_persistent( ).

*     -------- create and set document with attachment ---------------
*     create document from internal table with text
      APPEND 'Hello world!' TO text.
      document = cl_document_bcs=&amp;gt;create_document(
                      i_type    = 'RAW'
                      i_text    = text
                      i_length  = '12'
                      i_subject = 'test created by Gaurav' ).
DATA: file TYPE string VALUE '\\yourfile_in_application_server.pdf'.
data : wa_bin type SOLIX.
FIELD-SYMBOLS &amp;lt;hex_container&amp;gt; TYPE x.


open dataset file for input in binary mode.
DO.
  ASSIGN wa_bin TO &amp;lt;hex_container&amp;gt; CASTING.
  READ DATASET file INTO &amp;lt;hex_container&amp;gt;.
  IF sy-subrc = 0.
   append wa_bin to binary_content.
  ELSE.
    EXIT.
  ENDIF.
ENDDO.

CLOSE DATASET file.



      CALL METHOD document-&amp;gt;add_attachment
        EXPORTING
          i_attachment_type    = 'PDF'
          i_attachment_subject = 'My attachment'
          i_att_content_hex    = binary_content.

*     add document to send request
      CALL METHOD send_request-&amp;gt;set_document( document ).

*     --------- set sender -------------------------------------------
*     note: this is necessary only if you want to set the sender
*           different from actual user (SY-UNAME). Otherwise sender is
*           set automatically with actual user.

      sender = cl_sapuser_bcs=&amp;gt;create( sy-uname ).
      CALL METHOD send_request-&amp;gt;set_sender
        EXPORTING
          i_sender = sender.

*     --------- add recipient (e-mail address) -----------------------
*     create recipient - please replace e-mail address !!!
      recipient = cl_cam_address_bcs=&amp;gt;create_internet_address(
                                        'email address' ).

*     add recipient with its respective attributes to send request
      CALL METHOD send_request-&amp;gt;add_recipient
        EXPORTING
          i_recipient = recipient
          i_express   = 'X'.

*     ---------- send document ---------------------------------------
      CALL METHOD send_request-&amp;gt;send(
        EXPORTING
          i_with_error_screen = 'X'
        RECEIVING
          result              = sent_to_all ).
      IF sent_to_all = 'X'.
        WRITE text-003.
      ENDIF.

COMMIT WORK.


* -----------------------------------------------------------
* *                     exception handling
* -----------------------------------------------------------
* * replace this very rudimentary exception handling
* * with your own one !!!
* -----------------------------------------------------------
    CATCH cx_bcs INTO bcs_exception.
      WRITE: 'Fehler aufgetreten.'(001).
      WRITE: 'Fehlertyp:'(002), bcs_exception-&amp;gt;error_type.
      EXIT.

  ENDTRY.

ENDFORM.                    "main&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 18:41:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693579#M889391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T18:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693580#M889392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gaurav,&lt;/P&gt;&lt;P&gt;am getting the same error as before...no luck..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there was an error opening this document .the file is damaged and could not be repaired.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 19:08:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693580#M889392</guid>
      <dc:creator>aakash-neelaperumal</dc:creator>
      <dc:date>2008-04-10T19:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693581#M889393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to specify the file size in order to work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with this FM to see if you can get the file size IWB_KXF_CALC_FILESIZE, if the table can't be converted, I think a good idea is to copy the routine is only 6 lines after all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 19:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693581#M889393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T19:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693582#M889394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've executed this code, and it is working for me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 19:33:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693582#M889394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T19:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693583#M889395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then may be the file which i hav in the application server as pdf is not correct???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 19:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693583#M889395</guid>
      <dc:creator>aakash-neelaperumal</dc:creator>
      <dc:date>2008-04-10T19:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693584#M889396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.. it can be the reason..&lt;/P&gt;&lt;P&gt;Try accessing that file directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 19:52:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693584#M889396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T19:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693585#M889397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gaurav,&lt;/P&gt;&lt;P&gt;can u tell me how u uploaded the PDF into application server...is it thr CG3Y??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 14:00:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693585#M889397</guid>
      <dc:creator>aakash-neelaperumal</dc:creator>
      <dc:date>2008-04-11T14:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693586#M889398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CG3Y is to get file from application server... use CG3Z instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 14:54:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693586#M889398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-11T14:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693587#M889399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gaurav,&lt;/P&gt;&lt;P&gt;i hav a text file in application server.The demo pgm works fine for a pdf file in application  server.&lt;/P&gt;&lt;P&gt;But am not able to send the text fie as pdf attachment.i tried opening the file in application server&lt;/P&gt;&lt;P&gt;with open dataset in text  mode and then used the demo pgm..i even tried reading in binary mode but it is not working.Pls help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;aakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 15:05:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693587#M889399</guid>
      <dc:creator>aakash-neelaperumal</dc:creator>
      <dc:date>2008-04-28T15:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693588#M889400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried passing 'TXT' to parameter &lt;STRONG&gt;i_attachment_type&lt;/STRONG&gt; of &lt;/P&gt;&lt;P&gt;method &lt;STRONG&gt;add_attachment&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;Can you provide the code u r using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 16:01:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693588#M889400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T16:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693589#M889401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;if i give 'TXT' as attachment type, how will i get a pdf attachment?? i have used the same code as in the demo example....also do u know how to read a group of files from a specific directory??&lt;/P&gt;&lt;P&gt;like say for eg i want all the filenames in a specific directory??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;aakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 17:07:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693589#M889401</guid>
      <dc:creator>aakash-neelaperumal</dc:creator>
      <dc:date>2008-04-28T17:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO READ PDF FILES FROM APPLICATION SERVER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693590#M889402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay..&lt;/P&gt;&lt;P&gt;I got u wrong in that part.. i thought u r not able to send TXT attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have 'TMP_GUI_DIRECTORY_LIST_FILES'  FM for presentation server. Not sure about application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 18:15:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-pdf-files-from-application-server/m-p/3693590#M889402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T18:15:25Z</dc:date>
    </item>
  </channel>
</rss>

