Show TOC Start of Content Area

Procedure documentation Indexing CAF Business Objects  Locate the document in its SAP Library structure

Use

In order to access indexes used in a CAF Core application, you must establish a connection between TREX and CAF Core. This is done to permit searching for selected entities in with TREX.

Prerequisites

You have verified the Web container property in order to use upload functionality.

       1.       Logon to the SAP J2EE Visual Administrator tool and go to Services Web Container Properties

       2.      Verify that the following is true:

Key

Value

MultipartBodyParameterName

com.sap.servlet.multipart.body

Procedure

Setting Entity Services as Searchable

 

       1.      Launch the CAF Runtime Configurator with http://<host>:<port>/caf.

Remember to replace <host> and <port> with the name of the machine you are using.

       2.      Go to Administrative Tools KM Index Administration  Searchable Entity Services and select a CAF business object listed in the table.

Only one object can be selected and set as searchable at a time.

       3.      Choose Set as Searchable.

       4.      In the Set as Searchable dialog box, select the entity services that should be included in a search by checking the box in the last column.

Repeat steps 2-4 for all business objects you want to be searchable.

       5.      In Index Details select a single entity service from the table and choose Reindex Selected or choose Reindex All to reindex all objects in the table

You can check the status of the index for each entity. If the status is green, then the number of instances in the DB equals the number of instances in the index. This could take a few minutes. Choose Refresh to view your results.

Troubleshooting Errors in Indexing

 

If in step 5 above, the status is red or the number of instances in the DB is permanently greater than the number of instances in the index, do the following:

       1.      Go to the Errors tab page.

       2.      Verify that the HTTP server is running.

Use the TREX Administration Tool that is installed on the machine where TREX is running. For example, \usr\sap\<SAP_SID>\<instance>\exe\python_support\TREXAdmin.py.

       3.      Check the queue content to see if any queues not responding.

 Monitoring Indexes

 

       1.      Logon to the SAP NetWeaver Portal with http://<host>:<port>/irj.

Remember to replace <host> and <port> with the machine name of the portal you are using.

       2.      Go to System Administration Monitoring Knowledge Management TREX Monitor Display Queue Entries.

       3.      Select Index ID.

       4.      Set Retry Count to 0 and press Display.

End of Content Area