Skip to Content
0
Former Member
Jul 02, 2007 at 02:32 PM

Sender Filename to Determine Which System to Send IDoc to

9 Views

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.