Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  program editing →  Testing and Checking Programs →  Internal test statements 

VERIFICATION-MESSAGE

Other versions: 7.31 | 7.40 | 7.54

This statement is for internal use only. It must not be used in application programs.

Syntax


VERIFICATION-MESSAGE id mess 
                     [PRIORITY prio]
                     [RESPONSIBLE user]
                     [MAIL mail]
                     [OBJECT type name].

Extras

1. ... PRIORITY prio

2. ... RESPONSIBLE user

3. ... MAIL mail
4. ... OBJECT type name

Effect

This statement is only intended for use in verification programs of the transaction SVER. It sends a verification message to the verification API.

id is used to specify an ID for the message of up to six digits, and mess is used for the message itself.

Addition 1

... PRIORITY prio

Effect

prio can be used to specify a priority (1: serious error, 2: error, 3: warning, 4: note, 5: information).


Note

The constants intended for this purpose from the class CL_VERI_GENERAL can also be specified for prio instead of literals.

Addition 2

... RESPONSIBLE user

Effect

user can be used to specify a user who receives the verification message by mail. If no user is specified, the author of the verification program is used.

Addition 3

... MAIL mail

Effect

Obsolete

Addition 4

... OBJECT type name

Effect

type and name can be used to specify an object from the database table TADIR to enable navigation from the log display.

If an entry from TADIR is specified using this addition, the verification message is sent to the person specified as responsible in the table TADIR, and not to the author of the verification program.