Message Data List

The message data list is used to create and manage all messages of the application. Messages can be displayed in the DataView message window or in a query window.


In the Message Data list you can:


Fields and Functions

Message Name name of the message
Type (of message) window type for text output
Message Text message text

Message Name

Name of the message

attribute master attribute for message (T_MESSAGE)
type, entry string, entry required
max. no. of characters 20
selection tool no
multilingual field no

The message name marks the object

Type

Window type for the output of message text

attribute master attribute for message (T_MESSAGE)
type, entry string, entry optional
max. no. of characters 1
selection tool menu with all window types
multilingual field no

Entry:

I = Information
Message text is displayed in the DataView-specific message window.

W = Warning
Message text is displayed in a window with warning icon and OK button.

C = Critical
Message text is displayed in a window with attention icon and OK button.

Message Text

Text of the message

attribute master attribute for message (T_MESSAGE)
type, entry string, entry optional
max. no. of characters 80
selection tool no
multilingual field yes

When a message is called, DataView writes the message text in the messages window at the lower border of the screen.

The text can contain up to three place-holders in the form %s. When a message is called via the standard userexit mes_usx, strings can be passed to these place-holders that will appear in the message text instead of the place-holders.

If you output messages using the function mes_prm in Windows-compliant message windows containing a request, you can specify after the text separated by square brackets which button is to receive the focus in the message window (default button). Possible button shortcuts in the brackets are YES, NO, OK or CANCEL.