Skip to content

ABAP Keyword Documentation →  ABAP Programming Guidelines →  Structure and Style 

Comments

Comments do not influence how a program is executed and are ignored by the computer. People who work with the source code, however, benefit greatly from comments, since they make the code easier to understand.

There are two categories of comments in ABAP:

  • Comment Lines
A comment line contains a comment and nothing else. It can be defined either by the * character at the start of the program line, or by the " character at any point of a program line blank to its left.
  • End of line comments
An end of line comment is a comment added using the " character and located on the right of an ABAP statement or part of an ABAP statement.

A comment line or end of line comment can have any content and this content is ignored when the program is generated using ABAP Compiler.

Other versions: 7.31 | 7.40 | 7.54

Continue

Choosing the Language

Content

Arrangement in the Source Code