‎2009 Apr 19 2:11 PM
Hi all,
I have to create a file using open dataset (and not gui download function)
the problem is , is when the user chooses a folder in the network by using its windwos shortcut the open dataset does not work.
do you know of a way to transform this shortcut into the real network path?
thanks,
naama
‎2009 Apr 19 6:07 PM
Neema,
Little confused on your Issue.
open dataset is used to create/read existing file on Application server.
its not realated any how to GUI UPLOAD and dowlonad.
Regards
Shital
‎2009 Apr 20 6:41 AM
Thanks,
forget about gui download or open data set.
i need a function that get windows shrtcut (of a network path) and returns the real path.
thanks,
naama
‎2009 Apr 20 6:51 AM
Hi
You can try with this ...KD_GET_FILENAME_ON_F4
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
static = 'X'
mask = '*.XLS'
CHANGING
file_name = pa_fname
EXCEPTIONS
mask_too_long = 1
OTHERS = 2.In the mask option you can provide the extension format in which you want to store the file.
and pa_fname will be parameter which will be having the file path after the funciton call.
Regards,
Nitin.
Edited by: Nitin Sikka on Apr 20, 2009 7:55 AM
‎2009 Apr 20 7:03 AM
this doesnt help me,
i nedd to convert the windows shortcut of a pth to ther real path.
‎2009 Apr 20 7:06 AM
Hi,
I didnt get you. By window short cut what exactly do you refer to?
Regards,
nitin.
‎2009 Apr 20 7:09 AM
in windows you can create a shortcut to a network folder (S:\)
I need to find the real network folder the the shortcut represent - (
realpath\folder1)
‎2009 Apr 20 7:22 AM
Hi Naama,
We can access any thing like this way, for this you need first write that file on application server and then you can read from there when needed.
Regards,
Nitin.