Start of Content Area

Procedure documentation Processing a Message  Locate the document in its SAP Library structure

Use

You want to display a message for the user on the screen, which will inform the user that an error has occurred, for example. If several messages are to be displayed, these will not be shown in the status bar, but in a table. With the Message Editor you can create, change and delete messages. 

Procedure

Creating a Message

...

       1.      Start the Message Editor in subnode Message Pool of the appropriate Web Dynpro component by double-clicking or by selecting the entry Message editor in the context menu. The user interface of the Message Editor appears.

       2.      If you choose This graphic is explained in the accompanying text Add Message, a dialog box appears in which you can create a message. Enter any name that is unique in this Message Pool  for the message key, and select the message type from the dropdown box or using the input help F4.

       3.      Now enter the corresponding message text. Save the messages by placing the cursor on the project name in the Web Dynpro Explorer and choosing Save all Metadata in the context menu. See also Message Editor.

Changing a Message

...

       1.      Open the Message Editor as described above. A dialog box appears that contains the messages already created. See the following examples:
This graphic is explained in the accompanying text

       2.      Click on an entry to select it.

       3.      If you choose This graphic is explained in the accompanying text Edit this Message –Open Editor Dialog, a dialog box appears in which you can edit or change an existing message.
This graphic is explained in the accompanying text

       4.      After you have made your modifications, choose OK to confirm the changes. To save the modifications, choose Save all Metadata in the context menu for the Web Dynpro project in the Web Dynpro Explorer.

Deleting a Message

...

       1.      Open the Message Editor as described above.

       2.      Click on an entry to select it.

       3.      If you choose This graphic is explained in the accompanying text Delete this Message, the system deletes the message immediately without asking for confirmation. After you have deleted the entry, you save the modifications by choosing Save all Metadata in the context menu for the Web Dynpro project in the Web Dynpro Explorer.

Result

Using the wizard support of the Message Editor, you have created messages that are available for error handling in Web Dynpro applications and inform the user if errors occur during the execution of the application.

  

  

 

End of Content Area