on 09-17-2008 1:05 PM
Hi
In my table ui element if I enter a value that will validate with a table prps-posid if the value is incorrect it should raise a error message...
pls any one fix this
hi,
in onenter event, read the value and check that wheather this value is present in the check table using select query, then raise the message
Yogesh n
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Implement event handler method of event ON_DATA_CHECK of Interface Contoller(ALV).You will get the value into R_PARAM check this againt check table.If it is not valid then raise a message.
Chek the below code...
method *ondatacheck* .
data:lr_message_manager type ref to if_wd_message_manager,
lr_controller type ref to if_wd_controller.
lr_controller ?= wd_this->wd_get_api( ).
lr_message_manager = lr_controller->get_message_manager( ).
lr_message_manager->report_success(
message_text = 'Data Changed Event Raised'
* PARAMS = PARAMS
* MSG_USER_DATA = MSG_USER_DATA
* VIEW = VIEW
show_as_popup = abap_true
* IS_PERMANENT = ABAP_FALSE
* SCOPE_PERMANENT_MSG = SCOPE_PERMANENT_MSG
* CONTROLLER_PERMANENT_MSG = CONTROLLER_PERMANENT_MSG
* MSG_INDEX = MSG_INDEX
).
endmethod.
thanks
Suman
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.