Create Object Links Cache Actions

Create Object Links Cache actions create a tree of object dependency links for a specified RFC Destination. The tree of object links is stored in an Object Links Cache database on the drive where the LiveCompare user data directory is stored. This database is used by the following actions if their Use Cache property is set to ‘true’.

If an Object Links Cache database has been generated for an RFC Destination it may provide these actions with a performance improvement, since the tree of object dependency links for the RFC Destination is already available to LiveCompare. The status of the Object Links Cache database for an RFC Destination is shown in the RFC Destination’s OLC tab.

If the Create Object Links Cache action is run for an RFC Destination that does not already have an Object Links Cache database, a new Object Links Cache database will be created for the RFC Destination. The ‘Request Reset’ option in an RFC Destination’s OLC tab also causes a new an Object Links Cache database to be created for the RFC Destination when the action is next run.

If the Create Object Links Cache action is run for an RFC Destination that already has an Object Links Cache database, the Object Links Cache database is updated with any new object dependency links found for the RFC Destination (typically, this is a much faster operation). Additionally, for any objects with code that need to be refreshed, SAP’s cross reference tables are rebuilt using a custom function.

The Create Object Links Cache action should be run before the Find Object Links, Find Similar Objects, Uses What or Where Used actions are run against an RFC Destination for the first time. The action should also be run after any new transports or support packs have been imported into an SAP system. This ensures that any new transport objects are included in the RFC Destination’s cached tree of object links.

Action Property Description
Result A Table dataset which stores summary details for the Create Object Links Cache operation.
RFC Destination An RFC Destination parameter or dataset referring to the SAP system for which an object links cache database is to be generated.

Example:

Create Object Links Cache action example.

To examine the details for a Create Object Links Cache action, double-click the action node, or select ‘View Details’ from the node’s context menu. The Details screen displays the action’s start and end time, the type of update operation performed (either Create new OLC or Update existing OLC), and the time taken for the action to complete. In the case of an update, the Details screen also lists the number of recent objects, and the number of objects associated with a date.

The progress of a Create Object Links Cache action may be monitored by viewing the Details screen while the action is running. The following details are shown:

Item Description
Started The action’s start time.
Update type Indicates whether a full object links cache database is being created, or whether an incremental update of the object links cache database is being performed, or whether no update is required.
Objects done The number of objects processed so far.
Elapsed time (seconds) The time for which the Create Object Links cache action has been running.
Total elapsed time hh:mm:ss The time for which the Create Object Links Cache action has been running in hours, minutes and seconds.

Press the F5 key periodically to update the display.

If a Create Object Links Cache action is interrupted (for example because its RFC Destination becomes unavailable) choose ‘Continue’ from the action’s context menu to restart it. Where possible, the Create Object Links Cache action will reuse results that have already been cached.

Note

The Find Object Links, Find Similar Objects, Uses What and Where Used actions cannot be run for an RFC Destination while a Create Object Links Cache action is running against the same RFC Destination in another workflow.

Find Object Links Actions

Find Similar Objects Actions

Uses What Actions

Where Used Actions

Maintaining SAP Where Used Indices