on 03-06-2007 8:02 AM
Hey,
I am trying to use
cl_gui_frontend_services=>gui_download
and include the windows environment variable %USERPROFILE%
in the path for example:
filename = '%USERPROFILE%/filename.txt'
that only creates a directory called %USERPROFILE% but not the Variable.
Has anybody experienced this ?
Thank your for your help,
kind Regards
Christof
you have to use the following code to get the environment variable value and then use that with gui_download
call method cl_gui_frontend_services=>environment_get_variable
exporting
variable = p_envir_name
changing
value = ls_envir_path
exceptions
cntl_error = 1
error_no_gui = 2
others = 3.
call method cl_gui_cfw=>flush
exceptions
cntl_system_error = 1
cntl_error = 2
others = 3.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.