on 07-14-2006 10:03 PM
Hello,
I need to access componentController from one of the view that I have.
How can I do it?
Thank you.
WD_COMP_CONTROLLER
is declared automatically
and is available in all methods.
so WD_COMP_CONTROLLER->method is possible.
Use code wizard to add. Simple ...
If you want access to the context of controller,
the either create a method in the controller that
reads the controller context and call that method as above
or better, just map the context in view to the component
controller so that data is automatically copied to local view context.
Regards
Phil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check http://help.sap.com/saphelp_nw04s/helpdata/en/b8/f56241ce5dfa6de10000000a155106/frameset.htm section <b>Method Call of the Component Controller in the Event Handler of the View-Controller</b>
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.