Skip to Content

Filename with FTP adapter

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jan 28, 2005 at 04:55 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 30, 2005 at 03:09 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.