Skip to Content
0
Former Member
Jan 18, 2008 at 05:45 AM

Getting the Source File name Info into Target Message

13 Views

Hi all,

I want to get the Source file name Info into Target message of one of the fields.

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

Requirement :

1) I am able to get the Target file name as same as the source file name when i check the ASMA in Sender & Receiver Adapter , with out any UDF...............this thing is OK

2) I took One field extra in the target structure Like "FileName" & I mapped it Like

Constant(" " )--


UDF-----FileName

I Checked the Option ASMA in Both Sender & Receiver Adapters

Here iam getting the Target File name as same as Source file name + Source File name Info in the Target Field " FileName".

I Dont want to get the Target File name as same as Source file name. I want like Out.xml as Target file name.

If i de-select the Option ASMA in Adapters means it is showing " null" value in the target field "FileName".

Please Provide the Solution for this

Regards

Bopanna