Quantcast
Channel: SCN : All Content - SAP Process Orchestration
Viewing all articles
Browse latest Browse all 1235

User-Defined Message Search

$
0
0

In previous SAP XI or PI releases, it was really hard to search on a specific value within a message payload. I once extended the XI monitor on an ABAP stack to accomplish this. It worked, but took some time and was not a standard solution.

 

Now, in our SAP PO 7.4 system, it is really easy to accomplish this and it is standard available.

 

This is just a small blog to walk you through the different steps.

 

Create a filter

Go to Monitoring Home (http://<host>:<port>/pimon) -> Configuration and Administration tab -> Adapter Engine -> User-Defined Message Search Configuration, and create a new filter.

 

You can choose freely for which interfaces you want to create a filter. Just make sure to set the filter to active.

blog 1.png

Define search criteria

Create a new search criteria using an XPath expression. Provide a name and a description.

blog 2.png

Use an XPath expression or choose header fields. In case you choose for an XPath expression, do not forget to indicate possible namespace prefixes.

Just to be sure, check how a specific message enters the system and see if namespace prefixes are involved.

blog 3.png

Indexing options

In case you want to use the filter for older messages, make sure you create an index.

blog 4.png

If the index is not set, only messages being processed after the filter creation are taken into account.

 

Restrictions

Currently, the search term is case-sensitive.  I still need to investigate if this is a bug or a configuration problem.

 

Usage

Go to the Message Monitor screen -> Database tab -> Advanced (on the right-hand side).

blog 5.png

If you are just on the database tab, looking at all messages, and you click on a message having a search attribute, an extra tab appears on the bottom of the screen:

blog 6.png


Viewing all articles
Browse latest Browse all 1235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>