Skip to Content
avatar image
Former Member

receiver determination in sap pi

Hello All,

In my interface, i want to add condition in receiver determination to identify the configured receiver. My receiver should get identified when incoming field USRID (path=IDOC/E1PLOGI/E1PITYP/USRID) should not start with value WAP.

How i can achieve this, please help.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 23, 2016 at 11:15 PM

    try with this

    /IDOC/E1PLOGI/E1PITYP/USRID ≠ WAP*

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 24, 2016 at 01:48 AM

    Hi Shiv!

    //IDOC/E1PLOGI/E1PITYP/USRID[not(starts-with(., 'WAP'))] EX

    or

    //IDOC/E1PLOGI/E1PITYP[not(starts-with(USRID, 'WAP'))] EX

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Evgeniy Kolmakov

      yes, No single E1PITYP segments should contain USERID starting with "WAP".. If any one segment contains this then receiver should be identified.

      Thanks for quick reply.

  • Nov 29, 2016 at 07:01 AM

    Hi Shiv!

    I'm not quite sure in case of PI, but this is XPath expression that should work:

    //IDOC/EPILOGI[count(E1PITYP[starts-with(USERID,'WAP')])=0] EX

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded