SlideShare uma empresa Scribd logo
1 de 15
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
                  ABAP Course                     André Bögelsack, Valentin Nicolescu   1
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
Agenda

1.   Development tools in SAP
2.   Usage of the Object Navigator
3.   Concepts and tools




               ABAP Course            André Bögelsack, Valentin Nicolescu   3
Development tools in SAP




 Every tool can be accessed in Object Navigator
                ABAP Course                   André Bögelsack, Valentin Nicolescu   4
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
Function Builder / Class Builder

Function 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


             ABAP Course              André Bögelsack, Valentin Nicolescu   6
Screen Painter / Menu Painter

Screen 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
• Will be used in chapter 6

               ABAP Course                André Bögelsack, Valentin Nicolescu   7
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




               ABAP Course               André Bögelsack, Valentin Nicolescu   8
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
Toolbar in ABAP Editor
        Navigation                  Switch between          Switch between
                                                                                                    Other object
(similiar to any browser)           view edit mode      active / inactive version




Check, 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
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




               ABAP Course                  André Bögelsack, Valentin Nicolescu   11
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
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
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
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

Mais conteúdo relacionado

Destaque

Chapter 5 modularization & catch statement (paradiso-a45b1d's conflicted co...
Chapter 5   modularization & catch statement (paradiso-a45b1d's conflicted co...Chapter 5   modularization & catch statement (paradiso-a45b1d's conflicted co...
Chapter 5 modularization & catch statement (paradiso-a45b1d's conflicted co...
marco_paradiso
 
Lecture01 abap on line
Lecture01 abap on lineLecture01 abap on line
Lecture01 abap on line
Milind Patil
 
Abap course chapter 6 specialities for erp software
Abap course   chapter 6 specialities for erp softwareAbap course   chapter 6 specialities for erp software
Abap course chapter 6 specialities for erp software
Milind Patil
 
Abap course chapter 7 abap objects and bsp
Abap course   chapter 7 abap objects and bspAbap course   chapter 7 abap objects and bsp
Abap course chapter 7 abap objects and bsp
Milind Patil
 

Destaque (11)

Chapter 5 modularization & catch statement (paradiso-a45b1d's conflicted co...
Chapter 5   modularization & catch statement (paradiso-a45b1d's conflicted co...Chapter 5   modularization & catch statement (paradiso-a45b1d's conflicted co...
Chapter 5 modularization & catch statement (paradiso-a45b1d's conflicted co...
 
Unit 2 - Object Navigator, Repository and ABAP Programs
Unit 2 - Object Navigator, Repository and ABAP ProgramsUnit 2 - Object Navigator, Repository and ABAP Programs
Unit 2 - Object Navigator, Repository and ABAP Programs
 
SAP ABAP Lock concept and enqueue
SAP ABAP Lock concept and enqueueSAP ABAP Lock concept and enqueue
SAP ABAP Lock concept and enqueue
 
Lecture01 abap on line
Lecture01 abap on lineLecture01 abap on line
Lecture01 abap on line
 
Abap course chapter 6 specialities for erp software
Abap course   chapter 6 specialities for erp softwareAbap course   chapter 6 specialities for erp software
Abap course chapter 6 specialities for erp software
 
Abap course chapter 7 abap objects and bsp
Abap course   chapter 7 abap objects and bspAbap course   chapter 7 abap objects and bsp
Abap course chapter 7 abap objects and bsp
 
Beginner’s guide to sap abap 1
Beginner’s guide to sap abap 1Beginner’s guide to sap abap 1
Beginner’s guide to sap abap 1
 
List Processing in ABAP
List Processing in ABAPList Processing in ABAP
List Processing in ABAP
 
SAP ABAP - Needed Notes
SAP   ABAP - Needed NotesSAP   ABAP - Needed Notes
SAP ABAP - Needed Notes
 
ABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection ScreenABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection Screen
 
ABAP Open SQL & Internal Table
ABAP Open SQL & Internal TableABAP Open SQL & Internal Table
ABAP Open SQL & Internal Table
 

Semelhante a Abap course chapter 2 tools in the development environment

01-2015 - Java aktuell - Mandy Goram - Entwicklung mobiler Anwendungen für Bl...
01-2015 - Java aktuell - Mandy Goram - Entwicklung mobiler Anwendungen für Bl...01-2015 - Java aktuell - Mandy Goram - Entwicklung mobiler Anwendungen für Bl...
01-2015 - Java aktuell - Mandy Goram - Entwicklung mobiler Anwendungen für Bl...
Mandy Goram
 
Einführung in Paper Prototyping
Einführung in Paper PrototypingEinführung in Paper Prototyping
Einführung in Paper Prototyping
Tobias Adam
 

Semelhante a Abap course chapter 2 tools in the development environment (20)

Webinar - ABAP Development Tools
Webinar - ABAP Development ToolsWebinar - ABAP Development Tools
Webinar - ABAP Development Tools
 
11. TANNER-Hochschulwettbewerb | Beitrag Team Probian (HS Karlsruhe)
11. TANNER-Hochschulwettbewerb | Beitrag Team Probian (HS Karlsruhe)11. TANNER-Hochschulwettbewerb | Beitrag Team Probian (HS Karlsruhe)
11. TANNER-Hochschulwettbewerb | Beitrag Team Probian (HS Karlsruhe)
 
DNUG ak-anwendungsentwicklung.18042011
DNUG ak-anwendungsentwicklung.18042011DNUG ak-anwendungsentwicklung.18042011
DNUG ak-anwendungsentwicklung.18042011
 
TDD mit ABAP Units
TDD mit ABAP UnitsTDD mit ABAP Units
TDD mit ABAP Units
 
Ec13 xpages-basic
Ec13 xpages-basicEc13 xpages-basic
Ec13 xpages-basic
 
UxHH Talk - Der Weg zu barrierefreien Apps durch UX Design
UxHH Talk - Der Weg zu barrierefreien Apps durch UX DesignUxHH Talk - Der Weg zu barrierefreien Apps durch UX Design
UxHH Talk - Der Weg zu barrierefreien Apps durch UX Design
 
XAML UI DEVELOPMENT BEST PRACTICES 2.0
XAML UI DEVELOPMENT BEST PRACTICES 2.0XAML UI DEVELOPMENT BEST PRACTICES 2.0
XAML UI DEVELOPMENT BEST PRACTICES 2.0
 
01-2015 - Java aktuell - Mandy Goram - Entwicklung mobiler Anwendungen für Bl...
01-2015 - Java aktuell - Mandy Goram - Entwicklung mobiler Anwendungen für Bl...01-2015 - Java aktuell - Mandy Goram - Entwicklung mobiler Anwendungen für Bl...
01-2015 - Java aktuell - Mandy Goram - Entwicklung mobiler Anwendungen für Bl...
 
Automatisiertes webauftritt testen
Automatisiertes webauftritt testenAutomatisiertes webauftritt testen
Automatisiertes webauftritt testen
 
Maven2 - Die nächste Generation des Buildmanagements?
Maven2 - Die nächste Generation des Buildmanagements?Maven2 - Die nächste Generation des Buildmanagements?
Maven2 - Die nächste Generation des Buildmanagements?
 
Einführung in Paper Prototyping
Einführung in Paper PrototypingEinführung in Paper Prototyping
Einführung in Paper Prototyping
 
Web-Tools für das Studium
Web-Tools für das StudiumWeb-Tools für das Studium
Web-Tools für das Studium
 
Webtools studium
Webtools studiumWebtools studium
Webtools studium
 
Dnug 112014 modernization_openn_ntf_ersatzsession
Dnug 112014 modernization_openn_ntf_ersatzsessionDnug 112014 modernization_openn_ntf_ersatzsession
Dnug 112014 modernization_openn_ntf_ersatzsession
 
12. TANNER-Hochschulwettbewerb | Beitrag Team Schildberg (Karlsruher Institut...
12. TANNER-Hochschulwettbewerb | Beitrag Team Schildberg (Karlsruher Institut...12. TANNER-Hochschulwettbewerb | Beitrag Team Schildberg (Karlsruher Institut...
12. TANNER-Hochschulwettbewerb | Beitrag Team Schildberg (Karlsruher Institut...
 
Interactive Publishing Suite
Interactive Publishing SuiteInteractive Publishing Suite
Interactive Publishing Suite
 
Hands-on Workshop: API-Dokumentation mit OpenAPI / Swagger in ASP.NET Core
Hands-on Workshop: API-Dokumentation mit OpenAPI / Swagger in ASP.NET CoreHands-on Workshop: API-Dokumentation mit OpenAPI / Swagger in ASP.NET Core
Hands-on Workshop: API-Dokumentation mit OpenAPI / Swagger in ASP.NET Core
 
Hightway to Hell - Responsive Webdesign Testen
Hightway to Hell - Responsive Webdesign TestenHightway to Hell - Responsive Webdesign Testen
Hightway to Hell - Responsive Webdesign Testen
 
Robuste Design Systems mit Storybook und Angular: vom Konzept zur lebendigen ...
Robuste Design Systems mit Storybook und Angular: vom Konzept zur lebendigen ...Robuste Design Systems mit Storybook und Angular: vom Konzept zur lebendigen ...
Robuste Design Systems mit Storybook und Angular: vom Konzept zur lebendigen ...
 
KAHINA
KAHINAKAHINA
KAHINA
 

Mais de Milind Patil

Step by step abap_input help or lov
Step by step abap_input help or lovStep by step abap_input help or lov
Step by step abap_input help or lov
Milind Patil
 
Step bystep abap_fieldhelpordocumentation
Step bystep abap_fieldhelpordocumentationStep bystep abap_fieldhelpordocumentation
Step bystep abap_fieldhelpordocumentation
Milind Patil
 
Step bystep abap_field help or documentation
Step bystep abap_field help or documentationStep bystep abap_field help or documentation
Step bystep abap_field help or documentation
Milind Patil
 
Abap slides user defined data types and data
Abap slides user defined data types and dataAbap slides user defined data types and data
Abap slides user defined data types and data
Milind Patil
 
Abap slide lock Enqueue data clusters auth checks
Abap slide lock Enqueue data clusters auth checksAbap slide lock Enqueue data clusters auth checks
Abap slide lock Enqueue data clusters auth checks
Milind Patil
 
Step bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecordStep bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecord
Milind Patil
 
Abap slide lockenqueuedataclustersauthchecks
Abap slide lockenqueuedataclustersauthchecksAbap slide lockenqueuedataclustersauthchecks
Abap slide lockenqueuedataclustersauthchecks
Milind Patil
 
Abap slide exceptionshandling
Abap slide exceptionshandlingAbap slide exceptionshandling
Abap slide exceptionshandling
Milind Patil
 
Step bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecordStep bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecord
Milind Patil
 
Lecture16 abap on line
Lecture16 abap on lineLecture16 abap on line
Lecture16 abap on line
Milind Patil
 
Lecture14 abap on line
Lecture14 abap on lineLecture14 abap on line
Lecture14 abap on line
Milind Patil
 
Lecture13 abap on line
Lecture13 abap on lineLecture13 abap on line
Lecture13 abap on line
Milind Patil
 
Lecture12 abap on line
Lecture12 abap on lineLecture12 abap on line
Lecture12 abap on line
Milind Patil
 
Lecture11 abap on line
Lecture11 abap on lineLecture11 abap on line
Lecture11 abap on line
Milind Patil
 
Lecture10 abap on line
Lecture10 abap on lineLecture10 abap on line
Lecture10 abap on line
Milind Patil
 
Lecture09 abap on line
Lecture09 abap on lineLecture09 abap on line
Lecture09 abap on line
Milind Patil
 
Lecture08 abap on line
Lecture08 abap on lineLecture08 abap on line
Lecture08 abap on line
Milind Patil
 

Mais de Milind Patil (20)

Step by step abap_input help or lov
Step by step abap_input help or lovStep by step abap_input help or lov
Step by step abap_input help or lov
 
Step bystep abap_fieldhelpordocumentation
Step bystep abap_fieldhelpordocumentationStep bystep abap_fieldhelpordocumentation
Step bystep abap_fieldhelpordocumentation
 
Step bystep abap_field help or documentation
Step bystep abap_field help or documentationStep bystep abap_field help or documentation
Step bystep abap_field help or documentation
 
Abap slides user defined data types and data
Abap slides user defined data types and dataAbap slides user defined data types and data
Abap slides user defined data types and data
 
Abap slides set1
Abap slides set1Abap slides set1
Abap slides set1
 
Abap slide class3
Abap slide class3Abap slide class3
Abap slide class3
 
Abap slide lock Enqueue data clusters auth checks
Abap slide lock Enqueue data clusters auth checksAbap slide lock Enqueue data clusters auth checks
Abap slide lock Enqueue data clusters auth checks
 
Step bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecordStep bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecord
 
Abap slide lockenqueuedataclustersauthchecks
Abap slide lockenqueuedataclustersauthchecksAbap slide lockenqueuedataclustersauthchecks
Abap slide lockenqueuedataclustersauthchecks
 
Abap slide exceptionshandling
Abap slide exceptionshandlingAbap slide exceptionshandling
Abap slide exceptionshandling
 
Step bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecordStep bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecord
 
Abap reports
Abap reportsAbap reports
Abap reports
 
Lecture16 abap on line
Lecture16 abap on lineLecture16 abap on line
Lecture16 abap on line
 
Lecture14 abap on line
Lecture14 abap on lineLecture14 abap on line
Lecture14 abap on line
 
Lecture13 abap on line
Lecture13 abap on lineLecture13 abap on line
Lecture13 abap on line
 
Lecture12 abap on line
Lecture12 abap on lineLecture12 abap on line
Lecture12 abap on line
 
Lecture11 abap on line
Lecture11 abap on lineLecture11 abap on line
Lecture11 abap on line
 
Lecture10 abap on line
Lecture10 abap on lineLecture10 abap on line
Lecture10 abap on line
 
Lecture09 abap on line
Lecture09 abap on lineLecture09 abap on line
Lecture09 abap on line
 
Lecture08 abap on line
Lecture08 abap on lineLecture08 abap on line
Lecture08 abap on line
 

Abap course chapter 2 tools in the development environment

  • 1. 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 ABAP Course André Bögelsack, Valentin Nicolescu 1
  • 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. Agenda 1. Development tools in SAP 2. Usage of the Object Navigator 3. Concepts and tools ABAP Course André Bögelsack, Valentin Nicolescu 3
  • 4. Development tools in SAP  Every tool can be accessed in Object Navigator ABAP Course André Bögelsack, Valentin Nicolescu 4
  • 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. Function Builder / Class Builder Function 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 ABAP Course André Bögelsack, Valentin Nicolescu 6
  • 7. Screen Painter / Menu Painter Screen 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 • Will be used in chapter 6 ABAP Course André Bögelsack, Valentin Nicolescu 7
  • 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 ABAP Course André Bögelsack, Valentin Nicolescu 8
  • 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. Toolbar in ABAP Editor Navigation Switch between Switch between Other object (similiar to any browser) view edit mode active / inactive version Check, 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. 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 ABAP Course André Bögelsack, Valentin Nicolescu 11
  • 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. 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. 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. 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