abapOpenChecks icon indicating copy to clipboard operation
abapOpenChecks copied to clipboard

Open source checks for SAP Code Inspector / ABAP Test Cockpit

Results 117 abapOpenChecks issues
Sort by recently updated
recently updated
newest added

Prefer left or right ```abap IF foo = 2. IF 2 = foo. ``` can probably reuse some code from http://docs.abapopenchecks.org/checks/59/

for selecting MESSAGE and/or WRITE

List of features to be added in CHECK_62 - [ ] https://github.com/larshp/abapOpenChecks/issues/66 LOOPs that can be reduced with WHERE - [x] https://github.com/larshp/abapOpenChecks/issues/379 checking for table lines before looping - [...

`CATCH cx_sy_itab_line_not_found`, but no table expressions exists in the caught code https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abentable_expressions.htm

```abap TRY. DATA(ls_foo) = lt_foo[ field = value ]. CATCH cx_sy_itab_line_not_found. ENDTRY. ``` can be replaced with ```abap DATA(ls_foo) = VALUE # ( lt_foo[ field = value ] OPTIONAL )....

"In the strict mode of the syntax check from 7.50Release 7.50, the INTO clause must be the last clause of a main query. In this case, the optional additions additional_options...

on newer versions, use WAIT FOR ASYNCHRONOUS TASKS UNTIL instead

`RAISE EXCEPTION TYPE zcx_error MESSAGE e001(zclass) WITH 'foo'.` does not give a warning/error if 001 in ZCLASS does not accept parameter

https://help.sap.com/http.svc/rc/abapdocu_753_index_htm/7.53/en-US/abennews-753-others.htm#!ABAP_MODIFICATION_2@2@

```abap IF lv_flag IS INITIAL. IF lv_flag IS NOT INITIAL. * -> IF lv_flag = abap_false. IF lv_flag = abap_true. IF lt_table IS INITIAL. IF lt_table IS NOT INITIAL. *...