on 03-15-2007 7:26 AM
Hi,
How to use messages in WebDynpro-ABAP.
Does it has any class to manage messages like IWDMessageManager or we can just use standard SAP Message types.. like E,W,X,I,S..
I hope it have a message container to display messages.
Thank U for Ur time.
Cheers,
Sam
Hi,
see the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d8/2a934259a5cb6ae10000000a155106/frameset.htm">documentation</a> on messages...
Regards, Heidi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank U Guys..
Cheers,
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Go through the below link for the documentation regarding using Messages in Webdynpro Abap.
http://help.sap.com/saphelp_erp2005/helpdata/en/0d/2ca9423961c96ae10000000a155106/frameset.htm
In Webdynpro Abap we have a interface IF_WD_MESSAGE_MANAGER.
In the above link u can also find the sample code on how to use messages in ur coding.
By default position of the message area is on top of the page, If a position different from the default message area position is desired,the "MessageArea" container UI element has to be used.
Hope this helps,
Sachi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sam,
U can hard code the message or u can use the Assistance class's text elements to store the messages.
1) Code to display hard coded message:
report message
CALL METHOD l_message_manager->report_attribute_error_message
EXPORTING
message_text = "Enter the correct Connection ID"
element = elem_flightinfo
attribute_name = 'CONNID'.
2) Code to display message from text element of assistance class:
lv_text = wd_assist->if_wd_component_assistance~get_text( key = '002' ).
report message
CALL METHOD l_message_manager->report_attribute_error_message
EXPORTING
message_text = lv_text
element = elem_flightinfo
attribute_name = 'CONNID'.
Where Message "Enter the Correct Connection ID" is stored in Text Element with key '002'
Hope this helps,
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.