on 02-27-2014 10:06 AM
Hi All,
Please let me know how the eveent would automatically get trigger on on F4 selection so that i can write my own code in that event.....
But know i have to press enter after selecting value from F4 help and then my code runs.
Please help !!!!
Regards,
Deepak kansal
Hi,
If you are netweaver 7.4, you can use register_on_enter_for_f4( ) method. Check this document for reference:
If you are on lower versions, check this blog:
Or, instead of DDIC search help, you can create OVS and in event handler method of OVS, after setting value, you can write your own processing.
Hope this helps u,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kiran,
Your post was very helpful.....but one thing please let me know, i have already an ddic search help and for that this link is not working Automatically Trigger onEnter event after selecting value from the Value Help(F4 Help)..
has this become obsolete that is why it is happening like that or still we can use it .
Regards,
Deepak kansal.
Hello Kiran,
when i declare below mentioned code in WDinit method :
DATA lr_view_controller TYPE REF TO cl_wdr_view.
lr_view_controller ?= wd_this->wd_get_api( ).
lr_view_controller->if_wd_view_controller~register_on_enter_for_f4( register_on_enter = abap_true ).
Then i am getting below mentioned error :
Method "IF_WD_VIEW_CONTROLLER~REGISTER_ON_ENTER_FOR_F4" is not declared
or inherited in class "CL_WDR_VIEW" - - -- - - - - - - - -
Regards,
Deepak kansal.
Hi,
As mentioned in my earlier reply, to make use of that you need to be on Netweaver 7.4 version.
Seems you are on lower version, so that method is not available in your system. You can create custom event handler for the same: check this blog which was also mentioned in earlier reply: Firing a WDA event on using a Search Help - how to do it, without an NDA . But this is little tricky, so it's your choice to go for it or to use an OVS.
Hope this helps u,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.