Abap course chapter 2 tools in the development environment

2,326 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,326
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
257
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Abap course chapter 2 tools in the development environment

  1. 1. ABAP Course Chapter 2 – Tools in the development environmentLecturer: André Bögelsack, UCC Technische Universität MünchenAuthor: Valentin Nicolescu, André Bögelsack ABAP Course André Bögelsack, Valentin Nicolescu 1
  2. 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. ABAP Course André Bögelsack, Valentin Nicolescu 2
  3. 3. Agenda1. Development tools in SAP2. Usage of the Object Navigator3. Concepts and tools ABAP Course André Bögelsack, Valentin Nicolescu 3
  4. 4. Development tools in SAP Every tool can be accessed in Object Navigator ABAP Course André Bögelsack, Valentin Nicolescu 4
  5. 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 ABAP Course André Bögelsack, Valentin Nicolescu 5
  6. 6. Function Builder / Class BuilderFunction Builder:• Menu path Tools • ABAP workbench • Development • Function Builder (SE37)• Create and edit function modules / groups• Will be used in chapter 3Class Builder:• Menu path Tools • ABAP workbench • Development • Class Builder (SE24)• Create and edit new global classes• Will be used in chapter 8 ABAP Course André Bögelsack, Valentin Nicolescu 6
  7. 7. Screen Painter / Menu PainterScreen 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 6Menu Painter:• Menu path Tools • ABAP workbench • Development • User Interface • Menu Painter (SE41)• Create, edit menu’s, headers and toolbar’s in ABAP programs• Will be used in chapter 6 ABAP Course André Bögelsack, Valentin Nicolescu 7
  8. 8. DebuggerDebugger:• 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 ABAP Course André Bögelsack, Valentin Nicolescu 8
  9. 9. Object Navigator • Object Navigator integrates all development tools Toolbar (context sensitive) Browsers (independent) Working space (context sensitive)Navigation tree(independent) ABAP Course André Bögelsack, Valentin Nicolescu 9
  10. 10. Toolbar in ABAP Editor Navigation Switch between Switch between Other object(similiar to any browser) view edit mode active / inactive versionCheck, activate, Where-used Display Display Test programs list Object list Navigation Window Set breakpoint Uses a Launches Fullscreen Help on… at position patter Pretty Priter ABAP Course André Bögelsack, Valentin Nicolescu 10
  11. 11. The pattern buttonPattern:• 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 ABAP Course André Bögelsack, Valentin Nicolescu 11
  12. 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 ABAP Course André Bögelsack, Valentin Nicolescu 12
  13. 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 ABAP Course André Bögelsack, Valentin Nicolescu 13
  14. 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’ ABAP Course André Bögelsack, Valentin Nicolescu 14
  15. 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) ABAP Course André Bögelsack, Valentin Nicolescu 15

×