Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

File upload

Former Member
0 Kudos

Hi,

I want to read data from (upload) PDF file (not Adobe forms) into SAP i.e. I want data of PDF file into internal table. Is it possible? I tried to use the FM 'GUI_UPLOAD' but it is giving me junk characters.

I tried to search on the SDN but did not get the solution. If this is not possible, is there any standard document supporting this?

Regards

2 REPLIES 2

Former Member
0 Kudos

Upload via GUI_UPLOAD into a binary table.    I declare mine like"

data: gt_itab type table of tbl1024.

Then GUI_UPLOAD with filetype = 'BIN'.

If you need to handle, you can use SCMS* function modules to convert binary table to xstring, etc.  If you want human readable, you will have to go through some conversions, perhaps to string, since the PDF data will be in binary format.

There are posts about this....search the forum for more information!

0 Kudos

Thank you for your prompt reply.

I have done till u have explained. My question is how to convert the data into human readable format?

I already searched in the forum but did not get concrete solution.

Regards.