cancel
Showing results for 
Search instead for 
Did you mean: 

regarding message error in bap webdynpro

Former Member
0 Kudos

hai friends

i am new to abap webdynpro

i have doubt that , i palced the table ui element in the view

if that table is not initial

i have to give error message,

is it same way as normal abap

in the view the ui element id name of table is TABLE1

can write this way

if table1 is not initial

then i will call the message method over here through wdcode wizarad

endif

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi shravan.........

dont give the name directly.....

instead check the node that is bound to your table.

if it is initial, throw a message using message manager.

---regards,

alex b justin

Former Member
0 Kudos

Hi,

Check the example WDR_TEST_MSG_AREA .

1. Validate your data in seperate funtion module and update the message Id and number in internal table.

2. Use wizard to declate variable for massage area. It will create data declaration for messages of interface type IF_WD_MESSAGE_MANAGER. In this interface there is a method 'REPORT_T100_MESSAGE'. Pass your message ID and number in your internal table to this method parameter.

If u need more information about message handling, check the following URL

http://help.sap.com/saphelp_nw70/helpdata/en/d8/2a934259a5cb6ae10000000a155106/frameset.htm

Reward point if useful.

Regards,

karthick S