ABAP Programming

This tutorial helps you get started with ABAP programming from scatch.

Section 1. Getting Started

  • ABAP Hello World – shows you how to develop your first program on SAP.
  • ABAP Syntax – explain to you the basic ABAP syntax including statements, comments, and case sensitivity.

Section 2. ABAP data types & variables

  • ABAP Data Types – introduce you to the ABAP data types including elementary type, complex types, and reference types.
  • Variables – learn how to declare variables using the data keyword.
  • Constants – show you how to declare data object whose value does not change at runtime.

Section 3. Control flow

  • if else – show you how to conditionally execute a code block based on one or more boolean expressions.
  • case – guide you on how to execute one code block based on one or more conditions.
  • do – learn how to carry an unconditional loop that executes a code block a specified number of times.
  • while – guide you on how to use the while loop to execute a code block as long as a condition is true.
  • exit – learn how to use the exit statement to terminate an entire loop.
  • continue – show you how to skip the current loop iteration and start the next iteration.