Validation Messages

When 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.

Creating/Changing a Message

  1. Select the desired validation. Choose Start of the navigation path Environment Next navigation step Maintain messages End of the navigation path .

  2. 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.

  3. In the Message class field, enter the message class for which you want to create or change messages.

  4. Choose Messages and then Change .

  5. 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.

  6. To create a message:

  7. a) Position the cursor on the first empty message line.

    b) Choose Start of the navigation path Messages Next navigation step Individual maint End of the navigation path .

    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.

  8. To change a message:

  9. a) Position the cursor on the message you want to change.

    b) Choose Start of the navigation path Messages Next navigation step Individual maint End of the navigation path .

    c) Overwrite the current message text with your changes.

  10. You can use the following additional functions in this screen:

  11. Additional Functions on Maintain Messages: Class <Message Class> Screen

    Choose

    Function

    Start of the navigation path Messages Next navigation step Other message class End of the navigation path

    Create/change/display messages in another message class.

    Start of the navigation path Messages Next navigation step Maintain all End of the navigation path

    Change all messages

    Start of the navigation path Messages Next navigation step Individual maint. End of the navigation path

    Change a particular message

    Start of the navigation path Messages Next navigation step Compact display End of the navigation path

    Display only the messages that have been defined

    Start of the navigation path Messages Next navigation step Save End of the navigation path

    Save the messages

    Start of the navigation path Messages Next navigation step Print End of the navigation path

    Print the messages

    Start of the navigation path Edit Next navigation step Next free number End of the navigation path

    Create message using next available message number

    Start of the navigation path Edit Next navigation step Next used End of the navigation path

    Display next defined message number

    Start of the navigation path Edit Next navigation step Delete End of the navigation path

    Delete a selected message

    Start of the navigation path Edit Next navigation step Select End of the navigation path

    Select a message for further processing (to delete it, for example)

    Start of the navigation path Edit Next navigation step Find... End of the navigation path

    Search for a particular message text

    Start of the navigation path Edit Next navigation step Continue search End of the navigation path

    Search again for the message text last entered

    Start of the navigation path Edit Next navigation step Set as self-explanatory End of the navigation path

    Mark a message as self-explanatory so that the message does not need to be documented

    Start of the navigation path Goto Next navigation step Documentation Next navigation step Long text End of the navigation path

    Display or change the long text (documentation) for a message

    Start of the navigation path Goto Next navigation step Documentation Next navigation step Not to be documented End of the navigation path

    Mark a message as self-explanatory so that the message does not need to be documented

    Start of the navigation path Goto Next navigation step Translation End of the navigation path

    Translate the message text

    Start of the navigation path Goto Next navigation step Message class End of the navigation path

    Display or change the message class for a message

    Start of the navigation path Goto Next navigation step Additional information End of the navigation path

    Assign an object type (such as a table view) and subobject to the message, if desired

    Start of the navigation path Utilities Next navigation step Message class list End of the navigation path

    Display list of defined message classes

    Start of the navigation path Utilities Next navigation step Change requests (Organizer) End of the navigation path

    Call up the Workbench Organizer, for example to maintain and display transport requests

    Start of the navigation path Utilities Next navigation step Global search... End of the navigation path

    Global search for message text as a string or word

    Start of the navigation path Utilities Next navigation step Global replace... End of the navigation path

    Global search and replace for message text as a string or word

    Start of the navigation path Utilities Next navigation step Where-used list End of the navigation path

    Display where a message is used

  12. To save the message, choose Start of the navigation path Messages Next navigation step Save. End of the navigation path

The system saves the message you created or changed.

Displaying a Message

  1. On the screen Create Validation: <Validation Name> (Header data) , choose Start of the navigation path Environment Next navigation step Maintain messages End of the navigation path .

  2. The screen Maintain Messages: Class <class ID> appears.

  3. In the Message class field, enter the message class for which you want to display messages.

  4. For validations messages, the standard version of the application component FI-SL contains message class K2 .

  5. 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.

Deleting a Message

  1. On the screen Create Validation: <Validation Name> (Header data) , choose Start of the navigation path Environment Next navigation step Maintain messages End of the navigation path .

  2. The screen Maintain Messages: Class <class ID> appears.

  3. In the Message class field, enter the message class for which you want to delete messages.

  4. Choose Messages and then Change .

  5. The screen Maintain Messages: Class <message class> appears.

  6. Position your cursor on the message you want to delete, and double-click.

  7. Choose Start of the navigation path Edit Next navigation step Delete End of the navigation path .

  8. A dialog box appears, asking if you want to delete the message.

  9. To delete the message, choose Yes .

Note Note

You cannot delete a message that is used by another program (for example, in validations or substitutions).

End of the note.