Skip to Content
author's profile photo Former Member
Former Member

Dynamically create file name in Passthrough scenario

Hi All,

I have a requirement where in a pass through file to file scenario (No mapping Involved). We have to generate the file with the following file name

PAYMENT_MMDDYYYY.csv.gpg

I have been using file construction mode for adding time stamp, but doing this the date time stamp will be added in the last of the file name.

Is there a way I can add only the date stamp and not the time stamp in mid of the file name , note that we do not have mapping for this scenario .

Any help/pointer will be of great help .

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 27, 2013 at 03:58 AM

    Hello,

    You have to either use java mapping or create adapter module to dynamically define target file names in a pass through scenario.

    Adapter module :

    http://wiki.sdn.sap.com/wiki/display/Snippets/Dynamic+file+name+in+a+File+to+File+pass+through+scenario

    Java mapping:

    http://wiki.sdn.sap.com/wiki/display/XI/Dynamic+file+name+for+pass-through+scenario

    Thanks

    Amit Sriavstava

    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.