ERPClimb logoERPClimb
— SAP ABAP

SAP ABAP Tutorial: Beginner to Advanced

160 lessons across 17 topics. Each lesson explains the concept, then shows a real project scenario, the mistakes to avoid and how it comes up in interviews. Work through the topics in order, or jump to the one you need.

The path has 160 lessons by level: 43 beginner, 74 intermediate, 43 advanced. Listed reading time adds up to about 1,303 minutes, so the lessons can be taken in short sessions. Each topic below links to its own topic page, and every lesson shows its level and reading time beside the title.

What is SAP ABAP (Advanced Business Application Programming)?

ABAP is the programming language of SAP. Developers use it to build reports, interfaces, forms and extensions, and to fix what standard SAP does not cover.

A real situation. The business needs a report of late deliveries by customer that no standard report gives. An ABAP developer reads the tables, writes the logic, tests it and moves it to production through transport.

Language

Data types, internal tables, control flow, classes and modern ABAP syntax.

Data

Dictionary objects, tables, views and Open SQL to read and write business data.

Extend

User exits, BAdIs, enhancements, interfaces and forms that change standard behaviour.

The main parts of SAP ABAP

  • Language basics. Data types, control structures, internal tables and modularisation.
  • ABAP Dictionary. Tables, structures, data elements and views.
  • Open SQL and CDS. Reading and writing data, and CDS views.
  • Reports and forms. ALV reports, selection screens and forms.
  • Enhancements. User exits, BAdIs and enhancement points.
  • Object-oriented ABAP. Classes, interfaces and exceptions.

A worked example. The business needs a report of late deliveries by customer. A developer reads LIKP and LIPS, filters by planned date, shows the result in ALV, adds authority checks and moves the program through transport.

What you need first. Basic programming logic. SAP functional knowledge makes requirements easier to read.

From classic to modern ABAP

Classic ABAP uses reports, function modules and dynpro screens. Modern ABAP adds inline declarations, expressions, classes, CDS views and the RESTful programming model. New development in S/4HANA and on BTP favours the modern style, while a lot of existing code is classic, so most developers need both.

Working with data efficiently

Reading data well matters more than clever code. Select only the fields you need, avoid selecting inside loops, use joins or CDS views to push work to the database and check the result with the SQL trace and runtime analysis. Many performance interview questions come back to these habits.

Extending standard SAP safely

When standard SAP does not fit, developers use user exits, BAdIs and enhancement points rather than changing standard code. Released APIs and clean core rules limit what can be touched in the cloud. Always check the extension technique with the functional lead and the architect before building.

SAP ABAP process flow and how it connects

The main flow runs through the middle. Above it is where the work lives. Below it are the other modules and systems that touch each step.

Where it runs

  • Dev system · Where you code
  • Quality system · Where it is tested
  • Production · Where it runs
  • Transport · Moves the change
  1. Step 1
    Requirement
    Spec

    A functional consultant describes what is needed.

    Functional team
    Writes the requirement
  2. Step 2
    Design
    Data and logic

    The developer chooses tables, objects and the extension point.

    Data Dictionary
    Tables and structures
  3. Step 3
    Code
    SE80 · ADT

    Write the program, class or function in the editor.

    Eclipse ADT
    Modern editor
  4. Step 4
    Test
    ABAP Unit

    Unit tests, debugging and ATC checks catch errors.

    ATC
    Static code checks
  5. Step 5
    Transport

    The change moves through dev, quality and production.

    Basis
    Imports transports
  6. Step 6
    Support
    ST22 · SM21

    Dumps and logs are analysed when something fails.

    Users
    Report incidents

Teal marks steps that post to or are owned by finance or another module. Amber marks where the work is organised.

The flow in words: 1. Requirement → 2. Design → 3. Code → 4. Test → 5. Transport → 6. Support.

SAP ABAP consultant roles and responsibilities

On an implementation

Builds reports, interfaces, forms and enhancements from functional specs, writes unit tests and reviews code.

In support

Analyses dumps and performance, fixes defects and supports transports and upgrades.

A typical week

  • Read functional specs and agree what to build.
  • Write and enhance reports, classes and interfaces.
  • Debug production issues from short dumps.
  • Review code and fix findings from ATC checks.
  • Support transports and test cycles.

Career ladder

  1. 0–3 years Junior developer or analyst
    Builds small changes and fixes defects under guidance.
  2. 3–7 years Developer or engineer
    Designs and delivers features on their own.
  3. 7–12 years Senior engineer or lead
    Owns quality, performance and code review for a team.
  4. 12+ years Technical architect
    Chooses the approach across systems and sets standards.

Problems you will meet in tickets

  • Short dump TIME_OUT in a report
  • Performance problem in a custom select
  • BAdI not being called
  • Wrong data after an upload program
  • Transport missing an object

Mistakes beginners make

  • Running SELECT inside a loop.
  • Using obsolete statements in new code.
  • Skipping authority checks in custom reports.
  • Debugging in production instead of reproducing in quality.

Paste a real error to get a diagnosis

Key SAP ABAP transaction codes

Each linked code opens its own reference page with fields, errors and related objects.

Tool or transactionWhat it does
SE80SE80 Object Navigator for ABAP Development
SE11ABAP Dictionary Maintenance
SE38ABAP Editor / Program Execution
SE37Function Builder for testing and building function modules
SE24SE24 Class Builder for ABAP OO Development
ST22ABAP Dump Analysis
SE09Workbench Organizer for Transport Requests

More SAP ABAP T-codes

  • ST05 SQL and Performance Trace
  • SE19 BAdI Implementation Builder
  • SE18 BAdI Definition Maintenance
  • SAT ABAP Runtime Analysis for Performance Tracing
  • SE91 Message Maintenance
  • SM30 Generic Table and View Maintenance
  • SE16 SE16 Table Display Data Browser
  • SE10 Customizing Organizer for Transport Requests
  • SE03 Transport Organizer Tools
  • SE01 Transport Organizer for Workbench and Customizing Requests
  • SMARTFORMS SAP Smart Forms
  • SE54 Table Maintenance Generator Settings

Key SAP ABAP tables

  • TFDIR Function Module Directory Table TFDIR
  • TADIR TADIR Repository Object Directory Table
  • E071 Transport request object list table
  • TSTC TSTC Transaction Code Table
  • DD02L ABAP Dictionary table catalog
  • STXH SAPscript Text Header Table
  • T002 T002 Language Key table
  • TRDIR TRDIR ABAP Program Directory Table
  • SEOCLASS SEOCLASS table for ABAP class definitions
  • TSTCT TSTCT - Transaction Code Text Table
  • DD04T DD04T Data Element Text Table
  • DD07T Domain Fixed Values Text Table

Browse every SAP ABAP T-code, table and error in the library

Classic vs Modern: what changed for SAP ABAP

Development tool

Classic. SAP GUI editors such as SE38 and SE80.

Modern. ABAP Development Tools in Eclipse are the main editor.

Coding style

Classic. Classic procedural code with many obsolete statements.

Modern. Modern ABAP with inline declarations, expressions and CDS views.

Extensions

Classic. Modifications and classic enhancements.

Modern. Clean core: key user and developer extensibility.

How to study SAP ABAP: the lesson path

Work through the topics below in order. Each one opens its topic page with the lessons from beginner to advanced.

  1. 1.ABAP Core

  2. 2.Internal Tables

  3. 3.Open SQL

  4. 4.Modularization

  5. 5.OOP ABAP

  6. 6.ALV Reports

  7. 7.Enhancements

  8. 8.BAdI

  9. 9.User Exits

  10. 10.BAPI

  11. 11.IDoc

  12. 12.SmartForms

  13. 13.Adobe Forms

  14. 14.Debugging

  15. 15.Performance Tuning

  16. 16.Workflow

  17. 17.ABAP Dictionary: Tables, Buffering and Indexes

SAP ABAP questions people ask

What is ABAP used for?

ABAP builds reports, interfaces, forms, conversions and enhancements inside SAP systems, and is the language of the SAP application layer.

Is ABAP still relevant with S/4HANA?

Yes. S/4HANA is written largely in ABAP, and modern ABAP with CDS and RAP is used for new development, so skills remain in demand.

What does an ABAP developer do?

Builds and fixes programs, tunes performance, works on interfaces and extensions and analyses dumps.

How long does it take to learn ABAP?

The basics take a few weeks of daily practice. Becoming productive on real projects usually needs a few months.

What is the difference between ABAP and RAP?

ABAP is the language. RAP, the RESTful Application Programming model, is the modern framework for building apps in ABAP.

Preparing for interviews? SAP ABAP interview questions · All SAP tracks