diverse ABAP Cheat Sheets

(SAP Community)

github.com/SAP-samples/abap-cheat-sheets

  Entwicklung von und mit ABAP / ABAP Objects   Home  Links  Datenschutz  Impressum
Internal Tables
Properties of internal tables, creating internal tables and table types, specifying table keys, line and table type options, populating internal tables, constructor expressions, reading single lines, table expressions, processing multiple internal lines sequentially, modifying, deleting, sorting, and grouping internal table content, getting information about internal tables, table lines and table types, operations with internal tables using ABAP SQL SELECT statements
01 - Internal Tables
 
Structures
Some basics when working with structures such as local and global structure and structured types, creating structures and types, inline declaration, constant and immutable structures, enumerated structures, variants of structures, accessing structures and their components, populating structures, clearing structures, examples of processing structures in the context of ABAP SQL statements and internal tables, including structures
02 - Structures
 
ABAP Structured Query Language (SQL)
Read operations using SELECT and related syntax options, combining data of multiple data sources, common table expressions, SQL conditions, SQL operands, SQL expressions such as arithmetic, cast, string, case, aggregate, window and null expressions, built-in SQL functions such as numeric, string, coalesce, conversion, date and time functions, changing data in data sources using create, update, and delete operations
03 - ABAP SQL
 
ABAP Object Orientation
Working with objects and components, creating global and local classes, visibility of components, defining components, class attributes, methods, parameter interface, formal and actual parameters, typing of formal parameters, constructors, declaring object reference variables, creating objects, working with reference variables, accessing attributes, calling methods, method chaining and chained attribute access, inheritance and related syntax, polymorphism and casting (upcast/downcast), defining and implementing interfaces, declaring friendship between classes, events, ABAP Doc comments
04 - ABAP Object Orientation
 
Constructor Expressions
Covers constructor expressions with operators such as VALUE, CORRESPONDING, NEW, CONV, EXACT, REF, CAST, COND, SWITCH, FILTER, REDUCE, iteration expressions with FOR, LET expressions, grouping lines in internal tables with VALUE and REDUCE
05 Constructor Expressions
 
Dynamic Programming
Covers field symbols and data references as supporting elements for dynamic programming, dynamic ABAP statements, dynamic ASSIGN, creating anonymous data objects dynamically, creating instances of classes dynamically, accessing structure components dynamically, dynamic specifications in statements for processing internal tables, dynamic ABAP SQL statements, dynamic method calls, security considerations in dynamic programming using external input, runtime type services (RTTS), i. e. runtime type identification (RTTI) and runtime type creation (RTTC), creating elementary, structured, table and reference types dynamically using type description objects, excursion into dynamic program development techniques in Standard ABAP
06 - Dynamic Programming
 
String Processing
Creating strings and assigning values, string templates, determining the length of strings, concatenating strings, splitting strings, transforming string to lowercase and uppercase, shifting strings, condensing strings, reversing strings, accessing and inserting substrings, search and replace operations, pattern-based searching, comparison operators
07 String Processing
 
ABAP for ABAP RESTful Application Programming Model (RAP): Entity Manipulation Language (ABAP EML)
RAP Behavior Definitions (BDEF), ABAP Behavior Pools (ABP), RAP handler and saver classes and methods, RAP auxiliary classes, BDEF derived types, components and constants of BDEF derived types, type mapping for RAP, ABAP EML syntax including ABAP EML syntax for modifying operations (create, update and delete operations, executing actions) and reading operations (including read-by-association operations), dynamic ABAP EML statements, committing to the database and rolling back, raising RAP business events, RAP excursions such as ensuring data consistency in a RAP transaction
08 - ABAP for RAP: ABAP EML
 
Excursion Down to Bits and Bytes
Covers the technical background of data types and data objects
09 - Bits and Bytes
 
ABAP Structured Query Language (SQL): Working with Hierarchies
Summarizes the functions ABAP SQL offers together with ABAP CDS for working with hierarchical data that is stored in database tables
10 - ABAP SQL: Hierarchies
 
Internal Tables: Grouping
Covers the GROUP BY clause in statements for internal tables.
11 - Internal Tables: Grouping
 
ABAP Managed Database Procedures (AMDP)
Covers ABAP Managed Database Procedures (AMDP): AMDP classes, methods, procedures, functions (AMDP table functions, CDS table functions, AMDP scalar functions), information about using AMDP in ABAP for Cloud Development
12 - AMDP
 
Program Flow Logic
Expressions and functions for conditions, control structures (IF, CASE), loops (DO, WHILE), calling procedures (including calling function modules), interrupting the program execution
13 - Program Flow Logic
 
ABAP Unit Tests
Contains basic information about unit testing in ABAP including creating test classes and methods, implementing test methods, evaluating the test result, special methods for the test fixture, handling dependencies, creating and implementing test doubles, injecting test doubles, test seams, creating test doubles using ABAP frameworks
14 - ABAP Unit Tests
 
Core Data Services (CDS): View Entities
The cheat sheet provides references to information on ABAP CDS. The focus is on examples contained in the repository. They cover topics such as input parameters, specifying fields of the data source, typed and untyped literals, session variables, multiple expressions such as cast expressions, reuse expressions, arithmetic expressions, case expressions, logical expressions, built-in functions, numeric functions, string functions, coalesce function, date and time functions, aggregate expressions, inner joins, left outer joins, right outer joins, cross joins, associations.
15 - CDS: View Entities
 
Data Types and Data Objects
Contains basic information about data types and data objects in ABAP: declaring data types and data objects, local and global data types, generic types, assigning values to data objects, inline declaration, constants and immutable variables, enumerated types
16 - Data Types and Data Objects
 
SAP Logical Unit of Work (LUW)
Provides a high-level overview of the SAP LUW concept with a focus on SAP LUW-related statements.
Note: Several statements covered in the cheat sheet and the executable example are only relevant to classic ABAP.
17 - SAP LUW
 
Dynpro
Provides a high-level overview of dynpro topics with a focus on dynpro-related statements: dynpro flow logic, dialog modules, transporting data between dynpros and ABAP programs, dynpro fields, OK field, function codes, input checks, field and input help, dynpro sequence, calling and leaving dynpros, modifying static attributes of screen elements, GUI status and title, table, tabstrip and GUI controls.
Note: The content of this cheat sheet is only relevant to classic ABAP.
18 - Dynpro
 
ABAP for Cloud Development
Briefly covers the terms ABAP Cloud and classic ABAP to set the context for ABAP for Cloud Development
19 - ABAP for Cloud Development
 
Selection Screens and Classic Lists
Provides a high-level overview of selection screens and classic lists with a focus on related statements. It includes an excursion into the SAP List Viewer (ALV).
Note: The content of this cheat sheet is only relevant to classic ABAP.
20 - Selection Screens Lists
 
Working with Extensible Markup Language (XML) and JavaScript Object Notation (JSON) in ABAP
Covers processing XML using class libraries, XML transformations, serializations (ABAP to XML) and deserializations (XML to ABAP), and dealing with JSON data
21 - XML and JSON
 
Released ABAP Classes
Contains a selection of ABAP classes, serving as a quick introduction, along with code snippets to explore the functionality in action
22 - Released ABAP Classes
 
Date, Time, and Time Stamps
Covers how to handle and process dates, times, and time stamps in ABAP
23 - Date and Time
 
Built-In Functions
Covers a variety of built-in functions in ABAP
24 - Builtin Functions
 
Authorization Checks
Provides a high-level overview of explicit and implicit authorization checks in ABAP
25 - Authorization Checks
 
ABAP Dictionary (DDIC)
Covers a selection of repository objects in the ABAP Dictionary (DDIC) that represent global types
26 - ABAP Dictionary
 
Exceptions and Runtime Errors
Provides an overview on exceptions and runtime errors
27 - Exceptions
 
Regular Expressions in ABAP
Includes an overview of common regular expressions and their use in ABAP through statements, built-in functions, and system classes
28 - Regular Expressions
 
Numeric Operations in ABAP
Explores various aspects of numeric operations and calculations in ABAP
29 - Numeric Operations
 
Generative Artificial Intelligence (AI)
Provides references to detailed information on Generative AI in ABAP Cloud and explores released ABAP classes available in the ABAP AI SDK powered by Intelligent Scenario Lifecycle Management.
30 - Generative AI
 
WHERE Conditions
Explores syntax options in ABAP statements that include WHERE for data filtering
31 - WHERE Conditions
 
ABAP Performance Notes
Explores a selection of performance-related examples, aimed to illustrate potentially inefficient techniques and use of statements
32 - Performance Notes
 
ABAP Release News
Summarizes a selection of release news from the ABAP Keyword Documentation for both versions of the ABAP language, ABAP for Cloud Development and Standard ABAP
33 - ABAP Release News
 
ABAP Examples Using Object-Oriented Design Patterns
Does not cover ABAP-specific topics, but rather focuses on ABAP code experiments that explore design patterns in object-oriented programming
34 - Design Patterns
 
Enhancements Using Business Add-Ins (BAdIs)
Provides a high-level overview of enhancements using BAdIs, focusing on related ABAP syntax
35 - BAdIs
 
ABAP RESTful Application Programming Model (RAP): RAP Behavior Definition Language (BDL)
Highlights key features and syntax options of the RAP Behavior Definition Language (BDL) for designing RAP Behavior Definitions (BDEF)
36 - BDL