Skip to Content
0
Former Member
Nov 14, 2006 at 01:25 PM

Displaying error messages on standard UI.

36 Views

Hi,

We are using the portal in our application. For dispalying the error messages we have gone to the BADI and implemented the same. We have created a message class and assigned this to the exception class which we are then raising. The syntax is :

RAISE EXCEPTION TYPE ZCX_ZKPS_XRPM_ERRORS

exporting textid = ZCX_ZKPS_XRPM_ERRORS=>ZCX_ERROR2.

However the problem here is that the length is restrictive. We also tried out with assigning the long text explicitly in the text of the message class, but in such a case, the exception was being raised without the message being displayed. I dont want any restrictions on the length of the message text. Would be nice if somebody could help out urgently in such a situation.

Regards,

Jaydeep.