cancel
Showing results for 
Search instead for 
Did you mean: 

messages and error handling

Former Member
0 Kudos

i want to know that

the difference among message types

of standard , error and warning

where in which situation we use those types

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi

Check this URL for detailed information about <b>Messages</b>

http://help.sap.com/saphelp_nw04/helpdata/en/72/1d6526263ff24995016a152705eab2/frameset.htm

Regards

Chandran

Former Member
0 Kudos

Hi Pavan

<b>

Message Editor</b>

The message editor will create 4 different types of message –

<i>1) Standard

2) Warning

3) Error

4) Text</i>

The first three message types (<b>Standard, Warning and Error</b>) are used for supplying information to

the screen in the form of messages.

Messages of <i>type</i> <b>Text</b> should be used to store the values for UI elements such as Captions and TextViews.

For More Details Check This URL

http://help.sap.com/saphelp_nw04/helpdata/en/c9/d21e3e49c0a90be10000000a114084/frameset.htm

Regards

Chandran

Former Member
0 Kudos

Hi,

Messages of the type: ERROR, WARNING, or STANDARD are stored as constants in the interface IMessage<Name der Component>.java which is generated by the generation framework on component level.

ERROR MESSAGE IN TABLES:

Errors can appear in table views for different reasons. For example, a user may enter invalid data, or certain items from a set cannot be posted. These cases have to be handled differently.

INPUT ERROR

If a user enters invalid data, highlight the erroneous fields and scroll the table to the first field where an error occurred.

If an error message is needed, place it below the table view or - if possible - in a table row directly below the row where the error(s) occurred.

Table views will have a status bar, where the error message will appear. Place the cursor into the error field and scroll the table to make the field visible in case it is hidden from view.

If there is more than one error field, display the message for the first error field, place the cursor into that field and scroll the table to make it visible if necessary.

If the cursor is placed into a subsequent error field, display the message for the respective field. If an error is corrected move the cursor to the subsequent error field if there is one and display the respective error message.

If the focus is outside the table view, display the first error message again.

WARNING MESSAGES:

If the user of the example application chooses Rent without first specifying a vehicle type, an appropriate warning message must appear. If the user has selected a vehicle type, ResultView displays the vehicle type.

In the following procedure, you implement a warning message in the message pool and the onActionRent() method. You can display the warning message on the user interface using the IWDMessageManagerinterface. You can access this interface in the controller code using the shortcut variable wdComponentAPI.

Regards,

Arun

Former Member
0 Kudos

Hi Pavan ,

You can find them at

http://help.sap.com/saphelp_nw70/helpdata/en/7c/40858b4107524d9abd8a38cbc6d00f/content.htm

http://help.sap.com/saphelp_nw70/helpdata/en/99/34be5f4ee2974a8e7e127c4aeacd9b/frameset.htm

Also refer to this if you want sample code and tutorials.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d">webdynpro</a>

Thanks

Pankaj

Former Member