Start of Content Area

Procedure documentation Finding Documents Locate the document in its SAP Library structure

Use

The List of Documents Web item contains a full text search function that enables you to search for specific Structure linkdocuments  that you created.

Prerequisites

...

       1.      You have installed the Structure linkTREX search engine on the Administrator Workbench.

       2.      You have called up a Web application with the List of Documents Web item or have chosen (from the context menu of a cell in a Web application) Goto ® Display Documents or Documents for the Navigational State.

Procedure

...

       1.      In the frame with the tab pages Selection and Find, choose the Find tab page.

       2.      Enter the search text in the input field.

       3.      You can search in all documents (In All Documents) or in a restricted set of documents (In the Following Documents). Select In All Documents or In the Following Documents.

If you select In All Documents, the search is conducted in the following types of document:

-         Documents for InfoProvider data

-         Documents for master data

-         Documents for metadata

If you select In the Following Documents, the search is conducted in the set of documents you selected.

Note

The set of selected documents, which you can see in a list of InfoObjects with the corresponding dropdown boxes, is created from your query navigation or from the selection criteria that you determined on the Selection tab page.

You can change the set of selected documents here:

-         Next to each InfoObject there is a dropdown box that you can use to change the search set in which you can either choose one of the suggested values or Other Single Value for an InfoObject. See also Navigating in the List of Documents Web Item

If you choose Other Single Value, you get a new Web browser window with the title Value Selection forText”.  In this browser window, choose the text or the key for a single value. The system transfers the selected text or into the “Text” field in the original browser window.

       4.      Once you have determined the search criteria, choose Find.

Result

The search result is displayed in the lower area of the frame. The percentage displayed in parentheses after a document in the search result shows the degree of accuracy of the search result.  To display a document found in the search, click on the document.

For more information, see Structure linkManaging Documents in BW

You can also integrate the search function into your Web template directly. By editing the HTML correspondingly, you create an input field with a search button. You can call the search function in two ways:

From the Document Browser

<FORM name = "SEARCH"
           Action = "DOC/BROWSER"  target="_blank"  method = get >
             <INPUT type="text" name="SEARCH_STRING" id="SEARCH_STRING" size="030"   maxlength ="100 " value ="">
             <INPUT type="hidden" name="SEARCH_ACTIVE"  value ="X">
             <INPUT type="hidden" name="DOCUMENT_CLASS"  value ="META">
             <INPUT type="hidden" name="SEARCH_RADIO"  value ="SEARCH_RADIO_ALL">
             <INPUT type="submit"  value ="Search with Document Browser" >
         </FORM>

Instead of entering META for metadata, you can enter MAST for master data or TRAN for InfoProvider data. See also Structure linkDocuments

From the Document Template

In this case, only the search dialog box without the document display appears on the right side of the screen.

<FORM name = "SEARCH"
           Action = "BEX"  target="_blank"  method = get >
             <INPUT type="text" name="SEARCH_STRING" id="SEARCH_STRING" size="030"   maxlength ="100 " value ="">
             <INPUT type="hidden" name="SEARCH_ACTIVE"  value ="X">
             <INPUT type="hidden" name="DOCUMENT_CLASS"  value ="META">
             <INPUT type="hidden" name="SEARCH_RADIO"  value ="SEARCH_RADIO_ALL">
             <INPUT type="hidden" name="CMD"  value ="LDOC">
             <INPUT type="hidden" name="TEMPLATE_ID"  value ="0DOC_TEMPLATE">
             <INPUT type="submit"  value ="Search" >
         </FORM>

 

End of Content Area