














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An introduction to abap programming, focusing on the abap editor, syntax, and essential keywords. It covers the history of abap, the abap editor's features, and the importance of abap program attributes such as program type, status, application, and package. Additionally, it explains the basics of abap syntax and introduces key abap statements like report, write 1, write 2, skip, and uline.
Typology: Slides
1 / 22
This page cannot be seen from the preview
Don't miss anything!















Acronym: A llgemeiner B erichts A ufbereitungs P rozessor Generic report preparation rocessor A dvanced B usiness A pplication P rogramming Created back in the 1980s Looks very much like COBOL SAP itself, is written in ABAP
It’s a unified interface for creating, debugging, deploying, … ABAP programs Use transaction code SE
Note that you must activate ABAP with the keys I gave you before you use the software for the first time.
Edit the program statements
Activate the application (Program / Activate)
Every program that you create has metadata
ABAP has it’s own program types Executable programs can be run independently of a transaction code Remember program types from the last lecture Our first program will be an executable program Module Pools are made up of processing steps and are executed from a transaction code And other types of programs
A program belongs to a package and has an owner The package is defined when the program is saved for the first time Use package $TMP for our “local” packages SAP packages, in the simplest case, allow you group code (applications) together
Use Local Page $TMP for our work
SAP has naming conventions for programs Local programs should ALWAYS begin with the letter Z (for customer)
Like most programming language, we have statements as the atomic unit of work ABAP statements always end with a period (thanks COBOL)
It’s the first statement in an executable program It can also be replaced with the keyword PROGRAM Following the report keyword appears the report name Example
The statement writes the content to the output stream (current page of the current list)