cancel
Showing results for 
Search instead for 
Did you mean: 

Sender Filename to Determine Which System to Send IDoc to

Former Member
0 Kudos

I have a situation where I'm retrieving a file on a server that will have one of three file names:

example.sendto1.file

example.sendto2.file

example.sendto3.file

so I'll use the 'wildcard' * to pick up the file like this

example.*.file

but what I want to do is depending on the * part of the file name I will have to send the file as an Idoc to different sap servers, so

sendto1 would go to one server and

sendto2 would go to a different server

since it's an IDoc, I can't use variable substitution in the reciever.

Any help on this will be appreciated, I'm generous with points.

Accepted Solutions (1)

Accepted Solutions (1)

justin_santhanam
Active Contributor
0 Kudos

Paul,

This can be easily achieved by using Dynamic configuration (ASMA) and Enhanced receiver determination.

Please refer the weblog

/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16

Also refer the thread and check out for my reply (Pg:3)

If you have any doubts,kindly reply back.

Best regards,

raj.

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for your help guys, I'm gonna do it the way Raj suggested.

Former Member
0 Kudos

Hey

first of all get the file name in ur payload mapping using adapter specific message attributes and then use conditional receiver determination to send the files to different business systems.

Thanx

Ahmad