09-25-2014 5:25 PM
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
09-25-2014 5:28 PM
is there any FM or method that can be called from webdynpro application other than GUI_UPLOAD to read file from local path?
09-25-2014 8:26 PM
Hi,
You can achieve this by FILEUPLOAD UI Element in webdynpro.
Regards,
K.S
09-26-2014 2:52 AM
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.