cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver determination Condition. XPATH suggestion

Former Member
0 Kudos

Hi All,

I got a condition to put in receiver determination like..

Condition 1 --> System_A

//ZORDER03/IDOC/E1EDKA1(PARVW='LF')/ILNNR = SA AND

//ZORDER03/IDOC/E1EDKA1(PARVW='LF')/PARTN = 0000050570 AND

//ZORDER03/IDOC/E1EDKA1(PARVW='WE')/LIFNR = 1433 AND.

It it satisfies above condition, message should goto System_A

Condition 2 --> System_B

//ZORDER03/IDOC/E1EDKA1(PARVW='LF')/PARTN # 0000050570 AND

//ZORDER03/IDOC/E1EDKA1(PARVW='WE')/LIFNR # 1433

The values will be coming differently for E1EDKA1(PARVW='LF')/ILNNR like XMl,KNF,DHD,File etc apart from 'SA'.

It is working correctly only for 'SA', not working for remaining values.

Is there any simple way to insert this conditions? Kindly suggest.

Thanks

Deepthi.

Accepted Solutions (1)

Accepted Solutions (1)

RKothari
Contributor
0 Kudos

Hello,

Kindly check the below condition, assuming PARVW, ILNNR, PARTN are under same parent node i.e. E1EDKA1:

For System A:

//ZORDER03/IDOC/E1EDKA1[( (PARVW = 'LF') and ((ILNNR = 'SA') or (PARTN = '0000050570'))) or ((PARVW = 'WE') and  (LIFNR = '1433'))]  EX

For System B:

//ZORDER03/IDOC/E1EDKA1[not (((PARVW = 'LF') and ((PARTN = '0000050570'))) or ((PARVW = 'WE') and  (LIFNR = '1433')))] EX

-Rahul

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Deepthi,

As per my understanding you want to pass the messages to system B if PARTN value contains other than 0000050570 *AND* LIFNR value contains other than 1433.

Is this the requirement? or you want to pass the messages to the system B if PARTN value contains other than 0000050570 *OR* LIFNR value contains other than 1433.

Please confirm?

Regards,

Nayan