Application Development and Automation 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 only

using open dataset

Naama
Participant
0 Likes
802

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

7 REPLIES 7
Read only

Former Member
0 Likes
774

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

Read only

0 Likes
774

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

Read only

0 Likes
774

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

Read only

0 Likes
774

this doesnt help me,

i nedd to convert the windows shortcut of a pth to ther real path.

Read only

0 Likes
774

Hi,

I didnt get you. By window short cut what exactly do you refer to?

Regards,

nitin.

Read only

0 Likes
774

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)

Read only

0 Likes
774

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.