Post on 14-Oct-2015
description
Boris Gebhardt / SAP AG, Ekaterina Zavozina / SAP AG October / November, 2012
CD101
The Brand-New ABAP Test Cockpit A New Level of ABAP Quality Assurance
2012 SAP AG. All rights reserved. 2
Disclaimer
This presentation outlines our general product direction and should not be relied on in making a
purchase decision. This presentation is not subject to your license agreement or any other agreement
with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or to
develop or release any functionality mentioned in this presentation. This presentation and SAP's
strategy and possible future developments are subject to change and may be changed by SAP at any
time for any reason without notice. This document is provided without a warranty of any kind, either
express or implied, including but not limited to, the implied warranties of merchantability, fitness for a
particular purpose, or non-infringement. SAP assumes no responsibility for errors or omissions in this
document, except if such damages were caused by SAP intentionally or grossly negligent.
2012 SAP AG. All rights reserved. 3
SAP NetWeaver Application Server ABAP Empowering classic & new SAP products
50.000+ customers of ABAP-based products
Millions of ABAP developers, SCN as community
A thriving partner ecosystem
Proven, robust and scalable
Extends into HANA, Mobility and Cloud
Evolves continuously w/o disruption
Enables hybrid on-premise/on-demand scenarios
SAP NetWeaver Application Server ABAP, a strong pillar In SAPs product strategy
HANA
MOBILITY
CLO
UD
SAP NetWeaver in 2013
SAP NetWeaver
Application
Server ABAP
2012 SAP AG. All rights reserved. 4
Agenda
Motivation
Why is ABAP quality essential? What is the impact on your business?
Quality assurance of custom ABAP code
Status quo: What are customers doing to assure high quality of custom code today?
Target picture: Lets build together a perfect world target picture
ABAP Test Cockpit (ATC)
What is it and what is the background/history of ATC?
Demo of ATC
Q&A
Motivation
2012 SAP AG. All rights reserved. 6
A lot of code (e.g.100.000+ programs)
Really old code (decades!)
Code comes from service providers,
in house developers, consultants,
The code is essential for your
key business processes,
Custom ABAP code
2012 SAP AG. All rights reserved. 7
Why is ABAP quality essential?
What is the impact on your business?
Quality Assurance of Custom
ABAP Code
2012 SAP AG. All rights reserved. 9
Status quo: What are customers doing to assure high quality of
custom code today?
Test DEV Production
Plus guidelines, Q reporting, Manual tests
2012 SAP AG. All rights reserved. 10
Target picture:
Lets build together a perfect world target picture
2012 SAP AG. All rights reserved. 11
Target picture: Lets build together a perfect world target picture Step 1: Enrich the toolset of the developers
DEV
Manual tests
Acceptance and support of developers is key!
Static Checks
Unit Tests
2012 SAP AG. All rights reserved. 12
Target picture: Lets build together a perfect world target picture Step 2: Automate and block faulty transports
DEV
Periodic regression runs Static Checks
Manual tests
Unit Tests
Q-Gate:
Check during
transport release
2012 SAP AG. All rights reserved. 13
Target picture: Lets build together a perfect world target picture Step 3: Sleep well safety net and a central Q gate
DEV Test Q-Gate:
Check during
transport release
Q-Gate:
Mass regression
run OK
Mass regression
runs
2012 SAP AG. All rights reserved. 14
Target picture: Lets build together a perfect world target picture Summary
Development System 1
Consolidation System
Development System 2
Q-experts run mass checks and distribute the results
i Use ONE quality standard for Q-Gates
Developer run static/unit/scenario tests on their objects
Periodic check runs to validate the code of a development team
Q-Gate:
Check during
transport release
Q-Gate:
Check during
transport release
Q-Gate:
Mass check run and
consolidation test
2012 SAP AG. All rights reserved. 15
Target picture: Lets build together a perfect world target picture Scale it and do your reporting
Development
System 1
Development
System 2
Consolidation
System 1
Development
System 3
Development
System 4
Consolidation
System 2
Development
System 5
Development
System 6
Consolidation
System 3
Q-Governance: Monitors the quality of development areas and defines the quality standard
BI system for reporting:
Aggregates all mass
test runs
ABAP Test Cockpit
2012 SAP AG. All rights reserved. 17
ABAP Test Cockpit: What is it and what is the background/history?
ATC is the standard ABAP check frame work at SAP (for ERP, CRM, SCM, NetWeaver, ...)
ATC has been piloted successfully with two big customers with a lot of custom code
ATC customer version has been developed together with three big customers, who
reviewed the product after each development takt
2012 SAP AG. All rights reserved. 18
ABAP Test Cockpit: What is it and what is the background/history?
SAP plans to release ATC for customers with:
SAP EhP 2 for SAP NetWeaver 7.0 Support Package 12
planned RTC = 14.09.2012
SAP NetWeaver AS ABAP 7.03 Support Package 05
planned RTC = 22.10.2012
The customer version of ATC is based on Code Inspector
Very easy migration: Just reuse your current global Code Inspector check variant
2012 SAP AG. All rights reserved. 19
Outlook: ABAP security code scan tool
The Extended Program Check (SLIN) enhanced with security checks, with the ATC as
framework, serves as SAPs ABAP security code scan tool. The tool is being enhanced for the use of customers to scan customer coding, and will be available earliest by 2013.
Integrates tightly into developer workbench and transport tools, along with instant navigation, documentation and fix recommendation
Supports quality management processes like quality gates, regression testing and exemption handling
Developed by the ABAP Language Group, synchronous with latest ABAP developments
Incorporates input from various channels such as international security standards (OWASP, CWE), SAPs product security requirements, SAPs security response process, development programs and task forces.
PLANNED INNOVATIONS
Demo ABAP Test Cockpit: Does it cover our target picture?
2012 SAP AG. All rights reserved. 21
ATC developer role
Development System 1
Consolidation System
Development System 2
Q-experts run mass checks and distribute the results
Q-Gate
Q-Gate
Q-Gate
2012 SAP AG. All rights reserved. 22
Summary I - ATC developer role
ATC Features
Start ATC within different ABAP workbench tools: SE80, SE24, SE38, SE11
ATC automatically runs during release of transport requests
Easy access to central ATC results in the development systems
User-centric display of ATC results - incl. powerful filter, navigation, re-check
Checks code during development and transport release
Corrects bugs
Requests exemptions for false-positives
2012 SAP AG. All rights reserved. 23
ATC quality expert and administrator roles
Development System 1
Consolidation System
Development System 2
Q-experts run mass checks and distribute the results
Q-Gate
Q-Gate
Q-Gate
2012 SAP AG. All rights reserved. 24
Summary II - ATC quality expert role
ATC Features
Exemption approval process
E-mail ATC result to responsible contact person
Statistics showing aggregation of ATC findings using different criteria
Execution of ABAP Unit tests
Defines commonly used check variant
Monitors quality of the whole code base
Appoves exemptions
2012 SAP AG. All rights reserved. 25
Planned ATC integration in SAP Solution Manager
ATC results from different systems can be
viewed centrally from Solution Manager
Drill down results by User and Package
Overview of Open exemptions from different consolidation systems
Navigation from Solution Manager to managed
system to access exemptions
Planned to be released with SAP Solution
Manager 7.1 SP08
i For further information, please attend the following Tech Ed 2012 courses:
ALM 220: Revitalizing Your Custom Code Strategy Professionally
ALM 270: Coding Back to the Standard with Custom Code Management
2012 SAP AG. All rights reserved. 26
Summary III - ATC administrator role
ATC Features
Powerful parallelization engine to run mass tests very effectively
Restart capability in case of a canceled/crashed ATC run
Possibility to schedule regular ATC runs
Powerful monitoring tool and flexible logging
Distribute ATC results to multiple target systems (e.g. from consolidation to dev. systems)
Configures ATC in development and consolidation systems
Monitors execution of ATC check runs and regular jobs
2012 SAP AG. All rights reserved. 27
Further Information
SAP Public Web
scn.sap.com
www.sap.com
Watch SAP TechEd Online
www.sapteched.com/online
Related Workshops/Lectures at SAP TechEd 2012
CD265, ABAP Test and Troubleshooting Tools Including New ABAP Test Cockpit, Hands-on (4hr)
ALM220, Revitalizing Your Custom Code Strategy Professionally, Lecture (1hr)
ALM270, Code Back to Standard with Custom Code Management, Hands-on (2hr)
CD164, Modern ABAP with ABAP Development Tools for Eclipse, Hands-on (4hr)
CD201, ABAP Development Tools for Eclipse Develop Like Never Before, Lecture (1hr)
Feedback Please complete your session evaluation for CD101.
Thanks for attending this SAP TechEd session.
2012 SAP AG. All rights reserved. 29
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express
permission of SAP AG. The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of
other software vendors.
Microsoft, Windows, Excel, Outlook, PowerPoint, Silverlight, and Visual Studio are registered trademarks of
Microsoft Corporation.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System
z10, z10, z/VM, z/OS, OS/390, zEnterprise, PowerVM, Power Architecture, Power Systems, POWER7,
POWER6+, POWER6, POWER, PowerHA, pureScale, PowerPC, BladeCenter, System Storage, Storwize,
XIV, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, AIX, Intelligent Miner, WebSphere,
Tivoli, Informix, and Smarter Planet are trademarks or registered trademarks of IBM Corporation.
Linux is the registered trademark of Linus Torvalds in the United States and other countries.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are trademarks or registered trademarks of Adobe
Systems Incorporated in the United States and other countries.
Oracle and Java are registered trademarks of Oracle and its affiliates.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or
registered trademarks of Citrix Systems Inc.
HTML, XML, XHTML, and W3C are trademarks or registered trademarks of W3C, World Wide Web
Consortium, Massachusetts Institute of Technology.
Apple, App Store, iBooks, iPad, iPhone, iPhoto, iPod, iTunes, Multi-Touch, Objective-C, Retina, Safari, Siri,
and Xcode are trademarks or registered trademarks of Apple Inc.
IOS is a registered trademark of Cisco Systems Inc.
RIM, BlackBerry, BBM, BlackBerry Curve, BlackBerry Bold, BlackBerry Pearl, BlackBerry Torch, BlackBerry
Storm, BlackBerry Storm2, BlackBerry PlayBook, and BlackBerry App World are trademarks or registered
trademarks of Research in Motion Limited.
2012 SAP AG. All rights reserved.
Google App Engine, Google Apps, Google Checkout, Google Data API, Google Maps, Google Mobile Ads,
Google Mobile Updater, Google Mobile, Google Store, Google Sync, Google Updater, Google Voice,
Google Mail, Gmail, YouTube, Dalvik and Android are trademarks or registered trademarks of Google Inc.
INTERMEC is a registered trademark of Intermec Technologies Corporation.
Wi-Fi is a registered trademark of Wi-Fi Alliance.
Bluetooth is a registered trademark of Bluetooth SIG Inc.
Motorola is a registered trademark of Motorola Trademark Holdings LLC.
Computop is a registered trademark of Computop Wirtschaftsinformatik GmbH.
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, StreamWork,
SAP HANA, and other SAP products and services mentioned herein as well as their respective logos are
trademarks or registered trademarks of SAP AG in Germany and other countries.
Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web
Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their
respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects
is an SAP company.
Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other Sybase products and services
mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase Inc.
Sybase is an SAP company.
Crossgate, m@gic EDDY, B2B 360, and B2B 360 Services are registered trademarks of Crossgate AG in Germany and other countries. Crossgate is an SAP company.
All other product and service names mentioned are the trademarks of their respective companies. Data
contained in this document serves informational purposes only. National product specifications may vary.
The information in this document is proprietary to SAP. No part of this document may be reproduced, copied,
or transmitted in any form or for any purpose without the express prior written permission of SAP AG.