cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the complete file path from FileUpload UI element

Former Member
0 Kudos

Hi,

Am trying to upload a file using file upload ui element in webdynpro java.

but i need the complete path of the file located by the user.

If he locates a file c:\harish\sample\myfile.txt

am able to get the filename(myfile.txt)

but instead i need the complete file path(c:\hairsh\sample\myfile) ..which i need to pass to my bapi..

is this possible.. kindly suggest

---

regards

hari

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Hari,

please check the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/5a/90ff4cd0c8cd48a69b836e5e550880/frameset.htm">FileUpload API</a>. Check the resource object, which specifies the data source, contains the data, the file name, and the MIME type.

Best regards,

Martin

Former Member
0 Kudos

Hi Martin,

i need the complete file path which the user locates..is there any way to get it..

Former Member
0 Kudos
Former Member
0 Kudos

Hi ananth,

i would like to put my query properly.

i have a BAPI which'll take the file path as input and read the file from the client machine.

so i need the complete path of the file, which the users locates in the file upload UI element.

is there any way of getting the complete file path..

-


Former Member
0 Kudos

Hi Harish,

It was not possible to get the complete Filepath in Webdynpro.

you can get the filename , filecontent and filetype only.

Regards,

Naga