Nachdem Sie den Einstieg über die ABAP Kurse gemeistert haben, finden Sie im ABAP Tutorial-Hub weiterführende Informationen.
SAP ABAP Kurse
- Chapter 0 Introduction
- Chapter 1 The Development Environment
- Chapter 2 Your First ABAP/4 Program
- Chapter 3 The Data Dictionary, Part 1
- Chapter 4 The Data Dictionary, Part 2
- Chapter 5 The Data Dictionary, Part 3
- Chapter 6 The Data Dictionary, Part 4
- Chapter 7 Defining Data in ABAP/4, Part 1
- Chapter 8 Defining Data in ABAP/4, Part 2
- Chapter 9 Assignments, Conversions, and Calculations
- Chapter 10 Common Control Statements
- Chapter 11 Internal Tables
- Chapter 12 Advanced Internal Tables, Part 1
- Chapter 13 Advanced Internal Tables, Part 2
- Chapter 14 The write Statement
- Chapter 15 Formatting Techniques, Part 1
- Chapter 16 Formatting Techniques, Part 2
- Chapter 17 Modularization: Events and Subroutines
- Chapter 18 Modularization: Passing Parameters to Subroutines
- Chapter 19 Modularization: Function Modules, Part 1
- Chapter 20 Modularization: Function Modules, Part 2
- Chapter 21 Selection Screens
Programmierrichtlinien und Konversationen
Mehr dazu auf 4AP
- Programmieren und dokumentieren auf Englisch
- ABAP-Editor-Einstellung:
- alle Syntaxfehler anzeigen
- abwärtskompatible Zeilenlänge [wenn möglich]
- Pretty Printer-Einstellung:
- Einrücken verwenden
- keinen Standardkommentar einfügen
- Groß-Kleinkonvertierung für Schlüsselwörter groß verwenden
- im Registerblatt Muster anhaken:
- Fubaus: Name Aktualparameter gleich Name Formalparameter
- Fubaus: Bei Ausnahmeklassen CALL FUNCTION mit TRY…ENDTRY generieren
- Class Builder: Name Aktualparameter gleich Name Formalparameter
- Funnktionale Schreibweise für Call METHOD
- Erweiterte Programmprüfung (mit allem angehakt) verwenden.
- Im Editor den ‚Muster‘-Button verwenden
- Code-Inspektor verwenden
- Pro Codingzeile nur eine Anweisung
- Namensgebung (Bestandteile werden durch Unterstrich getrennt, sprechende Namen verwenden):
- cl_ = Klassen, z.B. cl_demo_update
- if_ = Interfaces, z.B. if_demo_update
- is_ = Wahrheitswert, z.B. is_checked
- on_ = Ereignisbehandler, z.B. on_button_klicked
- get_ = Methoden mit Rückgabewert, z.B. get_max_count
- do_ = auszuführende Methode, z.B. do_this_work
- set_ = auszuführende Methode, z.B. set_this_value
- cx_ = Ausnahmemethode, z.B. cx_value_not_allowed
- Programminterne Namensgebung:
- g_ = globales Datenobjekt, z.B. g_dataobject
- l_ = lokales Datenobjekt, z.B. l_dataobject
- i_ = Importing-Parameter, z.B. i_vebln
- e_ = Exporting-Parameter, z.B. e_vbeln
- c_ = Changing-Parameter, z.B. c_count
- r_ = Returning-Parameter, z.B. r_value
- Datentypen Namensgebung:
- e oder v = elementare Type, z.B. lv_help_count (lokale Variable Help_count)
- s = Strukturen. z.B. gs_structure (globale Struktur ’structure‘)
- t = Tabelle, z.B. lt_return (lokale Tabelle für Return-Werte)
- r = Datenreferenzvariablen
- o = Klassenreferenzvariablen
- i = Interface-Referenzvariablen
- b = BADI-Referenzvariablen
- x = Ausnahmeklassen-Referenzvariablen
- Kommentare:
- * – am Beginn jeden größeren Abschnittes
- “ – z.B. an einem Endif: endif. “ sy-subrc = 0. ‚ select mara
- Kommentare sollten natürlich auch in Englisch sein
- 7-bit ASCII-Zeichen verwenden, also z.B. keine Umlaute
- beschreiben warum etwas gemacht wird, nicht wie
- Kommentare vor Kontrollanweisungen (z.B. vor if / when) beziehen sich auf die Bedingung
- Kommentare nach Kontrollanweisungen (z.B. nach if, else) beziehen sich auf den jeweiligen Block
- Kommentarzeilen genauso tief einrücken wie die Anweisungen auf die sie sich beziehen
- Modularisierung
- Includes können separat von verschiedenen Programmierern entwickelt und auch transportiert werden
- gleiche / fast gleiche Coding auslagern: perform mit Wertübergabe
- Kapselung in Funktionsbausteine
Tutorials zur Vertiefung
- SAP ABAP – Home
- SAP ABAP – Overview
- SAP ABAP – Environment
- SAP ABAP – Screen Navigation
- SAP ABAP – Basic Syntax
- SAP ABAP – Data Types
- SAP ABAP – Variables
- SAP ABAP – Constants & Literals
- SAP ABAP – Operators
- SAP ABAP – Loop Control
- SAP ABAP – Decisions
- SAP ABAP – Strings
- SAP ABAP – Date & Time
- SAP ABAP – Formatting Data
- SAP ABAP – Exception Handling
- SAP ABAP – Dictionary
- SAP ABAP – Domains
- SAP ABAP – Data Elements
- SAP ABAP – Tables
- SAP ABAP – Structures
- SAP ABAP – Views
- SAP ABAP – Search Help
- SAP ABAP – Lock Objects
- SAP ABAP – Modularization
- SAP ABAP – Subroutines
- SAP ABAP – Macros
- SAP ABAP – Function Modules
- SAP ABAP – Include Programs
- SAP ABAP – Open SQL Overview
- SAP ABAP – Native SQL Overview
- SAP ABAP – Internal Tables
- SAP ABAP – Creating Internal Tables
- ABAP – Populating Internal Tables
- SAP ABAP – Copying Internal Tables
- SAP ABAP – Reading Internal Tables
- SAP ABAP – Deleting Internal Tables
- SAP ABAP – Object Orientation
- SAP ABAP – Objects
- SAP ABAP – Classes
- SAP ABAP – Inheritance
- SAP ABAP – Polymorphism
- SAP ABAP – Encapsulation
- SAP ABAP – Interfaces
- SAP ABAP – Object Events
- SAP ABAP – Report Programming
- SAP ABAP – Dialog Programming
- SAP ABAP – Smart Forms
- SAP ABAP – SAPscripts
- SAP ABAP – Customer Exits
- SAP ABAP – User Exits
- SAP ABAP – Business Add-Ins
- SAP ABAP – Web Dynpro
- P UI5 – Overview
- SAP UI5 – Architecture
- SAP UI5 – Key Components
- SAP UI5 – Control Libraries
- SAP UI5 – Development Kit
- SAP UI5 – MVC Concept
- SAP UI5 – Views
- SAP UI5 – Developer Studio
- SAP UI5 – Creating a UI5 Project
- SAP UI5 – Controls
- SAP UI5 – Data binding
- SAP UI5 – Design Patterns
- SAP UI5 – Modularization
- SAP UI5 – Localization
- SAP UI5 – Notepad Controls
- SAP UI5 – Extending Applications
- SAP UI5 – Theming
- SAP UI5 – Mobile
- Creating a Project in Web IDE
SAP ABAP OO
- OO ABAP Concepts
- Use of ME Keyword
- Use of SUPER keyword
- Casting of Objects
- OO-ABAP Events
- OO ABAP Event Handler
- ALV In minimun steps?
- OO ALV USING DOCKING CONTAINER
- OO ALV USING CUSTOM CONTAINER
- OO ALV USING CUSTOM CONTAINER WITH DOUBLE CLICK EVENT
- SPLITTING CUSTOM CONTAINER BY SPLITTER CONTAINER AND DISPLAYING INTERACTIVE ALV
- OO ALV WITH TOP_OF_PAGE EVENT TO DISPLAY HEADER
- OO ALV WITH SUBTOTAL AND TOTAL TEXT
- OO ALV WITH HIDING TOOLBAR
- OO ALV WITH EDIT & SAVE FUNCTIONALITY & ADDING BUTTON IN ALV TOOLBAR
- WORK WITH TEXT EDITOR IN CUSTOM CONTAINER
- OO ALV USING DOCKING CONTAINER & COLORING ROWS BASED ON CONDITION
- OO ALV USING DIALOGBOX CONTAINER
- OO TREE ALV USING CL_SIMPLE_TREE_MODEL
- OO COLUMNTREE ALV USING CL_COLUMN_TREE_MODEL
- OO ALV By CL_SALV_TABLE
- ALV with Hot Spot Using CL_SALV_TABLE
- Hiding a Column with CL_SALV_TABLE
- SALV TABLE – COLUMN COLOR
- TOP-OF-PAGE & END-OF-PAGE Using CL_SALV_TABLE
- List/Grid/ Container Grid ALV by CL_SALV_TABLE
- Enable/Disable Toolbars on ALV LIST/GRID by CL_SALV_TABLE
- Enable/Disable columns on ALV LIST/GRID Output by CL_SALV_TABLE
- Showing Traffic light for each row status in ALV By CL_SALV_TABLE
- Showing Icons for each row in ALV By CL_SALV_TABLE
- Showing Symbols for each row in ALV By CL_SALV_TABLE
- Handle Double Click on ALV by CL_SALV_TABLE Events
- Tree ALV with CL_GUI_LIST_TREE
- Multi level tree ALV with CL_GUI_LIST_TREE
- Tree ALV with CL_GUI_SIMPLE_TREE
- Multi Level Tree ALV with CL_GUI_SIMPLE_TREE
- Tree ALV with CL_GUI_ALV_TREE
- Multi Level Tree ALV with CL_GUI_ALV_TREE
- Text Editor using CL_GUI_TEXTEDIT
- Text Editor using CL_GUI_TEXTEDIT & Reading Text
- ToolBar Buttons Using CL_GUI_TOOLBAR
- ToolBar Buttons Group Using CL_GUI_TOOLBAR
- ToolBar Buttons Using CL_GUI_TOOLBAR & Handling it
- Switch Framework – CL_ABAP_SWITCH
- CL_ABAP_MATH Class
- CL_ABAP_SYST- Class
- CL_ABAP_DATFM- Class
OO Exception Handling
- Exception Handling in Function Module
- Exception Handling in Function Modules [with message class]
- OO Exception Concepts
- OO Exception- CX_STATIC_CHECK
- OO Exception- CX_STATIC_CHECK Multiple Catch & Clean Up
- OO Exception-CX_STATIC_CHECK Resumable Exception
- OO Exception- Global Exception Class
- OO Exception: Global Exception with Function Module
- OO Exception-Message Class with Exception Class
- OO EXCEPTION- CX_NO_CHECK
Copyright and Hyperlinks
We link to valuable content. Not all content was created by us. The SAP market is based on collaborative partnerships and mutual support. We support many partners or just companions by ensuring their visibility. If you do not like a link or have suggestions for improvement, please contact our editorial team (Redaktion@S4-Experts.de).
Du muss angemeldet sein, um einen Kommentar zu veröffentlichen.