<?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: Reading a PDF file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-pdf-file/m-p/4654130#M1095088</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;As per my knowledge, you can convert PDF to XML and then read the same into ABAP structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2008 15:54:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-21T15:54:30Z</dc:date>
    <item>
      <title>Reading a PDF file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-pdf-file/m-p/4654129#M1095087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's possible to open and extract information from a PDF file with an abap program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 13:49:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-pdf-file/m-p/4654129#M1095087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T13:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a PDF file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-pdf-file/m-p/4654130#M1095088</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;As per my knowledge, you can convert PDF to XML and then read the same into ABAP structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 15:54:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-pdf-file/m-p/4654130#M1095088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T15:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a PDF file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-pdf-file/m-p/4654131#M1095089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oscar,&lt;/P&gt;&lt;P&gt;Check out the below Program.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT ztest_otf_convert .


The link between R/3 and the document content server 
is in TABLE TOA01 

PARAMETERS: obj_key LIKE toa01-object_id.

START-OF-SELECTION.

DATA: i_toa01 LIKE toa01.
data: path type SAEPFAD.

path = '\\someservername\somedirectoryname\somefilename.pdf'

SELECT SINGLE * FROM toa01 INTO i_toa01 WHERE 
ar_object = obj_key.

IF sy-subrc = 0.

CALL FUNCTION 'ARCHIVOBJECT_GET_DT_VIA_TABLE'
EXPORTING
archiv_id = i_toa01-archiv_id
archiv_doc_id = i_toa01-archiv_doc_id
doc_type = i_toa01-reserve
dtpath = path
convert = 'X'
EXCEPTIONS
error_application = 1
OTHERS = 2.


IF sy-subrc 0.


MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO 
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. 
ENDIF.

ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chidanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 16:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-pdf-file/m-p/4654131#M1095089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T16:02:20Z</dc:date>
    </item>
  </channel>
</rss>

