We recommend using the ABAP cleaner plug-in for ADT (see installation instructions), which cleans up your code directly from within the IDE, and checks for updates automatically. If you nevertheless prefer to use the stand-alone version of ABAP cleaner (e.g. in order to use it with SAP GUI or from the command line), please
- make sure Java 21 or higher (e.g. SapMachine or Adoptium Temurin) is installed on your system, and in the app 'Edit the system environment variables' (Windows), System environment variable 'PATH' contains the path to the java.exe (e.g. C:\Program Files\SapMachine\JDK\21\bin)
- expand "Assets" below and download the archive for your operating system
- extract the archive
- on macOS:
- Move abapcleaner.app to a different directory (e.g. /Applications/abapcleaner.app), do not start it directly from ~/Downloads.
- Remove quarantine attribute from abapcleaner.app, otherwise the app won't start (because it is not code-signed):
xattr -dr com.apple.quarantine /Applications/abapcleaner.app
- start ABAP cleaner
Please check this site for updates since there is currently no automatic update mechanism for the stand-alone version. Release notes are the same for both the ADT plug-in and the stand-alone version.
VS Code extension
The VS Code extension of ABAP cleaner can be installed directly from the Visual Studio Marketplace. Alternatively, you can install it with the following steps:
- make sure Java 21 or higher (e.g. SapMachine or Adoptium Temurin) is installed on your system, and in the app 'Edit the system environment variables' (Windows), System environment variable 'PATH' contains the path to the java.exe (e.g. C:\Program Files\SapMachine\JDK\21\bin).
- expand "Assets" below and download the
.vsixfile for your platform (abapcleaner-vscode-<platform>.vsix) - start VS Code and install the extension with the command 'Extensions: Install from VSIX...'