on 12-02-2008 8:17 AM
Hi Experts,
I have a requirement to validate my initial screen.
I am using T1oo mesage handling.
If I want to validate the control of the screen to the Initail and dont want the result screen to be displayed.
How can i achieve it without navigating to the result screen, i want to show the error on the same screen.
Kindly Help.
Thanks in advance!!
Regards,
Sahil
Hi Sahil ,
To restrict the mesage to the same view where error has occoured , you need to set the view parameter of the t100 method ( give the view name ).
Second if you dont want to navigate to result view ( or some other view ) , please check for error and if error occours dont fire the outbound plug , or use the cancel navigation parameter of t100 method.
lo_message_manager->report_t100_message(
msgid = msgid
msgno = msgno
msgty = msgty
p1 = p1
p2 = p2
p3 = p3
p4 = p4
msg_user_data = msg_user_data
is_permanent = ABAP_FALSE
scope_permanent_msg = CO_MSG_SCOPE_CONTROLLER
*view* = *view*
show_as_popup = show_as_popup
controller_permanent_msg = controller_permanent_msg
msg_index = msg_index
*cancel_navigation* = *cancel_navigation*
).
Regards
Amol Deshmukh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.