Skip to Content
0
Former Member
Apr 14, 2008 at 08:07 AM

regarding gui_download

12 Views

hi all,

i have declared a parameter as following

PARAMETERS : p_file LIKE rlgrap-filename DEFAULT 'c:\kk.xls' MODIF ID bl2.

and in gui_download im passing as follow

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

FILENAME = p_file

FILETYPE = 'ASC'

WRITE_FIELD_SEPARATOR = 'X'

TABLES

DATA_TAB = it_final_tab.

but the problem is when im commin to particular part i.e to gui_download fm system is giving an error where as if i specify the path insted of passing the p_file im not gettin an error but my requirement is like the user specifies the path at selection time can any one got a clue abt this. I thinks while passing the p_file its not taking the ' ' (quotes) into considaration how to pass the quotes in the selection screen.

thanks

Anupama