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: 

F110 File OverWritten

Former Member
0 Kudos

I am creating the file at application server using F110.

RFFOUS_T is used.

Variant has the file name
SAPDIF\INT\DE1\130\

Output Medium = 1 and File Identifier = A.

The file is created as
SAPDIF\INT\DE1\130\01 (01 is the file name created automatically).

When I do a payment run again, I want the new file but its overwriting the existing file.

Any idea/suggestions?

Pranu

3 REPLIES 3

Former Member
0 Kudos

Hi,

It seems SAP will always create unique file names but if you specify your own file name in the parameter then it adds consecutive number to file name. In your case, you are not providing filename. you are just passing parent directory(folder) name may be due to which you have this problem.

Following is from the documentation help of program.

Output in the file system

If required, the file can be written into the file system. The file created can be copied onto a PC via the DME manager. When doing this, you should search for files by download since the data medium is not managed within the SAP System but has already been stored in the file system by means of the payment medium program.

If the file name is not to be specified by parameter, then it is generated by the program. It then consists of the disk format, date and time of creation as well as a consecutive number so that the file name in the file system is unique.

If the file name is specified by the user, then a consecutive number is likewise added for each program run. From an organizational point of view, however, you should make sure that already existing files are not overwritten.

Note: If you cannot find the file via the DME manager, then this can be due to the following reason: the directory which was written to when the payment medium program was started (for example, in background processing), cannot be read online. Therefore you should choose a directory which can be written to and read by different machines.

regards,

Pranav

Edited by: PBHATT on Feb 9, 2011 4:49 PM

0 Kudos

The file name is provided now.

If the file name is A, it creates A01.

Next time it should create A02 but it does not.

It overwrites A01.

Any help?

0 Kudos

Any suggestions?

Edited by: Pranu Pranu on Feb 10, 2011 5:06 AM