The source code editor supports you when formatting
Complete ABAP source code within the editor
Use the context menu SourceFormat or the Shift + F1
shortcut.
Source code blocks
Use the context menu SourceFormat Block or the Ctrl + Shift +
F1 shortcut.
Note
For each ABAP project the formatting options of the ABAP workbench are applied. You can change
these formatting options by the following properties: ABAP DevelopmentEditorsSource Code EditorsFormatter.
Here the following preferences are available:
Indent source code to specify the alignment of the source code
Code style to specify the source code formatting of keywords and identifiers