Searching and Displaying Archived Business Transactions

Use

You can search and display archived business transactions using CRM data archiving. For some business transaction types, such as activities or quotations, you can search for archived documents using the Archive Search function in the CRM WebClient UI from within the application. From within Archive Administration (transaction SARA) you can search for archived documents using the Read function. You can reach Archive Administration from the SAP Easy Access view under Start of the navigation pathArchitecture and Technology Next navigation step System Adminstration Next navigation step Adminstration Next navigation step Data Archiving.End of the navigation path From a technical viewpoint the searching and displaying of data takes place via archiving-object-specific read programs, which are based on the Archive Information Structuresof the Archive Information System(AS).

Prerequisites

In order to be able to search for archived business transactions you need an infostructure that is active and filled. A read program can only find and display a specific business transaction if such an index exists. If you want to search from within an application, the infostructure used must be based on a field catalog that was created specifically for that purpose. The object descriptions of the appropriate field catalogs and infostructures contain the additional abbreviation “PC_UI”.

Features

Calling the Search Function from within the Application

The document search function of the application provides you with the option of searching for business transactions in the database or in the archive. You start the search in the archive using the Archive Search function, which provides the same search options as for the database. Which search criteria are offered for the archive search depends on the infostructure used.

To display an archived business transaction directly in the original transaction, choose it in the hit list.

The field catalogs provided for the archive search directly from within the application enable you to conduct a search on item level. The traditional field catalogs do not provide this option; they only facilitate a search on a header level.

Calling the Search Function from within Archive Administration

When you call up the read function, the system automatically uses the standard read program delivered by SAP.If there is more than one read program, you can manually select the program you want to use.

In the initial screen of the read program you can choose whether this program should run in dialog mode or in the background (batch). If you select the background processing mode, the screen area Settings for Background Processing appears, in which you can specify the start date and the spool parameters.

If an archiving object has several active infostructures, you can choose an infostructure in a dialog box that appears when you execute the program. Every archiving object is delivered with one standard infostructure. However, you can also create and fill your own infostructures for a specific archiving object.

The fields available in the selection screen of the read program originate in the underlying infostructure and have the same format as the fields of the infostructure. Thus, the criteria for selecting the data depend on the infostructure used.

Depending on the business transaction type, you can double click on a business transaction in the hit list. A dialog box appears in which you can choose between the business or technical view of the data. The business view is the same as the display of the business transaction before it was archived. There is no difference between the display of archived data and current data from the database.

In the technical view, you are given an overview of the database tables involved and you can display the contents of each individual table.