Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

AL11 Directory - File Save

Former Member
0 Kudos
1,132

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

1 ACCEPTED SOLUTION

shaik_sajid
Active Contributor
0 Kudos
292

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

2 REPLIES 2

shaik_sajid
Active Contributor
0 Kudos
293

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 Kudos
292

Thank you very much bro

Issue solved