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
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
" 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.