on 06-13-2007 5:36 AM
Hi All,
I am getting a problem while enhancing the standard component WDR_F4_ELEMENTARY , in that i am enhancing the view PRESELECTION.
my aim is to make the button 'SEARCH' as a default button of the container . i am writing the following code in the pre-exit of wdmodifyview method
DATA : LR_CONTAINER TYPE REF TO CL_WD_TRANSPARENT_CONTAINER.
LR_CONTAINER ?= VIEW->GET_ELEMENT( 'ROOTUIELEMENTCONTAINER' ).
IF LR_CONTAINER IS BOUND .
LR_CONTAINER->SET_DEFAULT_BUTTON_ID( 'SEARCH' ).
ENDIF.
above code get activated without any error but when i test it , i am not getting the desired result . even tried with this code in post-exit of wdmodifyview .
Kindly help me in this ..
Regards
Yashpal
Hi Yashpal,
is it coz the button is inside a button row , and container is not able to detect that insatnce of the button.
/anzy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
LR_CONTAINER should be of type CL_WD_UIELEMENT_CONTAINER.
Thanks
Anzy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.