2014 Mar 13 12:53 PM
Hi.
I'm not able to get the data of uploaded pdf file in readable form using OPEN DATASET Statement.
Is there any other solution ?
2014 Mar 14 10:35 AM
we had a similar requirement in our organisation a while back. we searched extensively on the internet,
used GUI_UPLOAD & SCMS_BINARY_TO_XSTRING... but no use.. I also tried executing the standard report FP_PDF_TEST_03 on an ADS server. to our disappointment.. nothing came out from it.
I suggest u to convert the pdf into excel from the third party software and then read the data from excel file.
2014 Mar 13 1:06 PM
Hi,
did you mean you would like to read the content of a PDF ? transform a PDF into a flat text file ?
regards
Fred
2014 Mar 13 1:08 PM
2014 Mar 13 1:29 PM
You will need an external program for this: if your pdf doesn't contain pictures.
If your PDF contains a picture (if it was a scanned document) you will need a software to analyse the picture and find the letters ...
in Unix/Linux system you have a lot of soft like : PDF2DOC PDF2TXT ...
you have also GhostScript software that could convert PDF into several formats.
and in the worst case, you will need a software making OCR
regards
Fred
2014 Mar 13 1:38 PM
My exact requirement is to extract the data from PDF file into internal table in readable format without using any third party software or ADS.
2014 Mar 13 2:19 PM
Only methods I found in Abap are part of ADS's API (e.g. some CL_FP_PDF_OBJECT->IF_FP_PDF_OBJECT~GET_DATA...) and usually return XML not Abap internal table
Else perform some google on pdf extract xml free.
Regards,
Raymond
2014 Mar 15 7:41 PM
Hi,
I'm satisfied with Mr. Safaya what he replied but still i would like to know if anyone has answer about it.
When we can convert SAP made smartform into PDF so it must be possible to convert pdf into any other format after uploading it into SAP.
Thanx.
2014 Mar 14 10:35 AM
we had a similar requirement in our organisation a while back. we searched extensively on the internet,
used GUI_UPLOAD & SCMS_BINARY_TO_XSTRING... but no use.. I also tried executing the standard report FP_PDF_TEST_03 on an ADS server. to our disappointment.. nothing came out from it.
I suggest u to convert the pdf into excel from the third party software and then read the data from excel file.