2005 Aug 23 5:02 AM
hi,
i'm using Funtion module xxl_simple_api to download contents of internal table to spread sheet. Every thing works fine but i need to specify the path manually everytime i run the program, is there any way to default the path?. your help would be appreciated.
Thanks,
ravi.
hi,
i'm using Funtion module xxl_simple_api to download contents of internal table to spread sheet. Every thing works fine but i need to specify the path manually everytime i run the program, is there any way to default the path?. your help would be appreciated.
Thanks,
ravi.
2005 Aug 23 5:51 AM
Hello,
Why don't you build a selection screen for it where you have a fields with a value request which can browse for a file. You can also then give a default for the filename.
Is that what you mean?
2005 Aug 23 2:21 PM
i dont find any parameter to pass the path to the function moudule and i need to have that even though i recieve the input from the selection screen.
thanks,
ravi
2005 Aug 23 2:26 PM
Hi,
It's better to use another FM 'SAP_CONVERT_TO_XLS_FORMAT'
call function 'SAP_CONVERT_TO_XLS_FORMAT'
exporting
I_FIELD_SEPERATOR = seper
I_LINE_HEADER = 'X'
I_FILENAME = P_FILE
tables
I_TAB_SAP_DATA = itab
exceptions
CONVERSION_FAILED = 1.
Svetlin
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |