2008 Oct 30 12:37 PM
hi all,
i need to send the output data to desktop(i mean download) who ever executes the progrm.
so i have written the code for this as
DATA: v_file TYPE string value 'C:\Documents and Settings\lkiran\Desktop\test'.
in selection screen default the value is given as below
FILENAME :'C:\Documents and Settings\lkiran\Desktop\test'.
THE PROBLEM IS if any one else executes the report their desktop name should come instead of kiran.
please help
hi all,
i need to send the output data to desktop(i mean download) who ever executes the progrm.
so i have written the code for this as
DATA: v_file TYPE string value 'C:\Documents and Settings\lkiran\Desktop\test'.
in selection screen default the value is given as below
FILENAME :'C:\Documents and Settings\lkiran\Desktop\test'.
THE PROBLEM IS if any one else executes the report their desktop name should come instead of kiran.
please help
2008 Oct 30 12:41 PM
you can call the method GET_DESKTOP_DIRECTORY of calss CL_GUI_FRONTEND_SERVICES , to get the desktop directory. and populate accordingly. place the logic in initialization event.
2008 Oct 30 12:58 PM