AL11 Directory - File Save
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.
Supreeth M S
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.