abapOpenChecks - Installation - Checks - Utilities - Links

CHECK_66 - RAISE EXCEPTION TYPE message checks

CODE

Statement can be simiplified, MESSAGE tn(id)

following can be simplified

RAISE EXCEPTION TYPE zcx_foobar
  MESSAGE ID 'ZFOOBAR'
  TYPE 'E'
  NUMBER '012'.

to

RAISE EXCEPTION TYPE zcx_foobar MESSAGE e012(zfoobar).

Message does not exist

The message specified in the RAISE statement does not exist in SE91

Configuration

todo