on 01-12-2009 4:56 AM
hi friends..
I am new to WDA,
i have some basic doubts.
what is IF_COMPONENTCONTROLLER ? what is the use of this interface in WDA ?
what is IG_COMPONENTCONTROLLER ? what is the use of this interface in WDA ?
what is the need of IG_COMPONENTCONTROLLER ?
what is the difference between IF_COMPONENTCONTROLLER and IG_COMPONENTCONTROLLER ?
kindly give me some inputs
Regards
deva
Hi Deva,
IF_COMPONENTCONTROLLER is an interface. When we need to refer to component controller, we need to create a variable which should be of IF_COMPONENTCONTROLLER type.
IG_COMPONENTCONTROLLER is also an interface. When we access all publicly accessible methods, variables declared in the component controller , we have attribute WD_COMP_CONTROLLER ( contained in view controller ) which is a reference variable of the type IG_COMPONENTCONTROLLER.
I hope it helps.
Regards
Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deva,
1. IG_COMPONENTCONTROLLER
if you want to use used component in your view you have to declare the usage of that component. your view controller already contains the attribute WD_COMP_CONTROLLER, which is a
reference variable of the type IG_COMPONENTCONTROLLER. In each view controller, you
can use the attribute WD_COMP_CONTROLLER to access all publicly accessible methods of
the component-global generated interface of the corresponding component controller.
2. IF_COMPONENTCONTROLLER
each component has a local interface, the controller attribute WD_THIS is a reference to this local interface.Depending on the controller, a reference variable can be of IF_COMPONENTCONTROLLER type. now this type of refrence variable will allow you to use methods and attribute of local component controller.
regards
Pranav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is info on various components controller here.
http://help.sap.com/saphelp_nw04s/helpdata/en/fc/501b42b5815133e10000000a155106/frameset.htm.
I think this will help you.
Best regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.