SlideShare a Scribd company logo
1 of 52
Download to read offline
ABAP Test Cockpit in action with Doctor ZedGeand abap2xlsx 
SAP Inside Track München 2014 
Alessandro Lavazzi
2 
Agenda 
ABAP Static Code Analysis & Tools
3 
ABAP Static Code Analysis & Tools 
Complexity 
Number of objects 
Line of code 
Standards 
Alerts / Warnings
4 
ABAP Static Code Analysis & Tools 
Complexity 
Number of objects 
Line of code 
Standards 
Alerts / Warnings 
Metrics
5 
ABAP Static Code Analysis & Tools 
Complexity 
Number of objects 
Line of code 
Standards 
Alerts / Warnings 
Metrics 
Violations
6 
ABAP Static Code Analysis & Tools 
Analysis Dashboard 
Integration in Lifecycle Management 
Scan Engine
7 
ABAP Static Code Analysis & Tools
8 
ABAP Static Code Analysis & Tools 
SOLMAN CCMC/CCLM 
HawkeyeMonitor 
DoctorZedGe
9 
Agenda 
Code Inspector 
Scan Engine
10 
Code Inspector -Scan Engine 
Code Inspector 
The Code Inspector is a tool for checking static ABAP coding and generally all objects of the Object Repository under aspects of Performance, Security, Reliability, and Statistical Information 
Installation 
Included in SAP standard starting from SAP ECC 6.0 EhP0 (SAP BASIS 7.0)
11 
Code Inspector -Scan Engine 
Transaction SCI
12 
Code Inspector -Scan Engine 
What to check 
Transaction SCI
13 
Code Inspector -Scan Engine 
Where to check 
What to check 
Transaction SCI
14 
Code Inspector -Scan Engine 
examples 
SE38, SE37, SE24 … 
ABAP Workbench SE80 
Developerscan execute the Code Inspector with the standard check variant contextually with their workflow process
15 
Code Inspector -Scan Engine 
The output screen …
16 
Code Inspector -Scan Engine 
What about the check done by the code inspector? 
Extended Program Check –called to analyze more than 300 rules about alerts and warnings 
Code Inspector’s rules -called to obtain Code Metrics and analyze more than 40 rules about Standards, Security, Performances and even HANA readiness 
Custom Check rules –can be plugged into Code Inspector without modification to the standard
17 
Agenda 
ABAP Test Cockpit 
Integration in Lifecycle Management
18 
Code Inspector -Scan Engine 
ABAP Test Cockpit 
The Powerful enterprise-ready tool to perform static program analysis of Custom ABAP Code (based on Code Inspector). 
Installation 
Included in SAP standard since SAP ECC 6.0 EhP6
19 
Code Inspector -Scan Engine 
Enhance Code Inspector with: 
Superior integration with ABAP Workbench (even ABAP in Eclipse) and Software Lifecycle (Change Request) 
Landscape awareness that support result distribution from QAS to DEV 
Superior User Interface that supports filtersand statistics 
Re-check 
Powerful out-of-the box exemptions workflow (“4 eyes”) that helps conveniently suppressing “false-positives” findings 
Ten time faster scanning engine thanks to the ABAP Parallel Processing 
Customizable “Messages” priority
20 
ABAP Test Cockpit -Integration in Lifecycle Management 
All configuration and settings about ABAP Test Cockpit are accessible via the transaction code ATC
21 
ABAP Test Cockpit is integrated in transaction /nSE80, SE38, SE37 … 
Developerscan execute ATC Inspections as much time as they like contextually with their workflow process 
ABAP Test Cockpit -Integration in Lifecycle Management
22 
ABAP Test Cockpit is integrated in transaction /nSE80 -Repository Browser 
Developerscan execute ATC Inspections on the selected set of objects (e.g. Package) 
ABAP Test Cockpit -Integration in Lifecycle Management 
Drag and Drop to add object!
23 
ABAP Test Cockpit -Integration in Lifecycle Management 
Developerscan access by a specific perspective all the ATC runs done and can browse the results in detail.
24 
ABAP Test Cockpit is integrated in transaction /nSE80 –Transport Organizer 
Before releasing to QAS or just to monitor the deliverables, Team Leaders and Project Managers can execute ATC Inspections on the selected Change Request 
ABAP Test Cockpit -Integration in Lifecycle Management
25 
ABAP Test Cockpit is integrated in ABAP in Eclipse (ADT) too 
ABAP Test Cockpit -Integration in Lifecycle Management
26 
ABAP Test Cockpit results are well presented to the developer 
ABAP Test Cockpit -Integration in Lifecycle Management
27 
Agenda 
Doctor ZedGeHard!Code 
(Community Edition)
28 
Code Inspector -Scan Engine 
Doctor ZedGe-Hard!Code 
A free tool to improve your Custom ABAP Code and save money during your next rollouts. It’s a new rule plugged into the Code Inspector to find hard code business values. 
Installation 
Available free-of-charge and installable via Copy & Paste into SAP ECC 6.0 EhP6 or above 
SCN Blogs 
STOP filling your ABAP with Business hard coding 
Doctor ZedGe-Hard!Code-a free Code Inspector rule
29 
The unique static code check developed by Techedge highlights usage of Business related Hard-coding 
Doctor ZedGe-Hard!Code–a new rule plugged into the Scan Engine 
Hard Code Company Code 
Company Code relatedhard code valuenotfoundin company code matserdata, so theycouldbe partialstring(«IT*»)
30 
SAP standard never uses business related Hard-coding, customers does even too much. Probably SAP does not image how much this “Anti-pattern”is popular and dangerous, we do ! 
Doctor ZedGe-Hard!Code–a new rule plugged into the Scan Engine
31 
METHOD busab_mandatoryapplies a specific business rule for the hard-coded set of company codes 
Who will remember to add the company code of the next roll-out? 
How much debug, and how many Change Requests and approvals will be required? 
Doctor ZedGe-Hard!Code–a new rule plugged into the Scan Engine
32 
METHOD address_controls_inapplies a specific business rule company codes starting with IN (India ?) 
Who will remember to add the next Indian company ? 
Doctor ZedGe-Hard!Code–a new rule plugged into the Scan Engine
33 
ABAP Static Code Analysis & Tools 
Analysis Dashboard 
Integration in Lifecycle Management 
Scan Engine 
Code Inspector 
ATC 
Business Hard!CodeFinder
34 
Agenda 
Doctor ZedGe
35 
Code Inspector -Scan Engine 
Doctor ZedGe 
A new product that enhance ABAP Test Cockpit presenting results in beautiful and simply MS Excel reports designed for different PERSONA and adding Indexes like Quality and Maintainability. 
Installation 
Starting from SAP ECC 6.0 EhP6 (SAP BASIS 7.31 SP05) 
Limited number of ABAP objects in the namespace Z3TG_DZG that can be imported in DEV and QAS via a simple Change Request
36 
Idea 
Simplify ATC results! 
Combine metrics with violations to compute different ratios, 
combine indicators via formulas 
aggregate and generate nice looking dashboard
37 
Idea 
Simplify ATC results! 
Combine metrics with violations to compute different ratios, 
combine indicators via formulas 
aggregate and generate nice looking dashboard 
Evaluations are proposed in nice looking MS Excel files generated via abap2xlsx
38 
Doctor ZedGe-Analysis 
Doctor ZedGeis specifically designed for real-life scenarios to assist the different “Persona” 
Developers 
Team Leaders 
Quality Assurance Managers 
Project Managers 
AMS
39 
Doctor ZedGe-Analysis 
Queries developed by Techedge aggregates ATC raw data in the best format for each “Persona” (Business Role)
40 
Doctor ZedGe-Analysis [Persona: DEVELOPER] 
For each processing block (e.g. FORM, METHOD, FUNCTION), the Software Analytics can highlight number of statements, Maintainability Index and Cyclomatic2 complexity index. 
Developers are motivated to adopt modularization via refectory activities.
41 
Doctor ZedGe-Analysis [Persona: DEVELOPER] 
For each processing block (e.g. FORM, METHOD, FUNCTION), the Software Analytics can highlight number of statements, Maintainability Index and Cyclomatic2 complexity index. 
Developers are motivated to adopt modularization via refectory activities. 
MaintainabilityIndex 
The aim of the MI is to determine how easy it will be to maintain a particular body of code 
Designed at the University of Idaho in 1991 by Oman and Hagemeisterand validated in the field by Hewlett Packard in a fairly extensive trial 
푴푰=ퟏퟕퟏ−ퟑ,ퟒퟐln(푽)−ퟎ,ퟐퟑ푮−ퟏퟔ,ퟐln(푳푶푪) 
V =Halstead Volume 
G =Cyclomatic Complexity 
LOC =count of source Lines Of Code (SLOC)
42 
Doctor ZedGe-Analysis [Persona: DEVELOPER] 
For each processing block (e.g. FORM, METHOD, FUNCTION), the Software Analytics can highlight number of statements, Maintainability Index and Cyclomatic2 complexity index. 
Developers are motivated to adopt modularization via refectory activities. 
Cyclomatic Complexity 
Cyclomatic complexity(orconditional complexity) is a software metric (measurement). It was developed by Thomas J. McCabe, Sr. in 1976 and is used to indicate the complexity of a program. 
It directly measures: 
•the number of linearly independent paths through a program's source code. 
•the number of test cases that are necessary to cover all path
43 
Doctor ZedGe–Analysis [Persona: PM, TEAM LEADER] 
With ATC runs against Change Requests, Team Leaders and Project managers can monitor real progress (number of objects) and investigate about exceptions (e.g. higher MI, Cyclomatic2, lineCount-lower English comments ratio –any quality or metric Indexes)
44 
Doctor ZedGe-Analysis 
Here how Change Requests to be approved by PM, QM and AMS look like
45 
Doctor ZedGe-Analysis 
Here how Change Requests to be approved by PM, QM and AMS look like
46 
Doctor ZedGe–Analysis [Persona: SYSTEM OWNER, QUALITY MANAGER] 
System owner, can weekly (at the CAB) discuss about trends impacting custom ABAP quality and in case launch new initiatives to address exceptions 
AFTER 
BEFORE 
Periodic external certifications can be very useful to audit behaviors of the different internal teams as well as those of the different suppliers
47 
Doctor ZedGe–Analysis [Persona: AMS OWNER] 
During Hand-over and Knowledge Transfer (KT) phases, AMS owners can get a clear picture of the incomingsoftware metrics and violations figures running the Techedge Software Analytics against the project Change Requests (or ChaRMdocuments)
48 
Marketing and Sales 
Doctor ZedGeis used internally in TechegedeGroup to prove the quality of our projects and solutions
49 
Doctor ZedGe-Analysis 
Limitations of current release 
Historical data are not stored and simple trend analysis are possible comparing the weekly MS Excel reports 
Integration with SAP Solution Manager ChaRMis productive on customer sites but yet to be generalized 
Integration with SAP Solution Manager CCLM is currently under evaluation 
In add, sinceDoctor ZedGe-Hard!Codeleverages the power of ABAP Test Cockpit and Code Inspector, it also suffers of the same known limitations: 
it works only on workbench objects belonging to a custom main object. It can analyze BADIs and Customer Exits (CMOD) but cannot analyze ABAP code contained in user-exits includes (es. SAPMV45A is a SAP standard object thus MV45FZ01 cannot be analyzed that as from Best Practices should just call custom Customer Exits FUNCTION MODULEs or custom BADIs) 
it works on PROGRAMs (PROG), FUNCTION MODULEs (FUGR) and CLASSEs (CLASS) but not on SAPScriptsand SMARTForms.
50 
Doctor ZedGe-Analysis 
Current Release 
-ALV 
-XSLX Download 
-XLSX via Mail to (distribution list, user or email address) 
-Customizable threshold parameters used in the score and metrics calculation 
-ATC Exemptions evaluation 
-Storing in the INDX Data Base of the last analysis results 
-“Skip standard Include” option 
-Findings2XSLX 
Next Release 
-SAPUI5 Dashboard UI 
-SAPUI5 Trend Analysis 
-SAP CRM Hard!CodeSupport 
-Integration with SAP Solution Manager ChaRM 
-SAP SRM Hard!CodeSupport 
-SAP BW Hard!CodeSupport
51 
Selling optionshttp://www.techedgegroup.com/oursolutions/doctor-zedge
52 
And don’t miss … 
https://twitter.com/doctorzedge 
https://www.facebook.com/doctorzedge

More Related Content

What's hot

SAP HANA 2.0 Cockpit Installation and Configuration.pdf
SAP HANA 2.0 Cockpit Installation and Configuration.pdfSAP HANA 2.0 Cockpit Installation and Configuration.pdf
SAP HANA 2.0 Cockpit Installation and Configuration.pdf
Yevilina Rizka
 

What's hot (20)

SAP HANA SPS09 - Backup and Recovery
SAP HANA SPS09 - Backup and RecoverySAP HANA SPS09 - Backup and Recovery
SAP HANA SPS09 - Backup and Recovery
 
S/4 HANA conversion functional value proposition
S/4 HANA conversion functional value propositionS/4 HANA conversion functional value proposition
S/4 HANA conversion functional value proposition
 
Activate_Methodology_Summary.ppt
Activate_Methodology_Summary.pptActivate_Methodology_Summary.ppt
Activate_Methodology_Summary.ppt
 
SAP HANA Overview
SAP HANA OverviewSAP HANA Overview
SAP HANA Overview
 
Migrating SAP Workloads to AWS: Stories and Tips - AWS Summit Sydney
Migrating SAP Workloads to AWS: Stories and Tips - AWS Summit SydneyMigrating SAP Workloads to AWS: Stories and Tips - AWS Summit Sydney
Migrating SAP Workloads to AWS: Stories and Tips - AWS Summit Sydney
 
Sap lama presentation
Sap lama presentationSap lama presentation
Sap lama presentation
 
Benefits of SAP Fiori Apps
Benefits of SAP Fiori AppsBenefits of SAP Fiori Apps
Benefits of SAP Fiori Apps
 
Decoding SAP S/4HANA System Conversion
Decoding SAP S/4HANA System ConversionDecoding SAP S/4HANA System Conversion
Decoding SAP S/4HANA System Conversion
 
Transition to SAP S/4HANA System Conversion: A step-by-step guide
Transition to SAP S/4HANA System Conversion: A step-by-step guide Transition to SAP S/4HANA System Conversion: A step-by-step guide
Transition to SAP S/4HANA System Conversion: A step-by-step guide
 
Deploying SAP Solutions on AWS
Deploying SAP Solutions on AWSDeploying SAP Solutions on AWS
Deploying SAP Solutions on AWS
 
Sap s 4 hana client strategy
Sap s 4 hana client strategySap s 4 hana client strategy
Sap s 4 hana client strategy
 
SAP Ariba Overview Roca
SAP Ariba Overview RocaSAP Ariba Overview Roca
SAP Ariba Overview Roca
 
SAP S/4 HANA Technical assessment before migration
SAP S/4 HANA Technical assessment before migrationSAP S/4 HANA Technical assessment before migration
SAP S/4 HANA Technical assessment before migration
 
Going Digital with SAP S/4HANA Sourcing and Procurement and SAP Ariba Solutio...
Going Digital with SAP S/4HANA Sourcing and Procurement and SAP Ariba Solutio...Going Digital with SAP S/4HANA Sourcing and Procurement and SAP Ariba Solutio...
Going Digital with SAP S/4HANA Sourcing and Procurement and SAP Ariba Solutio...
 
SAP Activate
SAP Activate  SAP Activate
SAP Activate
 
Sap s4 hana sourcing and procurement
Sap s4 hana sourcing and procurementSap s4 hana sourcing and procurement
Sap s4 hana sourcing and procurement
 
SAP HANA 2.0 Cockpit Installation and Configuration.pdf
SAP HANA 2.0 Cockpit Installation and Configuration.pdfSAP HANA 2.0 Cockpit Installation and Configuration.pdf
SAP HANA 2.0 Cockpit Installation and Configuration.pdf
 
Procurement Transformation with S/4 HANA Sourcing and Procurement
Procurement Transformation with S/4 HANA Sourcing and ProcurementProcurement Transformation with S/4 HANA Sourcing and Procurement
Procurement Transformation with S/4 HANA Sourcing and Procurement
 
Sapui5 & Fiori
Sapui5 & FioriSapui5 & Fiori
Sapui5 & Fiori
 
High Availability of SAP ASCS in Microsoft Azure
High Availability of SAP ASCS in Microsoft AzureHigh Availability of SAP ASCS in Microsoft Azure
High Availability of SAP ASCS in Microsoft Azure
 

Viewers also liked

Abap query
Abap queryAbap query
Abap query
brtkow
 
Comandos e funções em abap
Comandos e funções em abapComandos e funções em abap
Comandos e funções em abap
alienscorporation
 
Abap 7 02 new features - new string functions
Abap 7 02   new features - new string functionsAbap 7 02   new features - new string functions
Abap 7 02 new features - new string functions
Cadaxo GmbH
 
Abap coding standards
Abap coding standardsAbap coding standards
Abap coding standards
surendra1579
 

Viewers also liked (20)

Usability in ABAP Programs - SITSP2011
Usability in ABAP Programs - SITSP2011Usability in ABAP Programs - SITSP2011
Usability in ABAP Programs - SITSP2011
 
Taller sql sesion_03_a
Taller sql sesion_03_aTaller sql sesion_03_a
Taller sql sesion_03_a
 
ABAP Unit and TDD
ABAP Unit and TDDABAP Unit and TDD
ABAP Unit and TDD
 
Case Study: Automated Code Reviews In A Grown SAP Application Landscape At EW...
Case Study: Automated Code Reviews In A Grown SAP Application Landscape At EW...Case Study: Automated Code Reviews In A Grown SAP Application Landscape At EW...
Case Study: Automated Code Reviews In A Grown SAP Application Landscape At EW...
 
ABAP Code Retreat Frankfurt 2016: TDD - Test Driven Development
ABAP Code Retreat Frankfurt 2016: TDD - Test Driven DevelopmentABAP Code Retreat Frankfurt 2016: TDD - Test Driven Development
ABAP Code Retreat Frankfurt 2016: TDD - Test Driven Development
 
How to assess the risks in your SAP systems at the push of a button
How to assess the risks in your SAP systems at the push of a buttonHow to assess the risks in your SAP systems at the push of a button
How to assess the risks in your SAP systems at the push of a button
 
Abap query
Abap queryAbap query
Abap query
 
Qué es abap
Qué es abapQué es abap
Qué es abap
 
ABAP Test & Troubleshooting @SITMuc 2013
ABAP Test & Troubleshooting @SITMuc 2013ABAP Test & Troubleshooting @SITMuc 2013
ABAP Test & Troubleshooting @SITMuc 2013
 
ITSS Trainning | Curso de SAP ABAP Foundations
ITSS Trainning | Curso de SAP ABAP FoundationsITSS Trainning | Curso de SAP ABAP Foundations
ITSS Trainning | Curso de SAP ABAP Foundations
 
Analista programador SAP ABAP IV
Analista programador SAP ABAP IVAnalista programador SAP ABAP IV
Analista programador SAP ABAP IV
 
Web dynpro for abap
Web dynpro for abapWeb dynpro for abap
Web dynpro for abap
 
Comandos e funções em abap
Comandos e funções em abapComandos e funções em abap
Comandos e funções em abap
 
Abap 7 02 new features - new string functions
Abap 7 02   new features - new string functionsAbap 7 02   new features - new string functions
Abap 7 02 new features - new string functions
 
View - Tutorial ABAP
View - Tutorial ABAPView - Tutorial ABAP
View - Tutorial ABAP
 
Icones - ABAP
Icones - ABAPIcones - ABAP
Icones - ABAP
 
Sap abap Q&A
Sap abap Q&A Sap abap Q&A
Sap abap Q&A
 
Funções - Tutorial ABAP
Funções - Tutorial ABAPFunções - Tutorial ABAP
Funções - Tutorial ABAP
 
Abap coding standards
Abap coding standardsAbap coding standards
Abap coding standards
 
Basic abap oo
Basic abap ooBasic abap oo
Basic abap oo
 

Similar to ABAP Test Cockpit in action with Doctor ZedGe and abap2xlsx

Coml Psg Automation Approach
Coml Psg Automation ApproachComl Psg Automation Approach
Coml Psg Automation Approach
roopavani
 
Cognizant's Zero Deviation Life Cycle - an Overview
Cognizant's Zero Deviation Life Cycle - an OverviewCognizant's Zero Deviation Life Cycle - an Overview
Cognizant's Zero Deviation Life Cycle - an Overview
Dr. Bippin Makoond
 

Similar to ABAP Test Cockpit in action with Doctor ZedGe and abap2xlsx (20)

Doctor ZedGe @InsideTrack Rome #sitROME
Doctor ZedGe @InsideTrack Rome #sitROMEDoctor ZedGe @InsideTrack Rome #sitROME
Doctor ZedGe @InsideTrack Rome #sitROME
 
ABAP Test Cockpit in action with Doctor ZedGe and abap2xlsx
ABAP Test Cockpit in action with Doctor ZedGe and abap2xlsxABAP Test Cockpit in action with Doctor ZedGe and abap2xlsx
ABAP Test Cockpit in action with Doctor ZedGe and abap2xlsx
 
ABAP_STD.pptx
ABAP_STD.pptxABAP_STD.pptx
ABAP_STD.pptx
 
Coml Psg Automation Approach
Coml Psg Automation ApproachComl Psg Automation Approach
Coml Psg Automation Approach
 
Modeling and Testing Dovetail in MagicDraw
Modeling and Testing Dovetail in MagicDrawModeling and Testing Dovetail in MagicDraw
Modeling and Testing Dovetail in MagicDraw
 
Project Management
Project ManagementProject Management
Project Management
 
The ZDLC Brief
The ZDLC BriefThe ZDLC Brief
The ZDLC Brief
 
Presentation Verification & Validation
Presentation Verification & ValidationPresentation Verification & Validation
Presentation Verification & Validation
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
How Pratt & Whitney Streamlined Their ABAP Security and Quality Code Review P...
How Pratt & Whitney Streamlined Their ABAP Security and Quality Code Review P...How Pratt & Whitney Streamlined Their ABAP Security and Quality Code Review P...
How Pratt & Whitney Streamlined Their ABAP Security and Quality Code Review P...
 
Case Study: Automating Code Reviews for Custom SAP ABAP Applications with Vir...
Case Study: Automating Code Reviews for Custom SAP ABAP Applications with Vir...Case Study: Automating Code Reviews for Custom SAP ABAP Applications with Vir...
Case Study: Automating Code Reviews for Custom SAP ABAP Applications with Vir...
 
Qa analyst training
Qa analyst training Qa analyst training
Qa analyst training
 
Agile for Software as a Medical Device
Agile for Software as a Medical DeviceAgile for Software as a Medical Device
Agile for Software as a Medical Device
 
Scale
ScaleScale
Scale
 
[Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery
[Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery[Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery
[Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery
 
Cognizant's Zero Deviation Life Cycle - an Overview
Cognizant's Zero Deviation Life Cycle - an OverviewCognizant's Zero Deviation Life Cycle - an Overview
Cognizant's Zero Deviation Life Cycle - an Overview
 
AI-accelerated CFD (Computational Fluid Dynamics)
AI-accelerated CFD (Computational Fluid Dynamics)AI-accelerated CFD (Computational Fluid Dynamics)
AI-accelerated CFD (Computational Fluid Dynamics)
 
Dev ops presentation
Dev ops presentationDev ops presentation
Dev ops presentation
 
Fundamentals of software development
Fundamentals of software developmentFundamentals of software development
Fundamentals of software development
 
Software Process Models
 Software Process Models  Software Process Models
Software Process Models
 

Recently uploaded

%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 

Recently uploaded (20)

AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 

ABAP Test Cockpit in action with Doctor ZedGe and abap2xlsx

  • 1. ABAP Test Cockpit in action with Doctor ZedGeand abap2xlsx SAP Inside Track München 2014 Alessandro Lavazzi
  • 2. 2 Agenda ABAP Static Code Analysis & Tools
  • 3. 3 ABAP Static Code Analysis & Tools Complexity Number of objects Line of code Standards Alerts / Warnings
  • 4. 4 ABAP Static Code Analysis & Tools Complexity Number of objects Line of code Standards Alerts / Warnings Metrics
  • 5. 5 ABAP Static Code Analysis & Tools Complexity Number of objects Line of code Standards Alerts / Warnings Metrics Violations
  • 6. 6 ABAP Static Code Analysis & Tools Analysis Dashboard Integration in Lifecycle Management Scan Engine
  • 7. 7 ABAP Static Code Analysis & Tools
  • 8. 8 ABAP Static Code Analysis & Tools SOLMAN CCMC/CCLM HawkeyeMonitor DoctorZedGe
  • 9. 9 Agenda Code Inspector Scan Engine
  • 10. 10 Code Inspector -Scan Engine Code Inspector The Code Inspector is a tool for checking static ABAP coding and generally all objects of the Object Repository under aspects of Performance, Security, Reliability, and Statistical Information Installation Included in SAP standard starting from SAP ECC 6.0 EhP0 (SAP BASIS 7.0)
  • 11. 11 Code Inspector -Scan Engine Transaction SCI
  • 12. 12 Code Inspector -Scan Engine What to check Transaction SCI
  • 13. 13 Code Inspector -Scan Engine Where to check What to check Transaction SCI
  • 14. 14 Code Inspector -Scan Engine examples SE38, SE37, SE24 … ABAP Workbench SE80 Developerscan execute the Code Inspector with the standard check variant contextually with their workflow process
  • 15. 15 Code Inspector -Scan Engine The output screen …
  • 16. 16 Code Inspector -Scan Engine What about the check done by the code inspector? Extended Program Check –called to analyze more than 300 rules about alerts and warnings Code Inspector’s rules -called to obtain Code Metrics and analyze more than 40 rules about Standards, Security, Performances and even HANA readiness Custom Check rules –can be plugged into Code Inspector without modification to the standard
  • 17. 17 Agenda ABAP Test Cockpit Integration in Lifecycle Management
  • 18. 18 Code Inspector -Scan Engine ABAP Test Cockpit The Powerful enterprise-ready tool to perform static program analysis of Custom ABAP Code (based on Code Inspector). Installation Included in SAP standard since SAP ECC 6.0 EhP6
  • 19. 19 Code Inspector -Scan Engine Enhance Code Inspector with: Superior integration with ABAP Workbench (even ABAP in Eclipse) and Software Lifecycle (Change Request) Landscape awareness that support result distribution from QAS to DEV Superior User Interface that supports filtersand statistics Re-check Powerful out-of-the box exemptions workflow (“4 eyes”) that helps conveniently suppressing “false-positives” findings Ten time faster scanning engine thanks to the ABAP Parallel Processing Customizable “Messages” priority
  • 20. 20 ABAP Test Cockpit -Integration in Lifecycle Management All configuration and settings about ABAP Test Cockpit are accessible via the transaction code ATC
  • 21. 21 ABAP Test Cockpit is integrated in transaction /nSE80, SE38, SE37 … Developerscan execute ATC Inspections as much time as they like contextually with their workflow process ABAP Test Cockpit -Integration in Lifecycle Management
  • 22. 22 ABAP Test Cockpit is integrated in transaction /nSE80 -Repository Browser Developerscan execute ATC Inspections on the selected set of objects (e.g. Package) ABAP Test Cockpit -Integration in Lifecycle Management Drag and Drop to add object!
  • 23. 23 ABAP Test Cockpit -Integration in Lifecycle Management Developerscan access by a specific perspective all the ATC runs done and can browse the results in detail.
  • 24. 24 ABAP Test Cockpit is integrated in transaction /nSE80 –Transport Organizer Before releasing to QAS or just to monitor the deliverables, Team Leaders and Project Managers can execute ATC Inspections on the selected Change Request ABAP Test Cockpit -Integration in Lifecycle Management
  • 25. 25 ABAP Test Cockpit is integrated in ABAP in Eclipse (ADT) too ABAP Test Cockpit -Integration in Lifecycle Management
  • 26. 26 ABAP Test Cockpit results are well presented to the developer ABAP Test Cockpit -Integration in Lifecycle Management
  • 27. 27 Agenda Doctor ZedGeHard!Code (Community Edition)
  • 28. 28 Code Inspector -Scan Engine Doctor ZedGe-Hard!Code A free tool to improve your Custom ABAP Code and save money during your next rollouts. It’s a new rule plugged into the Code Inspector to find hard code business values. Installation Available free-of-charge and installable via Copy & Paste into SAP ECC 6.0 EhP6 or above SCN Blogs STOP filling your ABAP with Business hard coding Doctor ZedGe-Hard!Code-a free Code Inspector rule
  • 29. 29 The unique static code check developed by Techedge highlights usage of Business related Hard-coding Doctor ZedGe-Hard!Code–a new rule plugged into the Scan Engine Hard Code Company Code Company Code relatedhard code valuenotfoundin company code matserdata, so theycouldbe partialstring(«IT*»)
  • 30. 30 SAP standard never uses business related Hard-coding, customers does even too much. Probably SAP does not image how much this “Anti-pattern”is popular and dangerous, we do ! Doctor ZedGe-Hard!Code–a new rule plugged into the Scan Engine
  • 31. 31 METHOD busab_mandatoryapplies a specific business rule for the hard-coded set of company codes Who will remember to add the company code of the next roll-out? How much debug, and how many Change Requests and approvals will be required? Doctor ZedGe-Hard!Code–a new rule plugged into the Scan Engine
  • 32. 32 METHOD address_controls_inapplies a specific business rule company codes starting with IN (India ?) Who will remember to add the next Indian company ? Doctor ZedGe-Hard!Code–a new rule plugged into the Scan Engine
  • 33. 33 ABAP Static Code Analysis & Tools Analysis Dashboard Integration in Lifecycle Management Scan Engine Code Inspector ATC Business Hard!CodeFinder
  • 35. 35 Code Inspector -Scan Engine Doctor ZedGe A new product that enhance ABAP Test Cockpit presenting results in beautiful and simply MS Excel reports designed for different PERSONA and adding Indexes like Quality and Maintainability. Installation Starting from SAP ECC 6.0 EhP6 (SAP BASIS 7.31 SP05) Limited number of ABAP objects in the namespace Z3TG_DZG that can be imported in DEV and QAS via a simple Change Request
  • 36. 36 Idea Simplify ATC results! Combine metrics with violations to compute different ratios, combine indicators via formulas aggregate and generate nice looking dashboard
  • 37. 37 Idea Simplify ATC results! Combine metrics with violations to compute different ratios, combine indicators via formulas aggregate and generate nice looking dashboard Evaluations are proposed in nice looking MS Excel files generated via abap2xlsx
  • 38. 38 Doctor ZedGe-Analysis Doctor ZedGeis specifically designed for real-life scenarios to assist the different “Persona” Developers Team Leaders Quality Assurance Managers Project Managers AMS
  • 39. 39 Doctor ZedGe-Analysis Queries developed by Techedge aggregates ATC raw data in the best format for each “Persona” (Business Role)
  • 40. 40 Doctor ZedGe-Analysis [Persona: DEVELOPER] For each processing block (e.g. FORM, METHOD, FUNCTION), the Software Analytics can highlight number of statements, Maintainability Index and Cyclomatic2 complexity index. Developers are motivated to adopt modularization via refectory activities.
  • 41. 41 Doctor ZedGe-Analysis [Persona: DEVELOPER] For each processing block (e.g. FORM, METHOD, FUNCTION), the Software Analytics can highlight number of statements, Maintainability Index and Cyclomatic2 complexity index. Developers are motivated to adopt modularization via refectory activities. MaintainabilityIndex The aim of the MI is to determine how easy it will be to maintain a particular body of code Designed at the University of Idaho in 1991 by Oman and Hagemeisterand validated in the field by Hewlett Packard in a fairly extensive trial 푴푰=ퟏퟕퟏ−ퟑ,ퟒퟐln(푽)−ퟎ,ퟐퟑ푮−ퟏퟔ,ퟐln(푳푶푪) V =Halstead Volume G =Cyclomatic Complexity LOC =count of source Lines Of Code (SLOC)
  • 42. 42 Doctor ZedGe-Analysis [Persona: DEVELOPER] For each processing block (e.g. FORM, METHOD, FUNCTION), the Software Analytics can highlight number of statements, Maintainability Index and Cyclomatic2 complexity index. Developers are motivated to adopt modularization via refectory activities. Cyclomatic Complexity Cyclomatic complexity(orconditional complexity) is a software metric (measurement). It was developed by Thomas J. McCabe, Sr. in 1976 and is used to indicate the complexity of a program. It directly measures: •the number of linearly independent paths through a program's source code. •the number of test cases that are necessary to cover all path
  • 43. 43 Doctor ZedGe–Analysis [Persona: PM, TEAM LEADER] With ATC runs against Change Requests, Team Leaders and Project managers can monitor real progress (number of objects) and investigate about exceptions (e.g. higher MI, Cyclomatic2, lineCount-lower English comments ratio –any quality or metric Indexes)
  • 44. 44 Doctor ZedGe-Analysis Here how Change Requests to be approved by PM, QM and AMS look like
  • 45. 45 Doctor ZedGe-Analysis Here how Change Requests to be approved by PM, QM and AMS look like
  • 46. 46 Doctor ZedGe–Analysis [Persona: SYSTEM OWNER, QUALITY MANAGER] System owner, can weekly (at the CAB) discuss about trends impacting custom ABAP quality and in case launch new initiatives to address exceptions AFTER BEFORE Periodic external certifications can be very useful to audit behaviors of the different internal teams as well as those of the different suppliers
  • 47. 47 Doctor ZedGe–Analysis [Persona: AMS OWNER] During Hand-over and Knowledge Transfer (KT) phases, AMS owners can get a clear picture of the incomingsoftware metrics and violations figures running the Techedge Software Analytics against the project Change Requests (or ChaRMdocuments)
  • 48. 48 Marketing and Sales Doctor ZedGeis used internally in TechegedeGroup to prove the quality of our projects and solutions
  • 49. 49 Doctor ZedGe-Analysis Limitations of current release Historical data are not stored and simple trend analysis are possible comparing the weekly MS Excel reports Integration with SAP Solution Manager ChaRMis productive on customer sites but yet to be generalized Integration with SAP Solution Manager CCLM is currently under evaluation In add, sinceDoctor ZedGe-Hard!Codeleverages the power of ABAP Test Cockpit and Code Inspector, it also suffers of the same known limitations: it works only on workbench objects belonging to a custom main object. It can analyze BADIs and Customer Exits (CMOD) but cannot analyze ABAP code contained in user-exits includes (es. SAPMV45A is a SAP standard object thus MV45FZ01 cannot be analyzed that as from Best Practices should just call custom Customer Exits FUNCTION MODULEs or custom BADIs) it works on PROGRAMs (PROG), FUNCTION MODULEs (FUGR) and CLASSEs (CLASS) but not on SAPScriptsand SMARTForms.
  • 50. 50 Doctor ZedGe-Analysis Current Release -ALV -XSLX Download -XLSX via Mail to (distribution list, user or email address) -Customizable threshold parameters used in the score and metrics calculation -ATC Exemptions evaluation -Storing in the INDX Data Base of the last analysis results -“Skip standard Include” option -Findings2XSLX Next Release -SAPUI5 Dashboard UI -SAPUI5 Trend Analysis -SAP CRM Hard!CodeSupport -Integration with SAP Solution Manager ChaRM -SAP SRM Hard!CodeSupport -SAP BW Hard!CodeSupport
  • 52. 52 And don’t miss … https://twitter.com/doctorzedge https://www.facebook.com/doctorzedge