Skip to Content
0
Former Member
Mar 27, 2008 at 03:31 AM

Downloading to Application server

112 Views

Hi gurus,

My requirement is to download a file to application server in background mode by DYNAMICALLY SELECTING THE DIRECTORIES AVAILABLE in application server.

i.e. i must display all the directories available in application server in the selection screen than the user will select which directory and folder he wants to download.

I used both F4_DXFILENAME_TOPRECURSION and SAPDMC/LSM_F4_SERVER_FILE but the problem is:-

F4_DXFILENAME_TOPRECURSION :-

When we use the above FM than by default it displays all the files in 'H:' directory only , we cannot access any other directory.

So we need to assign the I_PATH = J:(one of the other directory available) in the FM(I_PATH is one of the parameter in FM) and than we can easily store the output inside 'J:'

But this does not serve the purpose since we can see only 'J:' directory now but the user wants to see all the directories and depending on requirement they will choose the path..........

SAPDMC/LSM_F4_SERVER_FILE :-

even this FM has the same problem and we need to pass the particular directory path inside this.

Waiting for ur replies..its urgent

points will be definitely awarded