on 11-09-2009 7:03 AM
Hello experts:
I am doing a development, it requires to get current View instance before Hook method Windoinit is executed. I found the view instance can be get from 'WDDOMODIFYVIEW', but it is too late for me, is there any new approach to get the view instance ?
Thanks in Advance,
Samuel
Hi,
What is your requirement....there is no way to get the view instance.....before doint gets called.
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Lekha,
Thanks for your answer, my problem is I need to set a default selection of Tree UI component, I use the method :
CALL METHOD cl_wd_dynamic_tool=>set_tree_lead_selection
EXPORTING
i_wd_tree = wd_comp_controller->mo_tree_ui
i_new_lead_selection = lo_el_shift_old
i_prev_lead_selection = lo_el_shift_new.
to realize this. you can see if I want to use the above method, I have to initialize the Tree component 'wd_comp_controller->mo_tree_ui' at first. and I get the Tree component Instance for current View Instance.
It is possible get View instance in WDDOINIT method ?
Best Regards,
Samuel
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.