2009 May 29 5:32 PM
Hi all,
I have developed a custom report which outputs an excel file on the user desktop who executes that report.Now i need to create an additional (second) excel file with almost the same data as the first file.
Im using the FM GUI_DOWNLOAD to create the file.Now if i call the FM twice ,will it create the second file or overwrite the existing one.The file path is same for both files.
BR,
SRM Tech
2009 May 29 6:01 PM
Hi,
As said previously, you should name it diferently in order not to overwrite the previous. Your FILENAME consists of the path + name of the file.
Regards,
Bruno
2009 May 29 5:35 PM
So long as the filename is different in both cases, you should have no problem.
Rob
2009 May 29 5:42 PM
Hi,
If second file name is same as first file name it will over write other wise it will create a new one
if you want to ask confirmation for over writing you can pass 'X' to confirm_overwrite for GUI_DOWNLOAD
Regards
Krishna
2009 May 29 5:54 PM
Hi,
The file name means the parameter FILENAME rt?As i said,Im passing the file path is the same,but if i give diffrent file names e.g. C:\Pcard\Output1 and C:\Pcard\Output2 then 2 different files can be downloaded rt?
2009 May 29 6:19 PM
2009 May 29 6:25 PM
2009 May 29 6:26 PM
>
> Hi,
>
> The file name means the parameter FILENAME rt?As i said,Im passing the file path is the same,but if i give diffrent file names e.g. C:\Pcard\Output1 and C:\Pcard\Output2 then 2 different files can be downloaded rt?
Yes.
Rob
2009 May 29 6:01 PM
Hi,
As said previously, you should name it diferently in order not to overwrite the previous. Your FILENAME consists of the path + name of the file.
Regards,
Bruno
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |