# sap-samples/abap-cheat-sheets architecture

> Architecture diagram of the GitHub repository sap-samples/abap-cheat-sheets, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sap-samples/abap-cheat-sheets
- Repository: https://github.com/sap-samples/abap-cheat-sheets

## Overview

ABAP Cheat Sheets is a learning and reference repository: readers consult concise topic guides, then explore corresponding executable ABAP examples in an SAP ABAP environment. The README describes broad syntax coverage, with particular focus on ABAP for Cloud Development and excursions into Standard ABAP. The tree shows topic documents and imported ABAP artifacts, including CDS and RAP definitions. No source excerpts were provided, so internal calls and specific document-to-example mappings cannot be verified; the edges below reflect only README-documented relationships.

Main entry points: [`15_CDS_View_Entities.md`](https://github.com/sap-samples/abap-cheat-sheets/blob/main/15_CDS_View_Entities.md) (CDS Entities), [`36_RAP_Behavior_Definition_Language.md`](https://github.com/sap-samples/abap-cheat-sheets/blob/main/36_RAP_Behavior_Definition_Language.md) (RAP Behavior), [`08_EML_ABAP_for_RAP.md`](https://github.com/sap-samples/abap-cheat-sheets/blob/main/08_EML_ABAP_for_RAP.md) (RAP EML), [`src/zcl_demo_abap_cloud_excursion.clas.abap`](https://github.com/sap-samples/abap-cheat-sheets/blob/main/src/zcl_demo_abap_cloud_excursion.clas.abap) (Cloud Demos)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_guides["Topic Guides"]
  node_syntax["Core Syntax"]
  node_data_types["Types and Data<br/>[02_Structures.md]"]
  node_sql["ABAP SQL<br/>[03_ABAP_SQL.md]"]
  node_objects["Object Orientation"]
  node_control["Program Flow"]
  node_errors["Errors and Exceptions<br/>[27_Exceptions.md]"]
  node_security["Authorization"]
  node_cloud["Cloud ABAP"]
  node_ai["Generative AI"]
  node_cds_guide["CDS Entities"]
  node_rap_bdl["RAP Behavior"]
  node_rap_eml["RAP EML"]
end

subgraph group_examples["ABAP Examples"]
  node_oo_examples["Syntax Demos"]
  node_cloud_examples["Cloud Demos"]
end

subgraph group_data["Data Modeling"]
  node_cds_examples["CDS Examples"]
  node_cds_views["CDS Views"]
end

subgraph group_rap["RAP Examples"]
  node_rap_definition["RAP Definitions"]
  node_rap_handler["RAP Handlers"]
end

node_reader(("Learner"))
node_sap["SAP ABAP Environment"]

node_reader -->|"consults"| node_syntax
node_reader -->|"imports and runs"| node_cloud_examples
node_reader -->|"consults"| node_cds_guide
node_reader -->|"consults"| node_rap_bdl
node_reader -->|"consults"| node_rap_eml
node_cloud_examples -->|"runs in"| node_sap
node_cds_guide -->|"supported by examples"| node_cds_examples
node_rap_bdl -->|"related examples"| node_rap_definition
node_rap_eml -->|"related examples"| node_rap_definition

click node_syntax "https://github.com/sap-samples/abap-cheat-sheets/blob/main/01_Internal_Tables.md"
click node_data_types "https://github.com/sap-samples/abap-cheat-sheets/blob/main/02_Structures.md"
click node_sql "https://github.com/sap-samples/abap-cheat-sheets/blob/main/03_ABAP_SQL.md"
click node_objects "https://github.com/sap-samples/abap-cheat-sheets/blob/main/04_ABAP_Object_Orientation.md"
click node_control "https://github.com/sap-samples/abap-cheat-sheets/blob/main/13_Program_Flow_Logic.md"
click node_errors "https://github.com/sap-samples/abap-cheat-sheets/blob/main/27_Exceptions.md"
click node_security "https://github.com/sap-samples/abap-cheat-sheets/blob/main/25_Authorization_Checks.md"
click node_cloud "https://github.com/sap-samples/abap-cheat-sheets/blob/main/19_ABAP_for_Cloud_Development.md"
click node_ai "https://github.com/sap-samples/abap-cheat-sheets/blob/main/30_Generative_AI.md"
click node_oo_examples "https://github.com/sap-samples/abap-cheat-sheets/blob/main/src/zcl_demo_abap_internal_tables.clas.abap"
click node_cloud_examples "https://github.com/sap-samples/abap-cheat-sheets/blob/main/src/zcl_demo_abap_cloud_excursion.clas.abap"
click node_cds_guide "https://github.com/sap-samples/abap-cheat-sheets/blob/main/15_CDS_View_Entities.md"
click node_cds_examples "https://github.com/sap-samples/abap-cheat-sheets/blob/main/src/zcl_demo_abap_cds_ve.clas.abap"
click node_cds_views "https://github.com/sap-samples/abap-cheat-sheets/blob/main/src/zdemo_abap_carr_ve.ddls.asddls"
click node_rap_bdl "https://github.com/sap-samples/abap-cheat-sheets/blob/main/36_RAP_Behavior_Definition_Language.md"
click node_rap_eml "https://github.com/sap-samples/abap-cheat-sheets/blob/main/08_EML_ABAP_for_RAP.md"
click node_rap_definition "https://github.com/sap-samples/abap-cheat-sheets/blob/main/src/zdemo_abap_rap_draft_m.bdef.asbdef"
click node_rap_handler "https://github.com/sap-samples/abap-cheat-sheets/blob/main/src/zbp_demo_abap_rap_draft_m.clas.abap"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_syntax,node_data_types,node_sql,node_objects,node_control,node_errors,node_security,node_cloud,node_ai,node_cds_guide,node_rap_bdl,node_rap_eml toneBlue
class node_oo_examples,node_cloud_examples toneAmber
class node_cds_examples,node_cds_views toneMint
class node_rap_definition,node_rap_handler toneRose
class node_reader,node_sap toneIndigo
```

## Components

### Topic Guides

- [Core Syntax](https://github.com/sap-samples/abap-cheat-sheets/blob/main/01_Internal_Tables.md): `01_Internal_Tables.md`
- [Types and Data](https://github.com/sap-samples/abap-cheat-sheets/blob/main/02_Structures.md): `02_Structures.md`
- [ABAP SQL](https://github.com/sap-samples/abap-cheat-sheets/blob/main/03_ABAP_SQL.md): `03_ABAP_SQL.md`
- [Object Orientation](https://github.com/sap-samples/abap-cheat-sheets/blob/main/04_ABAP_Object_Orientation.md): `04_ABAP_Object_Orientation.md`
- [Program Flow](https://github.com/sap-samples/abap-cheat-sheets/blob/main/13_Program_Flow_Logic.md): `13_Program_Flow_Logic.md`
- [Errors and Exceptions](https://github.com/sap-samples/abap-cheat-sheets/blob/main/27_Exceptions.md): `27_Exceptions.md`
- [Authorization](https://github.com/sap-samples/abap-cheat-sheets/blob/main/25_Authorization_Checks.md): `25_Authorization_Checks.md`
- [Cloud ABAP](https://github.com/sap-samples/abap-cheat-sheets/blob/main/19_ABAP_for_Cloud_Development.md): `19_ABAP_for_Cloud_Development.md`
- [Generative AI](https://github.com/sap-samples/abap-cheat-sheets/blob/main/30_Generative_AI.md): `30_Generative_AI.md`
- [CDS Entities](https://github.com/sap-samples/abap-cheat-sheets/blob/main/15_CDS_View_Entities.md): `15_CDS_View_Entities.md`
- [RAP Behavior](https://github.com/sap-samples/abap-cheat-sheets/blob/main/36_RAP_Behavior_Definition_Language.md): `36_RAP_Behavior_Definition_Language.md`
- [RAP EML](https://github.com/sap-samples/abap-cheat-sheets/blob/main/08_EML_ABAP_for_RAP.md): `08_EML_ABAP_for_RAP.md`

### ABAP Examples

- [Syntax Demos](https://github.com/sap-samples/abap-cheat-sheets/blob/main/src/zcl_demo_abap_internal_tables.clas.abap): `src/zcl_demo_abap_internal_tables.clas.abap`
- [Cloud Demos](https://github.com/sap-samples/abap-cheat-sheets/blob/main/src/zcl_demo_abap_cloud_excursion.clas.abap): `src/zcl_demo_abap_cloud_excursion.clas.abap`

### Data Modeling

- [CDS Examples](https://github.com/sap-samples/abap-cheat-sheets/blob/main/src/zcl_demo_abap_cds_ve.clas.abap): `src/zcl_demo_abap_cds_ve.clas.abap`
- [CDS Views](https://github.com/sap-samples/abap-cheat-sheets/blob/main/src/zdemo_abap_carr_ve.ddls.asddls): `src/zdemo_abap_carr_ve.ddls.asddls`

### RAP Examples

- [RAP Definitions](https://github.com/sap-samples/abap-cheat-sheets/blob/main/src/zdemo_abap_rap_draft_m.bdef.asbdef): `src/zdemo_abap_rap_draft_m.bdef.asbdef`
- [RAP Handlers](https://github.com/sap-samples/abap-cheat-sheets/blob/main/src/zbp_demo_abap_rap_draft_m.clas.abap): `src/zbp_demo_abap_rap_draft_m.clas.abap`

### Other components

- **Learner**
- **SAP ABAP Environment**

## Connections

- Learner → Core Syntax: consults (evidence: `README.md`)
- Learner → Cloud Demos: imports and runs (evidence: `README.md`)
- Learner → CDS Entities: consults (evidence: `README.md`)
- Learner → RAP Behavior: consults (evidence: `README.md`)
- Learner → RAP EML: consults (evidence: `README.md`)
- Cloud Demos → SAP ABAP Environment: runs in (evidence: `README.md`)
- CDS Entities → CDS Examples: supported by examples (evidence: `README.md`)
- RAP Behavior → RAP Definitions: related examples (evidence: `README.md`)
- RAP EML → RAP Definitions: related examples (evidence: `README.md`)
