cancel
Showing results for 
Search instead for 
Did you mean: 

Filename with FTP adapter

jakob_steen-petersen
Active Participant
0 Kudos

Hi,

Is there any one who knows how to specify the filename dynamicly in the File Adapter?.

I can only see that i can specify the filename as a constant and just add a time stamp. But the case is that i need to specify the name dynamicly using some data from the payload.

/Jakob

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member185751
Contributor
0 Kudos

Hi Boris,

You are right. I checked with some my friends in SAP and they told me right now its possible only to manuplate the payload.

One other solution for this problem is to do post processing. For example write your files using MessageID or counter as "File construction mode" and then call a batch pgm or some pgm using "Operating system command" from the receiver file adapter which renames all the files written to a particular folder.

Regards,

Sridhar

Boris_Rubarth
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sridhar,

are you sure that the modules currently offer anything else than changing the payload, i.e. the xml document? Changing the file name would be something beyond the payload, as far as I understand.

Regards

Boris

jakob_steen-petersen
Active Participant
0 Kudos

I solved the problem by using an ABAP Class mapping and inside that mapping i creates and sends the file with FTP. Not nice, but it works...

SAP told me that the functionality of dynamic filenames will be implemented in SP12 for XI 3.0 (release May 2005). So i'll wait for that!

Jakob