Blank Lines in SAP ABAP
In SAP ABAP, “blank lines” refer to empty lines or spaces that can be inserted into the output of a program or report to improve its readability and structure. The SKIP command is used to insert Blank Lines in SAP ABAP.
Example:
WRITE: 'First line of text',
SKIP , " This inserts two blank lines
'Second line of text'.
The SKIP
command allows us to control the number of blank lines inserted for better formatting.
SAP ABAP | Basic Syntax & Statements
The German software company SAP created the high-level programming language, ABAP (Advanced Business Application Programming) primarily, this language serves as a tool for developing applications within the SAP R/3 system. Designed with simplicity and ease of learning in mind, ABAP syntax allows efficient processing of large volumes of data. Similar to COBOL, it offers a concise set of statements; these aid in the efficient management of large datasets. Typically, one writes ABAP code in the ABAP Editor, a component of SAP GUI (Graphical User Interface).
Table of Content
- SAP ABAP Satatements:
- How to format SAP ABAP Statements:
- Creating Your First SAP ABAP Program:
- Adding Comments in SAP ABAP:
- Suppressing Blanks in SAP ABAP
- Blank Lines in SAP ABAP:
- INSERT Lines in SAP ABAP:
- Handling Messages in SAP ABAP Code:
Basic Syntax of SAP ABAP:
REPORT [ Program_Name ].
[Statements.....]
Example:
REPORT Z_HELLO_WORLD.
WRITE 'Hello World'.
This simple example presents a SAP ABAP program. its function is to print ‘Hello World‘ on the screen. The first line in this example serves as a REPORT statement, precisely specifying the program’s name; meanwhile, the second ABAP statement, which writes ‘Hello World’ on-screen forms its subsequent line.