ABAP Cheat Sheets
Hi ABAP folks,
There‘s a popular internet meme out there: “One does not simply …”.
It comes from the statement “One does not simply walk into Mordor” made by Boromir, a member of the fellowship in the first Lord of the Rings movie, who is doubtful about the mission‘s prospects of success regarding the destruction of the one ring in Mount Doom – a volcano 🌋 in the realm of Mordor.
Maybe you were or are faced with a similarly tough mission when dealing with or learning ABAP. You could well argue that one does not simply understand ABAP 😅.
How about some info and code snippets on dedicated ABAP topics, concepts and syntax in a nutshell to get some basic equipment on the mission when advancing (certainly less belligerently than the fellowship mentioned above) into the realm of ABAP 🤔?
ABAP Cheat Sheets are there to support you!
No, it’s not about foul tricks and cheating. And no teacher will disapprove.
According to Merriam-Webster Dictionary 📚, a cheat sheet is a “a written […] aid (such as a sheet of notes) that can be referred to for help in understanding or remembering something complex”.
What are ABAP cheat sheets?
- provide a collection of information on selected ABAP topics in a nutshell for your reference.
- focus on ABAP syntax, keywords and additions to ABAP statements.
- include code snippets.
- are supported by easy-to-consume demonstration examples that you can import into your SAP BTP ABAP environment or on-premise ABAP system using abapGit for you to run and check out ABAP syntax in action in simple contexts.
- do not claim to be fully comprehensive as far as the concepts and syntax options are concerned. Since they are enriched by links to glossary entries and chapters of the ABAP Keyword Documentation (the F1 help), they invite you to dig deeper into the respective topics in the ABAP Keyword Documentation.
Currently available cheat sheets
|Cheat Sheet||Topics Covered|
|Working with Internal Tables||Creating, filling, reading from, sorting, modifying internal tables|
|Working with Structures||
|ABAP SQL in Use||
|ABAP Object Orientation||Working with objects and components, concepts like inheritance, interfaces, and more|
|Working with Constructor Expressions||
|ABAP for RAP: Entity Manipulation Language (ABAP EML)||
|Excursion Down to Bits and Bytes||Touches on the technical background of data types and data objects|
|ABAP 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|
|ABAP SQL: Grouping Internal Tables||Touches on the GROUP BY clause in ABAP SQL|
|A Glimpse on AMDP||Touches on ABAP Managed Database Procedures (AMDP): AMDP Procedures and AMDP Functions (including CDS Table Functions)|
|Program Flow Logic||Deals with control structures (IF, CASE), loops (DO, WHILE) and exception handling|
Do you spot any errors? Any suggestions for further snippets and cheat sheets?