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: 

Read File from Local path - Not_Supported_by_gui exception

0 Kudos

To read content of the file Local system path ,I have used GUI_UPLOAD FM.

Step 1:

Normal Input field will be URL (EX:  D:\Invattach.pdf ) on click of Submit Button GUI_UPLOAD FM will get triggered.

Step 2: Exception:

NOT_SUPPORTED_BY_GUI.

As GUI_UPLOAD Cannot be triggered from web dynpro application.

I know we can upload the file using Upload UI Container, But my requirement is that Input will be File Path(like D:\Invattach.pdf which will be in C or D drive) and ABAP Program need to read the file.

Input file can be of any type.

Please Help me here

3 REPLIES 3

0 Kudos

is there any FM or method that can be called from webdynpro application other than GUI_UPLOAD to read file from local path?

0 Kudos

Hi,

You can achieve this by FILEUPLOAD UI Element in webdynpro.

Regards,

K.S

0 Kudos

Hi,

Thanks for your reply,

I know we can upload the file using File Upload UI Container, But my requirement is that Input will be File Path(like D:\Invattach.pdf which will be in C or D drive) and ABAP Program need to read the file.

Input file can be of any type.

here input will be URL in a Normal Input field,there is no File upload UI Element.