Integrate trex search in own program

Hello,
please can anyone give me a hint how i can integrate trex-search in my own program (i want to offer a own gui for searching with trex)?
are there any function modules that i can use?
thanks!
Margit

CM Patch 4, hotfix 3 fixes this problem.
Message was edited by: Marcel Rabe

Similar Messages

  • TREX/ search in ABAP

    Dear sirs, I need your expertize.
    I was asked to provide a solution where I need to work with the TREX search from ABAP.
    I would like to know if anybody here has any experience with this and can guide me to some documentation sources or can give any direct advise how to start with the topic.
    For example: there are demo/testing programs for all various modules/ technologies etc. in the ERP, does anybody know if there is something like that for the TREX? Like for ALV, WD, Adobe forms... something where I can see some basics about how this works.
    Thank you for your time and effort,
    have a nice day, everybody,
    regards Otto

    Useful information sources found:
    http://help.sap.com/SAPHELP_NW70/helpdata/EN/95/92bd4244e6b611e10000000a155106/frameset.htm
    /people/thilo.brandt/blog/2007/08/27/getting-started-with-the-km-web-service-api
    /thread/42786 [original link is broken]
    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.
    As the direct TREX APIs are not planned to be release and will remain reserved for SAP solution <-> TREX communication only (e.g. KM to TREX, BI to TREX, etc.), it does not matter how much delta there is. Sorry...
    Business Object Search with Search Engine Service (SES)  
    The SAP NetWeaver Search Engine Service (SES) provides a search and indexing framework that enables users to search for business objects (structured data) using the search engine technology of Search and Classification (TREX), including full text search and fuzzy search. SES is part of the SAP Basis component NetWeaver Application Server (AS) ABAP.
    http://help.sap.com/SAPHELP_NW70/helpdata/EN/95/92bd4244e6b611e10000000a155106/frameset.htm
    Thank you, Otto

  • TREX Search using Standalone Java code

    Hi Expert,
    I am new to TREX and KM, so please help me in this query.
    I want a <b>standalone JAVA program</b> to call the TREX API's and do the search. Now here when I searched this forum I got to know that TREX APIs as such can't be used directly.
    So please suggest a work around for this. If anyone have any code samples then please let me know.
    Also I have read something about a <b>Java Client</b> through which we can da a TREX search. From where can I get this code/page.
    Thanks & Regards
    Suraj

    Hi,
    Have you read this blog ?
    Using the KM Indexmanagement APIs for searching with TREX
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9237e490-0201-0010-f3a1-9a322ccbd8b1
    Patricio.

  • Integrate TREX with a third-party database  MS SQL 2000

    Hello GURUS i have a question, how integrate a search with trex into the third-party back-end
    stores exacly is a ms sql 2000, my problem is this i have a legacy system in java, this legacy retrieve
    information from a database through Querys and we want to optimize searches through TRex, how can connect the trex to this data base
    thanks
    salvatore

    Hi Salvatore,
    I saw that your looking to find a solution to your problem for a time now and have done some research already.
    Unfortunately, there is no out-of-the-box solution to integrate a MS SQL database into KM (unless it is the database from a different portal/KM).
    So your solution here is to implement a (simple) Read-Only Repository Manager using this guide: https://www.sdn.sap.com/irj/sdn/nw-cm?rid=/library/uuid/70359931-22c1-2910-9fba-f0142ba18956
    Afterwards you can index the repository with TREX.
    Hope this answers your question.
    Best regards,
    Robert

  • Exposing TREX Search Results to Google?

    Hi,
    We have a CRM 4.0 E-Commerce solution and want to take the TREX search engine results (indexes?) and make them available to Google/Altavista/msn/etc index externally.
    The idea being a search on the web would hit an entry in our online shop and direct the user to the product when clicked on.
    I see that there is a Google Connector but this looks to me to be including Google in TREX rather than the other way around.
    Is this possible and if so how ?
    Regards
    Richard

    Hi Richard,
    I think, you will mostly have to discuss this with Google. Just like TREX has ways to assume other engines results as TREX' own, Google may have these ways. But integration will mostly have to come "top down" from Google in that case.
    And it might be easier to find a way to make your pages (it's a catalog, I assume?) accessible to the Google Crawlers, rather than trying to handover the index.
    Regards, Karsten

  • How to change the attributes of GUI CONTROLS in my own program.

    hi all,
    i just want to change the attributes of GUI CONTROLS in my own program.
    for example `
    How to set an ICON on my GUI BUTTON in the program?
    so what's the mapping between CONTROL in the SCREEN PAINTER and variable in the program?

    Hi Chao Liu,
    Ya , u first find out the PF-STATUS of the screen and goto that status and now u can modify the ICON u want .
    Finding the GUI status of the screen
    Goto that  TRANSACTION CODE or SCREEN
    On the Standard Menu bar Goto ( Menu path) System --> Status
    Now u get a pop-up System :status in that in SAP Data block u can find GUI Status. Now Double Click on that Status. It takes u to the Status of that screen.
    Now click on the Display --> Change Button on the application tool bar.
    If it is a standard GUI-status then it asks for the ACCESS KEY.
    if it is a custom defined GUI Status  then u can change the status .
    reward if helpful
    raam

  • File name to be considered while Trex Search in CV04N,

    Dear Sap Gurus,
    I know TREX can search and list the documents using any Word or Characters inside the original file, but i have a requirement to search the document by there File Names,i tried giving File names in CV04N Trex search window, but it is not giving any results for me,
    how can i make the trex search consider the file names also while searching in CV04N,
    In SAP DMS is there a standard search functionality to search the documents by there File name?
    Awaiting response
    Thanks and regards
    Kumar

    Thanks for your response,
    i know we can search the documents through Classification or description details using CV04N, but
    while searching any document the user wishes to fill up the details only at one field ie... the Trex search window in the CV04N screen, and he will not be interested in filling  the values at the classification TAB and the description Tabs,
    we need a single point of search through Trex search Window in CV04N, ie... when this Trex search field is filled appropriately,( like the classification value, Long text value,) 
    this values should search the documents with this Classification or Long text values in DIR and display the results,
    i could not succeed in getting the trex search working with this values, is there any thing missing from DMS config????
    FYI,
    we have Portal Document search through DMS through DMS Connector, and in this Trex Search we could find the DMS documents using the file Names as well, but strangely  the same thing is not possible through CV04N trex Search,
    Thanks and regards
    kumar

  • TREX search Functionality in E recruitment

    Hi All,
    I need help to configure TREX search functionality in E recruitment .
    Does  anyone  have any documentation or steps to configure it.
    It would be great if you could pas me on the steps to configure TREX in E recruitment.
    AS far as I know we have to do some settings in search profile and search template but what exactly has to go in these img steps I dont know .
    Any help would be greatly appreciated.
    Thanks and best regards
    Rajeev chhabra
    [email protected]

    Hi Rajeev,
    please see the following SAP Notes for details:
    815866 Points during TREX installation relevant for E-Recruiting
    568853 Supported TREX versions in SAP E-Recruiting
    817145 Composite SAP note/overview: TREX troubleshooting
    Best regards,
    Ralph

  • TREX search error

    We are getting an intermittent problem when we do a search from our KM iview.  When we put in a search string it for the most part comes back with the appropriate data, but every once in a while we get the following error either as an informational text at the top of the iview or as stack dump error.
    Error during search occurred - com.sapportals.wcm.WcmException: Index does not exist;index=ourindex (Errorcode 2007)
    Does anybody have any information on a fix for this?

    Hi Aaron
    Indexes are created in ECC or any other SAP for trex search and sometimes indexes may be have to be rebuild, have you checked this particular index shown in the error message 'ourindex'
    Bhudev

  • Search help with programming

    Hai,
    Can any one give example for search help with Programming?
    I hope we can create search help with help of coding.
    With Regards,Jaheer.

    yes u can create search help by using match code in programs
    for eq
    go with abap editor se 38
    provide the name of program
    parameters : vendor like lfa1-lifnr matchcode object yzob.
    double click on yzob
    provide description for search help
    provide selection method
    provide search help parameter
    enable check box for import and export
    provide lpos
               spos
    save check activate
    press f4 for check and import values i.e it will display a records list available in database table
    rewards points please

  • TREX search failure for some pdf documents

    Hi,
    TREX search is not getting correct result for some pdf documents. It's not able read the content of some pdf documents. When we search with file name the search result is correct but we are getting "No document excerpt available" message in search result for this file name.
    Let me know where might be the problem for those pdf docs.
    Thanks

    Hi Tatayya Marni,
    1. Can you tell me whether the pdf documents are opening when you are selecting them?
    2. This error comes mostly when you havent included this .extn file (.pdf in your case) to the portal.
    3. Check whether this extn is their in your portal if not make it inclueded and then try making a new index and one new data source where your pdf is residing. Try for one Test.
    You have to include the file extns in System Confi....UI Interface...
    Hope this will resolve your issue.
    Regards
    Piyush Bhurangi

  • How to search my own posts/threads in "SAP Community Network Forums"?

    Dear Friends,
    How to search my own posts/threads in "SAP Community Network Forums"?

    Dear  Pierre DOMINIQUE,
    Thanks for your information, but I know It very well. Lets say I have around 200 posts in the forum, some are unsolved and rest are solved. Now I want to find a old solved/answered post/thread by a key-word, how to do it? ... Actually I asked for this.
    Thanks in advance for your right answers.

  • DMS-TREX Search Type

    Under DMS Search option CV04n, SAP has provided TEXT Search with TREX search where-in we get different search type with AND & OR options
    Can some expert explain me what is exactly meaning of each search type...?
    If you any document kindly forward that to
    [email protected]
    thanks in advance
    rgds
    Kamal

    hi,
    the AND and OR means that if you pass more than 1 word
    as the search text and AND or OR operation on that will be done
    based on what is passed.
    i have mailed you the document
    for details refer to the thread....
    /message/4559961#4559961 [original link is broken]
    thanks
    Aravinda
    reward points in helpful

  • Trex Search for Archive Link OAAD or OAWD Documents,

    HI Sap Gurus,
    Can Trex Search in the originals of documents which are stored by OAAD or OAWD Transactions,
    if so how to activate the Trex Original document Search for Documents stored through OAAD or OAWD,
    Thanks and regards
    J Sari,

    Dear Athol,
    We are using SAP Content server to store our Documents from GOS and also the same Content server is used  for maintaining our Documents through DMS also,
    so as a standard, Trex cannot search documents maintained in content server by GOS methord and it can only search those documents which are maintained by DMS CV01N method,
    pls suggest how to proceed for the development to allow Trex to search all the documents in Content server, how big is the development, is there any SAP suggested solution to be followed,
    Thanks and Regards
    J sari

  • TREX search KM BI Repository

    TREx 7.1
    Portal 7.0
    I have created and been using a KM BI Repository. This repository contains txt documents that are currently being accessed thru a KM Document IVIEW. I have recently implmented  TREX 7.1 and I am having trouble finding anything in my repository using the search UI.
    I have added indexes and taxonomies that point to the data source /bi_documents.
    The search UI is available but finds nothing.
    The TREX search can find Portal Documents.
    I have also added to the Index Management Service the  "Repository Manager" that is for my BI Repository.
    Component Monitor is good and all green
    TREX Monitor good.
    My searchs still return nothing from my KM BI Repository.
    I have researched and followed numerous documentation on repositories.
    Any help or configuration document on KM BI Repositories would be appreciated.
    Thank you,
    sarah

    Thanks for the input Frank,
    I am using the standar crawler and it appears that the indexes are not being built due to a crawler error.
    Preprocessor.cpp(01165) :     HTTPHEAD failed for URL https://sbserver.sap.state.edu:50001/irj/go/km/docs/bi_documents/InfoProviderData/%23BP_M001/1413120000%202010%20AM.txt :
    Errorcode -8001 , Message   Reader::connect failed, url=https://sbserver.sap.state.edu:50001/irj/go/km/docs/bi_documents/InfoProviderData/%23BP_M001/1413120000%202010%20AM.txt
    Preprocessor.cpp(03980) :     HANDLE: DISPATCH - Processing Document with key 'https://sbserver.sap.state.edu:50001/irj/go/km/docs/bi_documents/InfoProviderData/%23BP_M001/1413120000%202010%20AM.txt' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 16001)
    Any help on this would be appreciated.
    thank you,
    sarah

Maybe you are looking for