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 meaningful 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 is used to specify a priority (1: serious error, 2: error, 3: warning, 4: notification, 5: information).

Note

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

Addition 2

... RESPONSIBLE user

Effect

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

Addition 3

... MAIL mail

Effect

Obsolete

Addition 4

... OBJECT type name

Effect

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

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