abap-cleaner icon indicating copy to clipboard operation
abap-cleaner copied to clipboard

ABAP cleaner applies 75+ cleanup rules to ABAP code at a single keystroke

Results 131 abap-cleaner issues
Sort by recently updated
recently updated
newest added

Hi, to loop over a list of "options", I want to create a "quasi-constant" table containing these constants. I think there is no way in ABAP other than to do...

Hi, I‘ve got a problem regarding own profiles. Hope you don’t mind a little background to make it clear. We recently created a suitable profile in our team, which we...

out of scope

Hello Is it possible to enter profile or cleaner settings, If there is no development object in the editor / open? Didn't find the possibility... maybe provide a link within...

HI @jmgrassau , in my understanding, an abstract class cannot be created. Therefore we don't need extra definition how it is allowed to be created. before: ```abap CLASS ycl_test DEFINITION...

discussion wanted

Hi, I'm developing in a bydesign system which is on basis release 8.08. When I use ABAP Cleaner with the latest allowed functions it is using all of the newest...

enhancement

Hey, why were this comments positioned so weird by ABAP Cleaner? ![CleanShot 2024-04-12 at 20 25 09](https://github.com/SAP/abap-cleaner/assets/3112128/0aa21d60-f53a-42b1-bc25-c5c55b892597) Thanks! Regards, Vlad

new cleanup rule

Currently the CLI tool only allows to change the source files directly based on the given rules. For code review purposes I propose a `--check-only` CLI flag, that only reports...

new option

Currently the output format is human readable. For automation purposes, I propose to introduce further output formats, which then could be e.g. used in CI pipelines. `abaplint` provides [several formats](https://github.com/abaplint/abaplint/tree/main/packages/cli/src/formatters)...

new option

Hi, in SAP customer coding (maybe not in SAP coding) the ASSERT ID statement seems like a good way to detect "strange occurrences" during runtime, with minimal coding effort. (Of...

new cleanup rule

```abap REPLACE ALL OCCURRENCES OF PCRE ']+)\/>' IN variable WITH ''. ``` https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-us/abapreplace.htm could be replaced with: ```abap variable = replace( val = variable pcre = `]+)\/>` with = ``...

new cleanup rule