Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

AL11 Directory - File Save

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

Former Member
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question