Validation MessagesWhen you define validations, you can also specify which message will appear on the user’s terminal when a check statement is not met. You can create a long text for each message.
Select the desired validation. Choose .
The screen
Maintain Messages: Class <class ID>
appears.
You can also access message maintenance when maintaining steps in a validation. If the
Message
node is marked, you can choose the corresponding pushbutton in the right-hand area of the screen to call up the
Maintain messages
function.
In the
Message class
field, enter the message class for which you want to create or change messages.
Choose
Messages
and then
Change
.
The screen
Maintain Messages: Class <message class>
appears. The messages are displayed in the logon language. If you want to create or change messages in another language, you must log off and then log on again in the language in which you want to enter messages.
To create a message:
a) Position the cursor on the first empty message line.
b) Choose .
c) Enter a text for the message.
If you want to use a variable in the message, enter an ampersand (&) for the variable. You can enter a maximum of four variables in a message.
Cost center & cannot be posted with business area &
Two variables are used in this message: one for the cost center and one for the business area. You define the table/field name for the variable when you create the validation.
To change a message:
a) Position the cursor on the message you want to change.
b) Choose .
c) Overwrite the current message text with your changes.
You can use the following additional functions in this screen:
Additional Functions on Maintain Messages: Class <Message Class> Screen
Choose |
Function |
|
Create/change/display messages in another message class. |
|
Change all messages |
|
Change a particular message |
|
Display only the messages that have been defined |
|
Save the messages |
|
Print the messages |
|
Create message using next available message number |
|
Display next defined message number |
|
Delete a selected message |
|
Select a message for further processing (to delete it, for example) |
|
Search for a particular message text |
|
Search again for the message text last entered |
|
Mark a message as self-explanatory so that the message does not need to be documented |
|
Display or change the long text (documentation) for a message |
|
Mark a message as self-explanatory so that the message does not need to be documented |
|
Translate the message text |
|
Display or change the message class for a message |
|
Assign an object type (such as a table view) and subobject to the message, if desired |
|
Display list of defined message classes |
|
Call up the Workbench Organizer, for example to maintain and display transport requests |
|
Global search for message text as a string or word |
|
Global search and replace for message text as a string or word |
|
Display where a message is used |
To save the message, choose
The system saves the message you created or changed.
On the screen
Create Validation: <Validation Name> (Header data)
, choose
.
The screen
Maintain Messages: Class <class ID>
appears.
In the
Message class
field, enter the message class for which you want to display messages.
For validations messages, the standard version of the application component FI-SL contains message class K2 .
Choose
Messages
and then
Display
.
The screen
Display Messages: Class <message class>
appears. The messages are displayed in the logon language. If you want to display messages in another language, you must log off and then log on again in the language for which you want to display messages.
On the screen
Create Validation: <Validation Name> (Header data)
, choose
.
The screen
Maintain Messages: Class <class ID>
appears.
In the
Message class
field, enter the message class for which you want to delete messages.
Choose
Messages
and then
Change
.
The screen
Maintain Messages: Class <message class>
appears.
Position your cursor on the message you want to delete, and double-click.
Choose .
A dialog box appears, asking if you want to delete the message.
To delete the message, choose
Yes
.
Note
You cannot delete a message that is used by another program (for example, in validations or substitutions).