cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying Error Message

Former Member
0 Kudos

Hi

i want to display error message from message-group i have, is there a way to do that ? i only found methoods that display text

thanks

Ami

Accepted Solutions (1)

Accepted Solutions (1)

amy_king
Active Contributor
0 Kudos

Hi Ami,

Please read Web Dynpro ABAP - Messages and take a look at the two example web dynpro components mentioned in the documentation. You can achieve this with the methods REPORT_T100_MESSAGE, REPORT_ATTRIBUTE_T100_MESSAGE and REPORT_ELEMENT_T100_MESSAGE of interface IF_WD_MESSAGE_MANAGER.

Cheers,

Amy

Answers (1)

Answers (1)

Former Member
0 Kudos

You can use the "REPORT_T100_MESSAGE" method. Alternatively, you can use MESSAGE e001(message_class) INTO l_text_string_variable. Then pass l_text_string_variable to the method you found.

The tutorials Amy suggested above will show you in details how to do that.