Date post: | 19-Nov-2014 |
Category: |
Technology |
Upload: | tony-de-thomasis |
View: | 2,728 times |
Download: | 11 times |
Premier Partners: Supported by: Produced by:
Worried about the cost of yourSAP Custom code?Tony de Thomasis
Alisdair TempletonSAPWORKS
What we will cover
• Why control Custom Code?• Transparency - How much?• Control – How often?• Optimisation – How well? • Q&A
Mastering SAP Technologies 2013| 3
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
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
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
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
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.
• 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
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
Custom Code Optimisation
Mastering SAP Technologies 2013| 11
• ABAP Unit – Putting it into perspective
• © Mike Cohn, Mountain Goat Software
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
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
• Code quality starts when the first line of code is written
Empower Your Developers
Custom Code Optimisation
Mastering SAP Technologies 2013| 14
Custom Code Optimisation
• SAP Clone finder
Mastering SAP Technologies 2013| 15
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
How to contact me:
Tony de ThomasisAlisdair TempletonSAPWORKS
• 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
Premier Partners: Supported by: Produced by: