Skip to Content

PI adapter engine "User-defined search" or TREX search for PI ?

My question is about choosing PI adapter engine use-defined search or search with TREX.

Our PI system is a 7.5 SP06 java only PI system (AEX installation), and we have two options for configuring user-defined message search on PI:

  • We can use TREX engine
  • We can use the standard "user-defined search" functionality available with the PI adapter engine extended

On some blogs we could read that using the TREX is a better solution because it does not impact the performance as the indexation and search is performed on the TREX server.

However the "user-defined search" available on the AEX seems to have richer and more flexible options to configure filters and search criteria.

What is the SAP recommendation ?

Is the TREX option going to retirement for PI and replaced by the integrated search functionality of the adapter engine extended component ?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    May 12, 2017 at 07:24 AM

    Hello Christian,
    The general recommended by SAP is to use UDS as it is newer tool for message search. TREX engine belongs to old RWB component which was deprecated after SAP NW PI 7.3 (check SAP Note #1840084 regarding that fact).

    Currently, in the last releases the link for "Message Search with Trex" still exist. However, SAP doesn't have plans to further develop Trex indexing and search functionality, encouraging customers to use the User-Defined Message Search instead. Despite, there's also no plan yet to switch off the functionality and make it unusable. You can continue using it (also in the 7.50 release).

    I hope this made SAP strategy regarding Trex clearer.

    Best regards,

    Add comment
    10|10000 characters needed characters exceeded

  • May 02, 2017 at 01:02 PM

    Hi Christian,

    How much I know, TREX is comparatively new compare to UDS and you can go for any one.

    TREX is good in regards of performance, but I have not faced any major performance concerns even in heavily loaded PI lived system using UDS.

    UDS has diverse and easy filter and search criteria set up options in PI single stack as well as in dual stack. Using UDS, you can facilitate some extra benefits like extra data for which one message processing has failed that can be added in CBMA alert mail. Not sure whether TREX can also do the same or not.



    Add comment
    10|10000 characters needed characters exceeded

  • May 04, 2017 at 08:34 AM

    Hi Apu,
    Thanks for your answer, it brought me some light but does not answer about the SAP strategy.
    Today as you said, we have two options UDS and TREX which are doing the same thing, it should be an intermediary situation and one of the two option should desappear in the future specially regarding PO 75 on HANA.

    Which option should be used regarding to the SAP strategy ?



    Add comment
    10|10000 characters needed characters exceeded