
For asynchronous message indexing, you can use one of two programs: SRT_UDS_AUTO_INDEX is used for job-based indexing, while SRT_UDS_INDEX is used for manual indexing. Note that both of these programs are client-specific.
These programs select and process messages in chunks to cope with large numbers of messages. For each processed chunk, they output the number of selected messages, the number of indexed messages, and the time stamp of the last message of the chunk. If errors are found, the erroneous message IDs are listed.
To use the programs for asynchronous extraction, you must be assigned authorization object S_SRT_UDSM with activity 02 (Change).
To rebuild the entire index with the function Complete Re-Indexing in program SRT_UDS_AUTO_INDEX you must be assigned S_SRT_UDSM with activity 06 (Delete).
Both of these authorization objects are included in the template roles SAP_BC_WEBSERVICE_ADMIN_BIZ and SAP_BC_WEBSERVICE_ADMIN_TEC.
Job-Based Indexing with SRT_UDS_AUTO_INDEX
Program SRT_UDS_AUTO_INDEX is intended for job-based indexing for the user-defined search. When it runs for the first time, it indexes all messages prior to its own start. For each subsequent run, it only indexes the messages that have been created since the previous run. If you choose to use asynchronous indexing, SAP recommends scheduling a period job (hourly, for example) based on this program. To do this, use the Job Scheduling function (transaction SM36). The program does not have parameters, so you do not have to specify any variants. As the program only processes messages from the current client, schedule a periodic job in each relevant client.
For more information on background job processing, see Background Processing: Concepts and Features.
Manual Indexing with SRT_UDS_INDEX
This program for manual indexing takes all configurations into account, regardless of their extraction type.
Manual indexing might be necessary in the following situations:
If you create a new configuration for the user-defined search with direct extraction and want to add older messages to the index of the user-defined search.
If you create a new configuration for user-defined search with asynchronous extraction after job-based indexing has been set up. As program SRT_UDS_AUTO_INDEX only processes messages created since last time the program was run, older messages will not be indexed by job-based indexing.
If you find indexing problems for single messages by monitoring the index jobs of the user-defined search and want to re-index these messages after solving the problem.
If an index of the user-defined search is corrupt and you want to delete and rebuild the entire index.