Configuring SAP to Collect UPL Data

Usage and Procedure Logging (UPL) is functionality which allows the logging of all called or executed ABAP components (for example, programs, function modules, classes, methods and subroutines), including ABAP components that are called dynamically.

If an SAP system is configured to store UPL data, the data will normally be collected and stored on a daily basis. A housekeeping job may be used to purge out-of-date UPL data after a specified number of days.

Within LiveCompare, UPL data can be retrieved in an RFC Destination’s UPL tab, and read into a workflow using the Read UPL Data action.

UPL System Requirements

The main logic for UPL logging is located in the SAP_BASIS, ST-PI 2008_1_x software component layer, and requires at least the following Support Pack (SP) levels on the SAP system to be managed or monitored:

  • SAP NetWeaver 7.01 SP10
  • SAP NetWeaver 7.02 SP9 with Kernel 720 Patch
  • SAP NetWeaver 7.31 SP3
  • SAP NetWeaver 7.40

Recommended kernel patch levels:

  • 720 patch level 430 and above
  • 721 patch level 120 and above

The ST-PI 2008_1_x SP4 software component is also required (SP7 is recommended).

Please refer to SAP Note 1828848 for further details.

Activating UPL

To activate UPL directly in the managed SAP system, run program /SDF/UPL_CONTROL. With this program, you can start and stop the recording of UPL data. The default number of days for which UPL data will be collected is 14, however this setting may be increased or decreased. The maximum number of days for which UPL data may be collected is 99.

The following authorizations are required to start and stop the collection in program /SDF/UPL_CONTROL:

S_ADMI_FCD

S_ADMI_FCD=ST0R;

S_COV_ADM

ACTVT=02;