abapOpenChecks - Installation - Checks - Utilities - Links

CHECK_42 - Identical WHEN code

Improve this page
RFC enabled
CODE

Checks for identical WHEN-Blocks.

Example:

CASE lv_foo.
  WHEN 1.
    WRITE lv_bar.
  WHEN 2.
    WRITE lv_bar.  " <- identical to WHEN 1
ENDCASE.

Configuration

Configuration