I need to maintain conditions in Interface Determination of ICO in SAP PI for several invoice types. When the invoice type is L1, S1 or G1, and LAND1 = IND, PARW= W and QUALF=015, I want to pick 1st mapping. For remaining invoice types, I want to pick 2nd mapping.
The XPath expressions for the two mappings are:
(/ZEINV_INVOIC02/IDOC/E1EDKA1[PARVW = 'W' and LAND1 = 'IND']) EX AND
(/ZEINV_INVOIC02/IDOC/E1EDK14[QUALF = 015 and ORGID = 'L1']) EX OR
(/ZEINV_INVOIC02/IDOC/E1EDKA1[PARVW = 'W' and LAND1 = 'IND']) EX AND
(/ZEINV_INVOIC02/IDOC/E1EDK14[QUALF = 015 and ORGID = 'G1']) EX OR
(/ZEINV_INVOIC02/IDOC/E1EDKA1[PARVW = 'W' and LAND1 = 'IND']) EX AND
(/ZEINV_INVOIC02/IDOC/E1EDK14[QUALF = 015 and ORGID = 'S1']) EX
(/ZEINV_INVOIC02/IDOC/E1EDKA1[PARVW = 'W' and LAND1 = 'IND']) EX AND
(/ZEINV_INVOIC02/IDOC/E1EDK14[QUALF = 015 and ORGID not in ('L1', 'G1', 'S1')]) EX
When ICO is run, it is picking both mappings with ORGID values of L1, G1, and S1 and satisfying both conditions. What is the XPath expression for the second condition when we have ORGID values other than L1, G1 and S1?