Skip to content

Avoid Obsolete Dash (-) in Form Names ​

WarningAnti-Patterns & Bad Practices#EC NO_DASHRemote Enabled

Overview ​

No Dashes in Form Names.

ATC Finding Message: Avoid dashes in FORM names

Rationale ​

A hyphen inside a form name is legacy ABAP and is easily confused with the component selector for structures. Use underscores in form names and reserve hyphens for component access.

Non-Compliant ​

abap
FORM check-auth.
ENDFORM.

Compliant ​

abap
FORM check_auth.
ENDFORM.

Suppression ​

To suppress findings for this rule, append the pseudo-comment to the statement:

abap
" Standard pseudo-comment:
... "#EC NO_DASH

" SAP CI_ prefix format:
... "#EC CI_NO_DASH

Technical Details ​

Released under the MIT License.