Skip to Content
avatar image
Former Member

XPATH and RECEIVER DETERMINATION

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Aug 05, 2005 at 12:39 PM

    Hi Manfred,

    did u use grafical tool for X-Path? If not, may u made a small mistake. Probably the namespace or praefix. Plz try //TARGETSYSTEM='EU' . The parser will take first field TARGETSYSTEM it finds. Control in monitoring if incoming message including that field with value 'EU'.

    Regards,

    Udo

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 05, 2005 at 11:46 AM

    Hi Manfred,

    The problem is with your receiver determination.

    Even if you have a single send step, you need to have two receiver determination for that sender as you need to send the data to two SAP systems.

    Moreover check with the sample BPM under the component SAP BASIS, multicast sequential/parallel that whether you have correctly created containers (multiline) of type 'Receiver' or not.

    I hope it helps,

    Thanks & Regards,

    Varun Joshi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Varun,

      even if if I reduce my example to one receiver and I only ask for the entry 'AS' like in my first post I get this error. Only if I ask for 'not AS' it send the resulting Idocs to the singel SAP system...