on 10-20-2011 9:04 AM
So far as I searched in the customer controller, I see no difference between component controller and customer controller.
what is the customer controller come out for?
hI
One more thing: each time you save your work the IDE compiles your entire code . Now , as your application gets bigger and bigger,
the compiler needs more and more time to get the job done. What I would advise is to "append" a custom controller to each view you
create, provided of course, you know in advance that this view is going to be quite crowded and may need many methods or
RFC calls to support it.
In addition, you may want to create a custom controller if you have many popup windows you need to communicate with.
I hope it helps you.
kind regards
yuval peery
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you guys.
I think i'm much more clear about it now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Custom Controller are same as Component controller.It is also a Global controller.
Component Controller is instatiated when the Application loads , but the custom controller instantiation is done when ever we call a method in the Custom Controller. So looking at the performance point , if you have many methods to share among different views rather declaring in the component controller better declare them in custom controller..
Thanks,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1st it is Custom Controller and not Cusotmer Controller.
As per SAP Help,
It makes sense to create and maintain a custom controller if a certain subset of views of a component should be equipped with a special function or with a special set of data.
also refer,
http://wiki.sdn.sap.com/wiki/display/WDABAP/Introductiontocontrollers
http://help.sap.com/saphelp_nw73/helpdata/en/b9/b82c4142aef623e10000000a155106/content.htm
Thanks,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.