on 10-05-2012 3:06 PM
Hi Experts,
Is there any Function Module available to get URL for Application Server Files.
There are Multiple files stored under a directory in Application Server.
I need to show URL in Web dynpro screen for those files. If User clicks on URL, that needs to be open corresponding files(Images).
Regards,
Arjun.
Hi Arjun,
Try these FM to get the files from Application server.
call function 'RZL_READ_DIR'
exporting
name = p_file " Application server directory
srvname = ' '
tables
file_tbl = lt_file " this internal table having list of file names
exceptions
argument_error = 1
not_found = 2
send_error = 3
system_failure = 4
others = 5.
FM-----SUBST_GET_FILE_LIST.
And using this FM 'WDY_CONSTRUCT_URL ' you can construct URL of every file and display on UI.
also refer this Docu for Some FM
http://wiki.sdn.sap.com/wiki/display/ABAP/Useful+ABAP+Function+Modules
Regards
Madhukiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.