09-07-2014 11:38 AM
Hello Gurus,
I have written SAP ABAP program which calls FM 'SAP_TO_CSV_CONVERT'
to convert internal table data to .CSV Format.
I use OPEN and CLOSE Dataset to place the File in AL11.
Filepath/Filename is '/usr/sap/trans/Credit Limit Interface for UK- File FTP
Old files should not be replaced , but each time a new file has to be generated and placed in the folder when program is run
to place file in AL11
Please help me on this.
Thanks
Supreeth M S
09-07-2014 1:18 PM
Hi,
In your Program, use "Concatenate" Statement and concatenate the File name and current date time.
Concatenate '/usr/sap/trans/Credit_Limit_Interface_for_uk_File_FTP' sy-datum sy-uzeit into GV_file_name.
So the File name will be unique and will not be overwritten.
Regards
Shaik
09-07-2014 1:18 PM
Hi,
In your Program, use "Concatenate" Statement and concatenate the File name and current date time.
Concatenate '/usr/sap/trans/Credit_Limit_Interface_for_uk_File_FTP' sy-datum sy-uzeit into GV_file_name.
So the File name will be unique and will not be overwritten.
Regards
Shaik
09-07-2014 2:10 PM