Skip to Content
Technical Articles
Author's profile photo Sumit Patel

CCLM(Custom Code Life Cycle Management) Configuration In Solution Manager 7.2

Hi Friends,

 

Custom Code Management Work Center

All About Custom Code Management work center

https://help.sap.com/doc/saphelp_sm72_sp02/7.2.02/en-US/3f/f184533b5ae547e10000000a441470/content.htm?loaded_from_frameset=true

 

CCLM- Brief description of the functionality

  • CCLM can be used for creating a library of custom codes
  • It gives you information of number (quantity) of custom code in various systems on various attributes like criticality and severity (enhancement, modification and custom code)
  • Programs which are not being used for last 12 months so that they can be marked for decommissioning. It has functionality of decommissioning
  • There is a quality cockpit as well which shows rating of objects as low/medium/high quality objects. This is done using “ATC” run (which I am not clear about)
  • CCLM has graphical (bars/graphs/pie charts)representation of the custom code quality
  • Based on ATC run it will also show results based on individual object as well. These results show to be improved messages and error messages.

Challenge- How to find unused code in ABAP systems

 

Benefits- Strong Governance and effort reduction during upgrades

Benefits- Strong Governance and effort reduction during upgrades

1.Cost reductionà During upgrades with focus on relevant custom code objects.

2.Decommission unused/obsolete code.

3.Document ownership, contract and other information for custom code objects.

4.Transparency of custom code number, usage, quality and many other information in different systems.

 

->Execute t-code CCLM

Overview

 City Model

The integrated 3D City Model provides a graphical overview of the current custom code situation in the selected systems.

The city model is based on 3 + 1 dimensions: the three dimensions of the graph (quantity, criticality, and severity) plus either quality or usage information displayed in the tables.

You can use this overview to monitor your custom developments and as a basis to decide whether further custom code management activities are necessary.

Severity

Indicates how far the objects differ from the SAP standard.

The severity level is based on the CCLM attribute SAPSeverity

The following severity levels are available:

SAPSeverity=1 Enhancements

Coding using released interfaces and frameworks

SAPSeverity=3 Modifications

Changed SAP objects

SAPSeverity=5 Custom Code

Independently developed custom objects

Criticality

Indicates how critical your custom developments are.

This criticality rating is defined by the factors specified in the Business Criticality Setup step in the Custom Code Management scenario of SAP Solution Manager Configuration.

The value is stored in the CCLM attribute SAP Criticality.

SAP Criticality=1: Low Criticality

SAP Criticality=5: High Criticality

Quantity

The number of objects in the selected systems.

The additional dimension is displayed in the tables on the right,you can switch between usage Information and quality information.

The total number of the Custom Code, Modification, and Enhancement objects in the selected systems is displayed above the graph, along with the trend.

Library Definitions

The library definition view provides an overview of active and inactive custom code libraries. You can upload and download library definitions as XML files.

Objects

The objects view displays the results of completed data collection jobs, that is, all custom objects and their attributes that were collected in the active library. You can maintain attributes and references for some objects.

Quality

The quality cockpit displays the results of ABAP Test Client (ATC) runs and the open exemptions created for the results over a certain period of time. You can analyze the results and accept or reject open exemptions.

In the quality cockpit you can create new quality projects using the analysis runs of the ABAP Test Cockpit (ATC) tool.

Please find the reference for Transactions SCI and ATC

https://help.sap.com/doc/saphelp_sm72_sp02/7.2.02/en-US/b1/45835378446957e10000000a44538d/content.htm?loaded_from_frameset=true

Decommissioning

The decommissioning cockpit helps you identify redundant or obsolete custom code. You create decommissioning analyses and schedule background jobs to monitor custom code objects in your system for activity over a defined period.

https://help.sap.com/doc/saphelp_sm72_sp02/7.2.02/en-US/c6/0284533b5ae547e10000000a441470/content.htm?loaded_from_frameset=true

Dashboards

The dashboard is integrated in the CCM (Custom Code Management) work center. You can set CCM-related objectives and measure your progress toward these goals using fully customizable scorecards and KPIs.

https://help.sap.com/doc/saphelp_sm72_sp02/7.2.02/en-US/b0/f985531bd34e3fe10000000a441470/content.htm?loaded_from_frameset=true

Value Management Dashboard

The Value Management Dashboard (formally ICI) is a tool which helps to visualize the objectives and improve business values,With this dashboard we can use these data easily and visualize added value. Measured data, defined KPIs and monitored results are managed with the SAP Solution Manager. Using the Value Management Dashboard created or improved business value can be shown.

Please find the Wiki link about “Value Management Dashboard”

https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=392071219

In order to navigate to the “Value Management Dashboard”  Execute t-code Solman_workcenter

In Search field  Choose “All”  and provide  “value” and then click “App Engagements”

Business Value

The following KPIs are predefined by SAP:

  • Total number of custom code objects
  • Total number of low quality objects
  • Total number of objects not used
  • Percentage of objects with criticality level 4 and 5
  • Total number of objects of severity level 1 – Enhancements
  • Total number of objects of severity level 3 – Modifications

Total number of objects of severity level 5 – Customer Objects

Key Performance Indicators

Click to Select” for opening a KPI as below

Total # of Custom Code Objects

Total # of not used objects

Click on “?” button to navigate to “Custom Code Management Work Center”

Configuring the Dashboard

Click on “Wheel” button as below

Click on Edit

Required custom changes can be done

KPI’s color coding or view can be customized

By clicking “History Log” give the summary of logs.

Related Links

CCLM Wiki : https://wiki.scn.sap.com/wiki/display/SM/SAP+Solution+Manager+WIKI+-+Custom+Code+Management

CCLM- How to Guide : https://www.sap.com/documents/2017/05/d493008a-bd7c-0010-82c7-eda71af511fa.html

Training Videos : https://wpb101101.hana.ondemand.com/wpb/wa/wa/~tag/published/index.html?library=library.txt&show=book!BO_DE4BCE35E96CA594#slide!SL_FBBB6F5B18DA27BA

 

Regards,

Sumit

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Murtaza Najmi
      Murtaza Najmi

      Thanks for sharing this, self explanatory document.

      Author's profile photo A Raghuveer
      A Raghuveer

      Thanks for sharing Sumit

      Author's profile photo Marcos Alves
      Marcos Alves

      Sumit,

      Thanks for sharing this document. Do you know if CCLM requires any additional software license?

      Thank you.

      Author's profile photo Juan-Carlos Garcia-Garavito
      Juan-Carlos Garcia-Garavito

      Hi Sumit.

      Many thanks for the information.  I have a question.

      One of the first steps within the CCM workcenter decommissioning contract/project  is to save the objects (well, it is called backup).  Is the idea to save every object in a different transport?  I mean, if you need to restore one, for a reason, it is easier for sure with a separate transport per object, but when we are talking about thousands of objects, we are talking about a different monster here.  Or,  is there a tool, that I am not aware of, in CCM that could extract from the backup transport an object that needs to be restored.

      However also there is the scenario in which a change involves many workbench objects, so then all the ones related to a change should be backed up in the same transport, I believe.   So, as you can see, there are different scenarios when considering backing up objects to be decommissioned.

      I know, I full backup is the easiest step.  I  am just triyng to find the reply from the best practices experience point of view.

       

      Thanks

       

      Juan