Skip to Content
0
Former Member
Aug 05, 2005 at 11:38 AM

XPATH and RECEIVER DETERMINATION

182 Views

Hi Forum,

I try to figure out how to use the receiver determination. I have two receiving SAP's. The Idoc that I have created should go to the right system dependent on a value of my payload message. In the messages I have the following (Record 1..many):

If I replace one of the conditions to:

(/p1:MouldCreateDataTarget/Records/Record[1]/TARGETSYSTEM ≠ EU) (not equal)

then it went to that system. That means the channelconfiguration of the systems are OK.

I have also tried to set the XPATH to things like

/p1:MouldCreateDataTarget/Records/Record/TARGETSYSTEM = AS

or

/p1:MouldCreateDataTarget/Records/Record[TARGETSYSTEM = 'AS'] EX

or

/p1:MouldCreateDataTarget/Records/Record/TARGETSYSTEM[text() = 'AS'] EX

or have put the right operand in single quotes or double quotes,

but nothing helped...

Any new ideas out there????

Kind regards

Manfred Schmidt-Voigt