Use your team's ABAP Formatter settings
Always use your team’s ABAP Formatter settings. Specify them under
- Eclipse: Right-click on the project in the Project Explorer > Properties > ABAP Development > Editors > Source Code Editors > ABAP Formatter
- Eclipse (alternative navigation): Menu > Window > Preferences > ABAP Development > Editors > Source Code Editors > Click on the ABAP Formatter link on the right-hand side > Select project in pop-up
- SAP GUI: Menu > Utilities > Settings … > ABAP Editor > Pretty Printer.
Set Indent and Convert Uppercase/Lowercase > Uppercase Keyword as agreed in your team.
Upper vs. Lower Case explains why we do not give clear guidance for the type case of keywords.
Read more in Chapter 5: Formatting: Team Rules of Robert C. Martin’s Clean Code.