Die Präsentation wird geladen. Bitte warten

Die Präsentation wird geladen. Bitte warten

Chapter 2 – Tools in the development environment

Ähnliche Präsentationen


Präsentation zum Thema: "Chapter 2 – Tools in the development environment"—  Präsentation transkript:

1 Chapter 2 – Tools in the development environment
ABAP Course Chapter 2 – Tools in the development environment Lecturer: André Bögelsack, UCC Technische Universität München Author: Valentin Nicolescu, André Bögelsack

2 Copyright 2008 UCC TU München All rights reserved
Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrückliche schriftliche Genehmigung durch HCC TU München nicht gestattet. In dieser Publikation enthaltene Informationen können ohne vorherige Ankündigung geändert werden. Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® und SQL Server® sind eingetragene Marken der Microsoft Corporation. IBM®, DB2®, OS/2®, DB2/6000®, Parallel Sysplex®, MVS/ESA®, RS/6000®, AIX®, S/390®, AS/400®, OS/390® und OS/400® sind eingetragene Marken der IBM Corporation. ORACLE® ist eine eingetragene Marke der ORACLE Corporation. INFORMIX®-OnLine for SAP und Informix® Dynamic ServerTM sind eingetragene Marken der Informix Software Incorporated.  UNIX®, X/Open®, OSF/1® und Motif® sind eingetragene Marken der Open Group. Citrix®, das Citrix-Logo, ICA®, Program Neighborhood®, MetaFrame®, WinFrame®, VideoFrame®, MultiWin® und andere hier erwähnte Namen von Citrix-Produkten sind Marken von Citrix Systems, Inc. HTML, DHTML, XML, XHTML sind Marken oder eingetragene Marken des W3C®, World Wide Web Consortium, Massachusetts Institute of Technology.   JAVA® ist eine eingetragene Marke der Sun Microsystems, Inc. JAVASCRIPT® ist eine eingetragene Marke der Sun Microsystems, Inc., verwendet unter der Lizenz der von Netscape entwickelten und implementierten Technologie.   SAP, SAP Logo, R/2, RIVA, R/3, SAP ArchiveLink, SAP Business Workflow, WebFlow, SAP EarlyWatch, BAPI, SAPPHIRE, Management Cockpit, mySAP, mySAP.com und weitere im Text erwähnte SAP-Produkte und -Dienstleistungen sowie die entsprechenden Logos sind Marken oder eingetragene Marken der SAP AG in Deutschland und anderen Ländern weltweit. MarketSet und Enterprise Buyer sind gemeinsame Marken von SAP Markets und Commerce One. Alle anderen Namen von Produkten und Dienstleistungen sind Marken der jeweiligen Firmen. Die Verwendung der Screenshots wurde mit dem jeweiligen Eigner abgesprochen.

3 Agenda Development tools in SAP Usage of the Object Navigator
Concepts and tools

4 Development tools in SAP
 Every tool can be accessed in Object Navigator

5 ABAP editor Menu path Tools • ABAP workbench • Development • ABAP Editor Transaction code: SE38 Run, view, edit, activate, check ABAP code Integrated into Object Navigator

6 Function Builder / Class Builder
Menu path Tools • ABAP workbench • Development • Function Builder (SE37) Create and edit function modules / groups Will be used in chapter 3 Class Builder: Menu path Tools • ABAP workbench • Development • Class Builder (SE24) Create and edit new global classes Will be used in chapter 8

7 Screen Painter / Menu Painter
Menu path Tools • ABAP workbench • Development • User Interface • Screen Painter (SE51) Create and edit DynPro’s Separate programs which is only installed when using SAPGui for Windows Will be used in chapter 6 Menu Painter: Menu path Tools • ABAP workbench • Development • User Interface • Menu Painter (SE41) Create, edit menu’s, header's and toolbar’s in ABAP programs

8 Debugger Debugger: Execution of ABAP program step-by-step
Variable values during runtime Breakpoint: program execution will be paused when getting to breakpoint Watchpoint: program execution is paused only when variable has defined value Debugging can be activated by suffix /h Test program: Program • Test • Debugging

9 Object Navigator Object Navigator integrates all development tools
Toolbar (context sensitive) Browsers (independent) Working space (context sensitive) Navigation tree (independent)

10 Toolbar in ABAP Editor Navigation (similiar to any browser)
Switch between view edit mode Switch between active / inactive version Other object Check, activate, Test programs Where-used list Display Object list Display Navigation Window Fullscreen Help on… Set breakpoint at position Uses a patter Launches Pretty Priter

11 The pattern button Pattern:
Calling big functions with a lot of importing and exporting parameters may be fault-prone Procedure: Navigate to the position where the function should be called Click the ‘Pattern’ button Choose the ABAP instruction Choose parameters

12 The Pretty Printer Pretty Printer formats your source code
Settings can be adjusted via Utilities • Settings • ABAP Editor tab • Pretty Printer tab Pretty Printer supports indent, keyword conversion upper-/lowercase

13 Other features of the Object Navigator
Versioning: use different versions of your program Create documentation for you program via Goto • Documentation Auto completion, auto correction during programming Save and load source code to/from text files, search, copy, paste, undo, redo

14 Terminate program Long running programs may decrease the system performance Sometimes infinite loops Termination of long running dialog program: Click on SAP icon Choose ‘Stop Transaction’

15 Forward navigation Basic concept in SAP
By double clicking on an object the SAP system jumps to the object or to the position where the object can be created Example: in SAP Gui choose menu path: System • Status  double click on Program(GUI)


Herunterladen ppt "Chapter 2 – Tools in the development environment"

Ähnliche Präsentationen


Google-Anzeigen