on 04-21-2012 9:19 AM
In my abap webdynpro application i have selection option, i can not catch the event in Beforeaction when user click 'Enter'?
note: I want to catch the Enter.
Hi Ali,
You have to register the 'ON_ENTER' event of the WD component WDR_SELECT_OPTIONS in the view of your component.
Then you can either write your code in the WDBEFOREACTION or the event handler method for the ON_ENTER event.
Regards,
Jaspreet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ali,
Sorry for late reply... I don't think it is possible to know the action in the WDDOBEFOREACTION of the using component. Only the actions which are created in the view are caught in the corresponding before action method using the below mentioned code:-
data lo_api_controller type ref to if_wd_view_controller.
data lo_action type ref to if_wd_action.
lo_api_controller = wd_this->wd_get_api( ).
lo_action = lo_api_controller->get_current_action( ).
Also, could you let me know your specific requirement?
Regards,
Jaspreet
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.