cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the Source File name Info into Target Message

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Solved

Former Member
0 Kudos

Hi All,

Iam able to do this by checking the Option ASMA in only sender adapter itself

Regards

Bopanna