cancel
Showing results for 
Search instead for 
Did you mean: 

XI -> FILE Scenario

inigo_sacramento
Participant
0 Kudos

Hi everyone.

In my scenario, i send a file to XI. Then i make a mapping and create another file with timestamp.

Question is ... how can i create the file with the same name as the outbound file but adding the timestamp?

Regards.

Accepted Solutions (1)

Accepted Solutions (1)

moorthy
Active Contributor
0 Kudos

Hi,

Just go thru this help-

http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm

(If your XI is >= SP14 ) Else you need to write Java Modules to get the file name and pass the file name thru mapping and use the same thru dynamic file naming concepts in the Receiver File Adapter.

http://help.sap.com/saphelp_nw2004s/helpdata/en/84/2e3842cd38f83ae10000000a1550b0/frameset.htm

Hope this helps.

Regards,

Moorthy

Answers (2)

Answers (2)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

depends what SP are you on...

if sp14 then you can do it easily with

adapter specific identifires

if you have lower sp then you need to use adapter module

and variable substitution

if lower then sp12

you can use adapter module to get the filename + set it in the java proxy

Regards,

michal

Former Member
0 Kudos

Hi,

Refer to this weblog, it will help you to solve your problem.

/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i

/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii

Thanks,

Prateek