Skip to Content
author's profile photo Former Member
Former Member

Can the TREX be used with non-SAP applications?

hi KM Gurus,

Can the TREX server be used with any other non-SAP applications(eg. java application running on an IBM Websphere)?

I hope TREX server can be used with other SAP applications like CRM, SRM, etc as they have the ABAP client that supports the TREX functionality.

And we are able to use TREX with Content Management becos it has the java client that supports the TREX functionality.

If that is the case, then I hope we need a java client to be there along with the application which needs the TREX functionality. Is there any possibility that we can download & install the TREX java client along with a non-SAP java application that runs on some other App. server?

Any insight regarding the supportability for this TREX feature for a non-SAP application will be really helpful for me and will be gratefully appreciated.

Thanks a lot in advance,


Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Posted on May 31, 2005 at 02:43 PM

    Hi Alagammai,

    the direct TREX APIs are not released for project development. The JAVA API is, of course, technically accessible, but SAP does not support project developments against it. It is an API for internal use (e.g. KM <-> TREX) only.

    What is open are the KM APIs and what will be is the API to the SES (search engine service) that will deliver with NW 2004s and is able to publish R/3 business objects to TREX for indexing and searching.

    Please check the linked paper to find out how to acces TREX with as little KM and EP as possible: the km indexmanagement apis for searching with trex.article



    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2009 at 09:34 AM

    Hi Karsten,

    We have a situation like below.

    We have a backend system that is ECC6 but the portal is IBM webshpere.

    The plan is to configure TREX with backend - SES

    The business objects in the backend are to be indexed.

    Now we have a problem with UI. Following are my questions

    1) where do I enter search parameters to invoke search for the content in the backend system?

    2) From your earlier posts, I see that it is not possible to integrate TREX with non SAP applications. Does this still hold good?

    3) Since we have Websphere, any ideas on how do we achieve search option. All we need is to invoke a UI to search the content.

    Please take your time to answer the above.

    Many thanks.

    S Chandra Mohan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 14, 2010 at 07:10 PM

    Hi ,

    Have u managed to use TREX with ECC & Websphere portal.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 14, 2010 at 09:00 PM


    wow.... I like questions like this.... starting in 2005 and now we have the year 2010.

    But of cause this question is an up-to-date question.

    So you are using ECC 6.0 and TREX for indexing ECC business objects. You are doing this all with SES.

    That's all fine. Normally you have for searching as well some transaction in ECC.

    Some customer do not like this transaction for normal end users. That's why they wanna provide a more prettier user interface.

    So you are using IBM WebShpere.

    Anyway if you wanna write your own code you can only use the SES function modules in your ABAP systems or KM search API's within a java system.

    My suggestion is: write at you ABAP AS side an WebDynpro for ABAP component which is using the SES function modules.

    Integrate this WebDynpro for ABAP Application in IBM WebShpere.

    Best regards


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Frank,

      thanks a lot for posting the reply and apologies for a late reply from my end.

      We sort of decided on creating a custom application in the backend using SES.

      Couple of questions

      1) Is there a blog, documentation or best practice in writing an application using SES? We explored it but feel certain things missing.

      2) We also have an Enterprise Portal in the landscape. The same TREX is connected to ECC 6.0 and Portal.

      The question is, can I access the indexes created from ECC6.0 via the KM APIs to develop a custom application?

      That is, if I have an index created in ECC6.0. This will be replicated in TREX but the same will not be there in KM. Is there a way I can access this API from portal using KM API to develop a custom application to search?

      Danke in advance.

      Warm Regards

      S Chandra Mohan

  • Posted on Mar 07, 2010 at 11:19 PM

    Hi S Chandra,

    1) I not qute sure if there is a blog or best practice.

    But have a look to

    a) Business Object Search with Search Engine Service (SES)


    b) Note 1400779 - SES Troubleshooting Guide

    2) You can use the same TREX for ECC and Portal. But keep in mind that creating a TREX index in ECC will be only accessible in ECC and a TREX index created in Portal will be only accessible in the Portal.

    That's why - even you are using the same TREX for Portal and ECC - KM do not know the ECC indexes.

    So that's why the best solution will be to write a WebDynpro for ABAP running on ECC for your Search UI.

    In WebDynpro you can use the SES function modules there are able to access the SES index.

    Best regards


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.