on 06-22-2012 7:35 AM
hi experts,
what is the purpose of wd_<controller>_ctr()
Hi Noufal,
Do you mean method get_componentcontroller_ctr( )? When you are in a VIEW method, this method gives you a reference to the COMPONENTCONTROLLER so that you can call its methods. For example, within a VIEW method, you can call methods of the COMPONENTCONTROLLER by doing the following.
DATA lo_componentcontroller TYPE REF TO ig_componentcontroller.
lo_componentcontroller = wd_this->get_componentcontroller_ctr( ).
lo_componentcontroller->some_method( ).
Cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
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.