cancel
Showing results for 
Search instead for 
Did you mean: 

Override the defualt error message

Former Member
0 Kudos

Hi all,

I create a decimal date type and bind it to an input field in a view. When I input a non-numeric value for the field, I got following error message in German "Geben Sie den Wert im Format -2733 ein".

Is there any way to override this error message. I mean replace it with a customized text.

Thanks!

Regards,

Hui

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member201361
Active Contributor
0 Kudos

hi,

u can declare the error messages in the Message Pool.

and u have check whether the input is a decimal or of any other datatype.

use the message manager to throw the error message .

IWDMessageManager messageMgr =

wdComponentAPI.getMessageManager();

in the below link u can find the example for declaring custom messages.

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

thanks and regards

fazal

Former Member
0 Kudos

Hi,

Pl go through the following notes

993423

977425

GS

Former Member
0 Kudos

>

> Hi,

>

> Pl go through the following notes

> 993423

> 977425

>

> GS

Hi GS

thanks for the quick response. But I am not asking how to translate the error message from German to English but how to replace the default system message using customized message.

Hope it makes clear.

Thanks!

Regards,

Hui