Skip to Content
avatar image
Former Member

User Defined Message Search not working

Hello community,

I have created a User Defined Message Search in a SAP PI 7.4 single stack system. In the message log I see that the extractor is triggered but it does not return a result. So I was assuming that something is wrong with the XPath expression I have given. But when I take XPath expression and payload from PI and run it in XMLSpy the value is retrieved as expected.

I was not sure if I have to include namespace information in the XPath expression but in XMLSpy it works without. In PI it does not.

Any idea?

BR

Rainer

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Dec 20, 2017 at 12:36 PM

    Hi Evgeniy,

    it is a synchronous scenario and I have first set up UDMS, then sent a message with the test tool and checked the message log (loggin is enabled).

    There I only find 'Extractor applied' and 'Extractor returned no value'.

    I have other scenarios with different message type and namespaces where it works, where I see 'Extractor applied' and 'Extractor returned value [XYZ] from message'.

    Regards

    Rainer

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 20, 2017 at 11:13 AM

    Hi Rainer!

    Just to be sure, don't you try to search for the previously processed messages?

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 21, 2017 at 06:57 AM

    Are you pointing to write interface in UDMS?

    If possible post the UDMS setting.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 28, 2017 at 05:57 PM

    I can clearly see that the XML request is having namespace as ...Ariba... which is applicable to each of the child element.

    define namespace and its prefix in UDS and change your xpath with the namespace prefix. It will definitely work.

    Add comment
    10|10000 characters needed characters exceeded