Skip to Content
Author's profile photo Former Member

Usage Procedure Logging (UPL)

Abstract


This document explain the basic introduction of Usage Procedure Logging, its data flow and some example of its use cases


1. Introduction

UPL is a Kernel based logging technology with no measurable performance impact and available in any ABAP based system based on the core functionality of SAP Coverage Analyzer. It is used to log all called and executed ABAP units like programs, function modules down to classes, methods and subroutines.

UPL result will be more accurate compared with workload statistic (ST03N) because UPL is able to detect submitted programs or dynamic calls additionally. Also you can detect the usage of any ABAP based unit down to subroutines which will give you the transparency about used modifications, user exits, classes and also single method executions.

2.     Objective

The objective of this document is to give basic understanding of Usage Procedure logging and its capability.

3.     UPL Data Flow

3.1    UPL Data Flow for Managed System


MANAGED SYSTEM FLOW.JPG


Once the daily job is finishes, the extractor framework from SAP Solution Manager will pull the data from the Managed System into the SAP Solution Manager BW info cube.


3.2       UPL Data flow for Solution Manager


SOLUTION MANAGER FLOW.JPG


4. Quick Check for Validation of UPL activation


4.1.Extractor Framework Activation Check

You can check the same in SM_WORKCENTER –> Administration –>Infrastructure –> Extractor Framework –> Filter *UPL*


EXTRACTOR.jpg


4.2.Managed System Check

  • /SDF/UPL_CONTOL Activation check and /SDF/SHOW_UPL : Direct online view
  • RFC Function Modules

     /SDF/UPL_GET_USAGE                    :               Read UPL data for defined days

     /SDF/UPL_SYSTEM_STATUS            :               UPL availability

     /SDF/UPL_CHECK                            :               RFC for quick check of UPL availability

4.3.Solution Manager System Check

BW Access cube (0SM_CCL_UPL  : Info Provider 0SM_UPL)

Few Predefine UPL BW Queries by Transaction RSRT2

  • 0SM_CCL_UPL_CUSTOBJ_AGGR       :               CCL Customer Objects UPL aggregated
  • 0SM_CCL_UPL_MONTH                      :               UPL monthly Report
  • 0SM_CCL_UPL_CUSTOB                    :               CCL Custom Objects UPL
  • 0SM_CCL_UPL_OBJM                         :               UPL Data for Object
  • 0SM_CCL_UPL_CUSTOBJ                  :               CCL Customer Objects UPL
  • 0SM_CCL_UPL                                    :               UPL Report

You can make your own query on info cube and predefine query.

5. Example of Few Use Cases of UPL

5.1.Solution Documentation Assistant

Within the Solution Documentation Assistant, a new check step type is introduced to access UPL usage data.

The tool Solution Documentation Assistant (SDA) is able to evaluate UPL data in check item, only if there is at least one month of data available. The BW will aggregate the daily data slices to a monthly aggregate.

You can create UPL check step with help of subtype like Report, Method or Functional Module. Assign this check step to analysis project process step. This check step plays an important role to identify customize report, program or object.


CHECK STEP.jpg


In SDA Analysis detail of your analysis project, at process step level you will get the result of your check step.


CHECK STEP RESULT.jpg


5.2.Business Process Change Analyzer (BPCA)

The BPCA can make use of the UPL data sources to improve the automation of the technical bill of material (TBOM) creation process. Using the UPL, it will enable to create a new “semi-dynamic” TBOM automatically for business transactions of the customer. Here system will first look at the source code of a business transaction, start collecting all the technical objects, and then it will filter the object list for only the used call stack elements as collected in the UPL data.


TBOM.jpg

You can create a semi-dynamic T.BOM using UPL data for your project in following manner

Go to TBOM utility via Test Management –> Administration.

BPCA_1.jpgBPCA_2.jpg

Once your job get finished you can check the created T.BOM in SOLAR01 –>Business Process Step –> Transaction Tab –> Attribute

BPCA_3.jpg


Please click on display content to check T.BOM

BPCA_4.jpg

6. Conclusion

This document explains basic information of Usage Procedure Logging (UPL), its capability, data flow and some use case examples, which can help the user to start work with UPL. You will get detail information by referring to the document Usage and Procedure Logging (UPL) for set up guide, system precondition, troubleshooting, FAQ etc.

About Author :

He is part of TCS RunSAP CoE team having expertise in SAP Solution Manager functionalities from ALM & RSlaF like Solution Documentation, SoDocA, Test Management, BPCA, BPMon, BP Analystic JSM etc.

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo PIYUSH JAIN
      PIYUSH JAIN

      Hi Ashish,

      Gud to see document on UPL.This is very helpful to understand UPL.

      Author's profile photo Former Member
      Former Member

      Very Informative Document on UPL

      Author's profile photo Former Member
      Former Member

      Ashish,

      Nice document and thanks for sharing.

      Manju

      Author's profile photo Bjoern Panter
      Bjoern Panter

      Hi Ashish,

      nice desciption of the UPL process flow. Under chapter 3.2 the screenshot you took from the SAP slidedeck had a small bug we already fixed. please ensure at the bottom that the cubes are named Weeks/Months/Years instead of twice the months.

      Also remark the data BW design will be changed with SP12 to a much better and improved design.

      Regards

      Björn

      Author's profile photo murali reddy
      murali reddy

      Hi Ashish,

      Thanks for the nice document .

      I am having an issue in UPL job scheduled in ECC system,it is not running .

      I have posted a thread ,could you please have a look if you can help with this issue

      UPL job going to cancelled state

      Regards,

      Murali

      Author's profile photo Reza Ejersbo
      Reza Ejersbo

      Hi Ashish,

      Thanks for theĀ help fullĀ document .

       

      BR Reza