on ‎2013 Jul 02 12:14 PM
I want to read the actual file path so that I can archive the file.
The issue is when I am using UI Element Fileupload, it always shows C:\fakepath\filename.txt in filename property of UI.
Is there a way I can get the actual file path or what is alternative ?
Request clarification before answering.
Hi Khalid,
Have you tried this tutorial:
http://wiki.sdn.sap.com/wiki/display/WDABAP/Upload+and+Download+files+in+Webdynpro+ABAP
Regards,
Ashwani Kr Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
UI Fileupload takes correct path for uploading the file.But when you read the Node Attribute, it shows only File Name and not complete path.so workaround would be:
1 .you can save the file to upload in 'D' Drive in specific folder. And in the coding file name is concatenated with 'D:' to create complete file path.
2. Uplaod the file in table and then read the complete path of the file
Hope this will help
Ab
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.