cancel
Showing results for 
Search instead for 
Did you mean: 

File Name....

Former Member
0 Kudos

Is it possible to control your output filename...

Basically what I want to achieve is the following

aFileXXX.txt

Where XXX is an incremented number... so everytime a new file is created then that number will be incremented by 1... so you would have:

Monday: aFile001

Tuesday: aFile002

Wednesday: aFile003

this process will go on up until 999 for everyday/occurence this file is generated...

Is this possible and if so how?

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Alex,

In your receiver file adapter , for the file Construction Mode, you have an option , AddCounter. This would help.

http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

Regards

Bhavesh

Answers (3)

Answers (3)

Shabarish_Nair
Active Contributor
0 Kudos

of course !!!

Use dynamic conf. settings as specified in this blog.

use a additional code to set the counter variable.

Else you can also use a variable sub. to get the result - http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm

Former Member
0 Kudos

May be is onough for you to use the standard function of the adapter <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm">Add Counter</a> ?

Regards,

Sandro

Former Member
0 Kudos

Hi ,

You can achieve this "add counter" option in the reciever File Adapter properties...

http://help.sap.com/saphelp_nw2004s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

Sekhar