This action might not be possible to undo. Are you sure you want to continue?
Enhancing ABAP Development Tools in Eclipse
Michael Schneider, Thomas Schulze zur Wiesch, Niko Faradouris, Albrecht Gass October, 2012
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.
We will talk about… …the new ABAP Development Tools for SAP NetWeaver built on Eclipse …our plans to make ABAP Development Tools (ADT) extensible …how you can benefit from this extensibility
© 2012 SAP AG. All rights reserved.
What are ABAP Development Tools for SAP NetWeaver built on Eclipse? .
Demo ABAP Development Tools for SAP NetWeaver .
6 .ABAP Development Tools at TechEd 2012 CD201: ABAP Development Tools for Eclipse – Develop Like Never Before Overview lecture about ABAP Development Tools (1h) CD164: Modern ABAP with ABAP Development Tools for Eclipse Use ABAP Development Tools in a hands-on workshop (4h) ABAP Development Tools in Eclipse Q&A-session (1h) © 2012 SAP AG. All rights reserved.
How can you get it? .
Supported SAP NetWeaver releases Minimum SAP NetWeaver releases are SAP NetWeaver 7.3 including Enhancement Package 1 Support Package Stack 04 [NW 7.0 including Enhancement Package 3 Support Package Stack 04 [NW 7.31 SP04] SAP NetWeaver 7. 8 .03 © 2012 SAP AG.31/7.03 SP04] Debug support A new kernel version is planned which is compatible to NetWeaver 7. All rights reserved.
31/7. All rights reserved.Download locations SAP NetWeaver 7. 9 .03 customers Download from SAP Service Marketplace For further information Read SAP Note 1718399 Try the trial version Download from SAP Community Network (SCN) For further information Visit the ABAP in Eclipse community in SCN © 2012 SAP AG.
Why does SAP invest into ABAP Development Tools for Eclipse? .
000+ customers of ABAP-based products MOBILITY SAP NetWeaver in 2013 • Millions of ABAP developers. SCN as community • A thriving Partner Ecosystem • Proven. 11 . Cloud and HANA • Evolves compatibly under SAP Business Suite 7 • Enables On-Premise/On-Demand hybrid scenarios HANA SAP NetWeaver Application Server ABAP. Robust and scalable CLOUD SAP NetWeaver Application Server ABAP • Extends into Mobility. A Strong Pillar In SAP’s Product Strategy © 2012 SAP AG. All rights reserved.SAP NetWeaver Application Server ABAP Empowering Classic & New SAP Products SAP’s Basis Technology For Transactional Business Applications • 50.
Goals for new ABAP Development Tools Increased developer productivity One IDE for all technologies Extensible development tools © 2012 SAP AG. All rights reserved. 12 .
C++.Reasons for using Eclipse Eclipse is an … … modern integrated development environment (IDE) … extensible plug-in system Many plug-ins are available supporting … … different programming languages like Java. 13 . PHP … development processes like plug-ins for source code management systems or code analysis Eclipse allows to run many plug-ins integrated in one instance © 2012 SAP AG. All rights reserved.
Why do we need extensible ABAP Development Tools? .
All rights reserved.SAP-internal use cases Extended ABAP code search Code inspections Clone detection in source code SAP UI Development Toolkit for HTML5 … © 2012 SAP AG. 15 .
Mannheim. 16 . Germany SAP Mentors © 2012 SAP AG. All rights reserved.External use cases Partners and ABAP community showed interest in extending ABAP Development Tools SAP started pilot projects to get feedback on a first version of the Software Development Kit (SDK) for ABAP Development Tools Pilots are smartShift.
What is the pilot project with smartShift about? .
Kimberly Clark. IBM. Commerzbank. Higher Quality. Exxon. BASF. BP. etc.g. Linde. Twitter (@smartShift_CTE) © 2012 SAP AG. • Leading system integrators such as Accenture. BMW. info@smartshiftgroup. EON.smartShift Overview • Global software and services company • More than 19 years experience in the IT-Modernization market • Patented and proven automation software and methodologies • • • • Headquartered in Mannheim (Germany) Member of Cambridge Technology Enterprises (500+ employees) SAP division 100+ employees in Germany. All rights reserved. Capgemini.com. 18 . Clariant. and SAP rely on smartShift • smartShift value: Much Faster.com. USA and India Referenceable Global 1000 accounts – e. Reduced Risk & Lower Cost! smartShiftgroup. Shell.
.. . . .. . . .. . .. . . .. . .... . . . .. . . .. . .. . . . .. ... . . ... .. . . . ....... .. . . . . .. .. . . . . .. . . . . . . ... .. . . . .. . . . .. .. . .. Runtime Errors Stability Maintenance Tools-based automated transformation of ABAP code Performance Security Coding Standards Architecture Custom Rules . . . . .. . . . . . . . . . .. . . ... . . 19 . . .. . .. . . . . . . . . . . . . . . . . . . .. . . . .. . . .. .. .. ... . . . . . ... . . . . . . . ... . . . . . . .. . . . ... . . . . . . .. . . . . . .. .... . .. . .. . . . . . . . . . . ... . . . ... .. . .. . .. .. ... . ... .. . . . .. . . ... ... .. . . . . © 2012 SAP AG. . ... . . . . . . . . .. . . . . . . . .. . . .. . . . . . . .. . .. ... . .. . . . . . . . . .. . . . . . . . . ... . . . . . . . . . . . . .. . . . ... . . . . Unicode Pot.. . . . .. All rights reserved. . . .. .. .. . .. . . . . .. . . . . . .. . . .. . .. . ... . . . . . . . . . . .. . .. . . . .. . . . . . . . . . . ... . . . .Automated Code Remediation … Unique Value Proposition Unique parser-based analysis and metamodel Rules Engine for automated issue detection and correction Upgrade. . . . .. . ... . . . . . .. . . . .. . .. .
2014 20 . All rights reserved. Unicode Enablement.smartShift Focus on SAP smartDevelop for ADT smartDevelop smartTools for SAP Automated Upgrade. Code Optimization Automated Code Quality in ABAP Workbench Automated Code Quality in ADT 2006 2010 2012 © 2012 SAP AG.
21 . All rights reserved.smartDevelop for SAP ADT – Highlights Quick-fix and refactoring actions smartIssue integration in ABAP editor smartIssue integration in problems view © 2012 SAP AG.
smartDevelop for ABAP Development Tools
Targeted assistance via smartTool warnings Quick-fix application
smartDevelop for SAP ADT – Benefits
smartDevelop plug-in for ADT contributes in • Speed up of development • Adherence to best coding practices • Compliance to corporate coding and naming conventions • Ensures performant and secure coding smartDevelop contains rules that come in two flavors • Warnings to the developer • Hot fixes in code
Expansive rule sets • Rule set is continuously extended • Customizable to customer requirements
© 2012 SAP AG. All rights reserved. 23
What is the pilot project with the SAP Mentors about?
Jan Penninkhof.org/ © 2012 SAP AG. 25 . Abdulbasıt Gülşen. All rights reserved. Uwe Fetzer. Gregor Wolf Visit the SAPlink project for further information http://saplink.SAPlink for ABAP Development Tools SAPlink for ABAP Development Tools brings ease of use to SAP Code Exchange developers Functionality covered by the SAPlink plug-in: Import development objects from Code Exchange to your ABAP system Export development objects from your ABAP system to Code Exchange Install SAPlink in your ABAP system Implemented by SAP Mentor group Ivan Femia.
Which APIs are used by the pilots? .
27 . All rights reserved.Architecture of ABAP Development Tools for SAP NetWeaver © 2012 SAP AG.
All rights reserved.Architecture of ABAP Development Tools for SAP NetWeaver © 2012 SAP AG. 28 .
APIs used by smartShift Extend menus and actions (1) Check a development object for errors (2) 3 Access Files (3) Read source code Create marker (4) Add warnings Open editor (5) … 2 4 5 1 © 2012 SAP AG. 29 . All rights reserved.
execute program Extend menus and actions (5) Reuse dialogs (6) Project and package selection … © 2012 SAP AG. All rights reserved.APIs used by SAPlink Use Resource Framework Build own resources (1). 30 6 5 2 3 4 1 . send backend requests (2) Retrieving server capabilities (3) API for ABAP programs (4) Create. activate.
How can you benefit from the SDK? .
32 .ABAP Developers: Make your life easier Example: Automate time-consuming steps of your development process A view integrated in the IDE that Shows information about your development processes Shows information about your development landscape Runs your helper programs in the backend to start processes Example: Developer view of the ADT development team © 2012 SAP AG. All rights reserved.
000+ customers. Millions of ABAP developers © 2012 SAP AG. 33 . All rights reserved.Partners: Integrate your products in ABAP Development Tools Integrate your tools by using the SDK Become part of SAP„s IDE Increase developer productivity Address the market of SAP NetWeaver Application Server ABAP 50.
now? .What can you do.
com) © 2012 SAP AG.firstname.lastname@example.org/community/abap/eclipse/blog/2012/08/27/abap-development-tools-sdk Contact product management for ABAP Development Tools Send a mail to Christopher Kästner (mailto:christopher. 35 .Let’s talk about your ideas Discuss your ideas with the ABAP-in-Eclipse-community http://scn. All rights reserved.
36 . All rights reserved.com/community/abap/eclipse/blog/2012/08/27/abap-development-tools-sdk © 2012 SAP AG.Explore documents about the SDK First documents about the SDK Overview document about the SDK Examples how to use the SDK Find this information in the ABAP-in-Eclipse-community http://scn.sap.
All rights reserved. All used APIs can be changed until they are released © 2012 SAP AG. 37 .org/ *) The current implementation is still based on not released APIs.Experiment Take a look at the implementation of SAPlink for ABAP Development Tools How do SAP Mentors extend the ABAP Development Tools? Which APIs* do they use? How do they implement own resources? The source code will be published on http://saplink.
What is SAP’s roadmap for the SDK? .
All rights reserved.Roadmap for the SDK for ABAP Development Tools Next SAP NetWeaver release: Planned shipment of the SDK SAP TechEd 2012 Piloting the SDK Applying your feedback Explore documents and experiment Extending the SDK Build your plug-ins © 2012 SAP AG. 39 .
Planned pricing for the SDK No additional licenses are required If you already own an appropriate license bundle for ABAP development on SAP NetWeaver Additional options with costs Certification of your plug-ins by SAP Integration and Certification Center Contract to promote your tool in SAP Store © 2012 SAP AG. 40 . All rights reserved.
All rights reserved.Summary ABAP Development Tools for Eclipse are available ABAP Development Tools for Eclipse will be extensible You can contribute © 2012 SAP AG. 41 .
sap. All rights reserved.com/docs/DOC-29607 http://www.Further Information SAP Public Web http://scn.com/online © 2012 SAP AG.youtube.com/watch?v=BXg7xXrEAUw SAP Education and Certification Opportunities www.sapteched.sap.com/education Watch SAP TechEd Online www.sap. 42 .com/community/abap/eclipse http://scn.
email@example.com@sap.com Niko Faradouris smartShift niko.com Thomas Schulze zur Wiesch SAP thomas.Feedback Please complete your session evaluation for CD206 Contact information: Michael Schneider SAP micha.com Thanks for attending this SAP TechEd session.de Albrecht Gass smartShift firstname.lastname@example.org@smartshiftgroup. .
All rights reserved.Appendix 1) ABAP Development Tools for SAP NetWeaver – screen shots 2) smartShift architecture 3) smartDevelop for ADT – tool details and screen shots © 2012 SAP AG. 44 .
1. 45 .1 ABAP Development Tools for SAP NetWeaver © 2012 SAP AG. All rights reserved.
46 .1.2 Multiple system connections in one IDE © 2012 SAP AG. All rights reserved.
All rights reserved.1. 47 .3 Powerful search and navigation capabilities © 2012 SAP AG.
All rights reserved.1. 48 .4 Advanced source code editing & refactoring © 2012 SAP AG.
1 smartTools for SAP – Standalone Architecture GUI Batch Execution Environment Transformer SAP AS ABAP Resolver Parser Data Store JCO RFC Meta Model CTS Source Repository DDIC © 2012 SAP AG. All rights reserved.2. 49 .
50 . All rights reserved.2 smartTools for SAP – Standalone Architecture © 2012 SAP AG.2.
51 .2. All rights reserved.3 smartDevelop for SAP – Integrated Architecture ABAP Workbench Execution Environment Transformer Meta Model Parser Data Store Resolver JCO RFC JCO smartDevelop Front-end SAP AS ABAP CTS Source Repository DDIC RFC © 2012 SAP AG.
52 .4 smartDevelop for SAP – Integrated Architecture © 2012 SAP AG.2. All rights reserved.
5 smartDevelop for SAP ADT – Architecture with ADT Integration smartDevelop UI Contributions smartDevelop Frontend Services ADT UI ADT Frontend Services SAP ADT in Eclipse Runtime REST HTTP via RFC ADT Backend Services SAP AS ABAP Execution Environment Transformer Meta Model Parser Resolver JCO RFC JCO RFC CTS Source Repository DDIC © 2012 SAP AG. All rights reserved.2. 53 .
54 . All rights reserved.3.1 smartDevelop for SAP ADT – Implementation Steps Introduce communication layer to use ADT provided services instead of direct RFC calls • Exchangeable communication layer also enables use of core within “old” environment without modifications UI Contributions • Menu buttons • Markers in editor Remove Dependencies to data store Re-organize Plug-In structure of core plug-ins for reasonable deployment Take care of “semantic” differences between direct RFC calls and communication via ADT © 2012 SAP AG.
3.. All rights reserved.Accessing the table entries directly in a "LOOP . 55 . Rule application • Scans code edited for „LOOP AT … INTO wa“ patterns • Displays warning and offers a quick fix if possible • User confirms hot fix application • Code is edited accordingly © 2012 SAP AG.." accelerates the task of updating a set of lines of an internal table considerably..2 Example of a quick fix Performance enhancement • From the performance rule set of smartTools for ABAP • According to SAP® . ASSIGNING .. Especially if inner tables must not be moved the speed-up is high.
3 Example of a quick fix – before © 2012 SAP AG. 56 . All rights reserved.3.
3.4 Example of a quick fix – after © 2012 SAP AG. 57 . All rights reserved.
3. All rights reserved. • Warnings in lower pane All rules can be configured as warnings Examples • Naming standards (default: SAP recommendations) • Dashes in names (legacy code) © 2012 SAP AG. 58 .5 Targeted assistance via smartTool warnings Developer receives feedback as • Annotation with tool-tips or.
59 . All rights reserved.3.6 Example smartTools Warnings © 2012 SAP AG.
7 Example smartTools Warnings © 2012 SAP AG. All rights reserved. 60 .3.
8 Naming standards Configurable to corporate coding guidelines Tool identifies violations Tooltip shows information about the fix © 2012 SAP AG. 61 .3. All rights reserved.
Google Mobile. or transmitted in any form or for any purpose without the express prior written permission of SAP AG. National product specifications may vary. Massachusetts Institute of Technology. iPhone. The information in this document is proprietary to SAP. All other product and service names mentioned are the trademarks of their respective companies. © 2012 SAP AG. DB2 Universal Database. All rights reserved. and Xcode are trademarks or registered trademarks of Apple Inc. Excel. PowerVM. zEnterprise. POWER7. MetaFrame. BusinessObjects. Gmail. Program Neighborhood. Bluetooth is a registered trademark of Bluetooth SIG Inc. SAP BusinessObjects Explorer. Outlook. POWER. XIV. Wi-Fi is a registered trademark of Wi-Fi Alliance. Microsoft. Objective-C. BlackBerry Torch. Citrix. RIM. iAnywhere. XHTML. pureScale. YouTube. and W3C are trademarks or registered trademarks of W3C®. and Reader are trademarks or registered trademarks of Adobe Systems Incorporated in the United States and other countries. Google Checkout. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. PostScript. PowerPC. B2B 360°. 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. System p. and Motif are registered trademarks of the Open Group. Google Data API. iPhoto. Google Apps. Power Systems. Multi-Touch. and MultiWin are trademarks or registered trademarks of Citrix Systems Inc. ByDesign. z/OS. HTML. INTERMEC is a registered trademark of Intermec Technologies Corporation. R/3. Retina. SQL Anywhere. Web Intelligence. Storwize. World Wide Web Consortium. SAP HANA. Motorola is a registered trademark of Motorola Trademark Holdings LLC. System p5. Sybase 365. BlackBerry Curve. Google Maps. Google Updater. Sybase and Adaptive Server. and other Sybase products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase Inc. PowerHA. Crystal Decisions. BladeCenter. 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. App Store. BlackBerry Storm2. WebSphere. z10. Google Voice. copied. Apple. POWER6. Google Mobile Ads. z/VM. SAP NetWeaver. Windows. and BlackBerry App World are trademarks or registered trademarks of Research in Motion Limited. SAP. Redbooks. XML. DB2. ICA. Duet. UNIX. 62 . IBM. Google Store. BBM. Google Mobile Updater. All rights reserved. RACF. System i5. Acrobat. Crystal Reports. System x. GPFS. Intelligent Miner. Google App Engine. and Smarter Planet are trademarks or registered trademarks of IBM Corporation. System Storage. Oracle and Java are registered trademarks of Oracle and its affiliates. Siri. No part of this document may be reproduced. BlackBerry Storm. Sybase is an SAP company. VideoFrame. Power Architecture. Crossgate. iPod. iTunes. Tivoli. BlackBerry Bold. Silverlight. PowerPoint. BlackBerry PlayBook. AIX. Linux is the registered trademark of Linus Torvalds in the United States and other countries. DB2 Connect. WinFrame. Data contained in this document serves informational purposes only. System z. HACMP. BlackBerry Pearl. System i. StreamWork. The information contained herein may be changed without prior notice.© 2012 SAP AG. Dalvik and Android are trademarks or registered trademarks of Google Inc. iBooks. System z10. Safari. RETAIN. Business Objects and the Business Objects logo. OS/390. Xcelsius. Crossgate is an SAP company. Computop is a registered trademark of Computop Wirtschaftsinformatik GmbH. the Adobe logo. OSF/1. Business Objects is an SAP company. Google Sync. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. X/Open. IOS is a registered trademark of Cisco Systems Inc. Adobe. m@gic EDDY. Informix. OS/2. iPad. PartnerEdge. Google Mail. and Visual Studio are registered trademarks of Microsoft Corporation. POWER6+. and B2B 360° Services are registered trademarks of Crossgate AG in Germany and other countries. BlackBerry.