managing sap custom code

20
Premier Partners: Supported by: Produced by:

Upload: tony-de-thomasis

Post on 19-Nov-2014

2.731 views

Category:

Technology


11 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Managing SAP Custom Code

Premier Partners: Supported by: Produced by:

Page 2: Managing SAP Custom Code

Worried about the cost of yourSAP Custom code?Tony de Thomasis

Alisdair TempletonSAPWORKS

Page 3: Managing SAP Custom Code

What we will cover

• Why control Custom Code?• Transparency - How much?• Control – How often?• Optimisation – How well? • Q&A

Mastering SAP Technologies 2013| 3

Page 4: Managing SAP Custom Code

Why control Custom code?

• SAP delivered software • Standards and best practices• Integrity and flexibility

• Enhanced by Custom code • Creates competitive advantage• Extends innovation and functionality

• Having custom code is OK • Based on an educated decision and business requirement• Loss of “built-in” capabilities need to be properly addressed• Doing it “right” helps to develop and operate code effectively

Mastering SAP Technologies 2013| 4

Page 5: Managing SAP Custom Code

Custom Code Transparency

• SAP Solution Manager• Custom Code Lifecycle Management (CCLM) • Custom Development Management Cockpit (CDMC)• Guided Self Service Reports (GSS)

Mastering SAP Technologies 2013| 5

Page 6: Managing SAP Custom Code

Custom Code Control

• SAP Solution Manager• SAP Coverage Analyser (SCOV)• Custom Code Lifecycle Management (CCLM) • Custom Development Management Cockpit (CDMC)

Mastering SAP Technologies 2013| 6

Page 7: Managing SAP Custom Code

Custom Code Optimisation

• SAP Managed Systems – Custom Code Management is more than just Solution Manager!

• SAP Code Inspector • ABAP Test Cockpit• ABAP Unit• SAP Clone Finder

It‘s all about Developer Empowerment!

Mastering SAP Technologies 2013| 7

Page 8: Managing SAP Custom Code

Custom Code Optimisation

Mastering SAP Technologies 2013| 8

• Metrics are Important– Use the SAP Code Inspector (SCI) to generate code

metrics– Runs a set of “rules” across your code base

• Introduce a Quality Gate– The Code Inspector can act as a quality gate by checking

objects on transport release.

Page 9: Managing SAP Custom Code

• Examples of useful code quality metrics– Lines of code– Modularisation units– Cyclomatic Complexity– Coupling (ca/ce) and Cohesion– Temporal coupling– Frequency of change– What’s trending?

• Increasing code line count• Top 10 changing objects

Custom Code Optimisation

Mastering SAP Technologies 2013| 9

Page 10: Managing SAP Custom Code

Custom Code Optimisation

• ABAP Test Cockpit• Available from Basis 702 SP12• Used internally at SAP• Integrates the SAP Code Inspector (SCI) into the

ABAP Workbench• Centralised reporting and exception management

Mastering SAP Technologies 2013| 10

Page 11: Managing SAP Custom Code

Custom Code Optimisation

Mastering SAP Technologies 2013| 11

• ABAP Unit – Putting it into perspective

• © Mike Cohn, Mountain Goat Software

Page 12: Managing SAP Custom Code

Custom Code Optimisation

• ABAP Unit• Available since ABAP 640• Tightly integrated with the ABAP Workbench• Tests are defined and implemented as local

classes • ABAP Unit Browser• Execute and measure coverage• Code Inspector can execute Unit Tests on release

Mastering SAP Technologies 2013| 12

Page 13: Managing SAP Custom Code

Custom Code Optimisation

• SAP Coverage Analyser• Which parts of my system are used?• What is my test coverage?• Do I have any dead code?

• SCOV and SCOV Lite (Usage and Procedure Logging).

• Need to understand the differences.

Mastering SAP Technologies 2013| 13

Page 14: Managing SAP Custom Code

• Code quality starts when the first line of code is written

Empower Your Developers

Custom Code Optimisation

Mastering SAP Technologies 2013| 14

Page 15: Managing SAP Custom Code

Custom Code Optimisation

• SAP Clone finder

Mastering SAP Technologies 2013| 15

Page 16: Managing SAP Custom Code

Released in December!

Managing Custom Code with SAP Solution Manager

• Learn how to identify good and bad instances of custom code.

• Understand how to monitor the amount and efficiency of custom code in your system.

• Explore the Solution Manager tools that help you manage your code.

Mastering SAP Special: Save 10% when ordering this title!Use code 2013MASTERING10 at the SAP PRESS bookstore

Page 17: Managing SAP Custom Code
Page 18: Managing SAP Custom Code

How to contact me:

Tony de ThomasisAlisdair TempletonSAPWORKS

Page 19: Managing SAP Custom Code

• What transaction is that?

Custom Code Bonus Slide

Mastering SAP Technologies 2013| 19

T-Code Function System

CCLM Custom Code Lifecycle Management SolMan

ATC ABAP Test Cockpit Managed

SCOV Coverage Analyser Managed

CNV_CDMC Custom Code Development Cockpit SolMan

/SDF/CD_CCA Clone Finder Managed

SCI SAP Code Inspector Managed

Page 20: Managing SAP Custom Code

Premier Partners: Supported by: Produced by: