Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

what is CUSTOM CONTROLLER & COMPONENT CONTROLLER

Former Member
0 Kudos

hI ALL

1)what is CUSTOM CONTROLLER & COMPONENT CONTROLLER

GIVE DIFFRENCES AND ADVANTAGES OF EACH

REGARDS

BABU

1 REPLY 1

Former Member
0 Kudos

Hi,

Custom Controllers -

A controller that can be defined by application development and used to share common data over several views. Custom controllers are defined for purposes that cannot be assigned to view controllers or component controllers, and serve as structuring element of a Web Dynpro application. Custom controllers use their context to communicate with their surroundings. They are used for manipulating data, or connecting to the back end.

Leaving content frame

Component Controllers-

Each Web Dynpro component contains exactly one component controller. This controller is automatically created during the component creation and contains a context, events, and methods. Unlike a view controller, the component controller is visible for all views in a component. This means, the controllers of different component views can access context elements or methods of the component controller. For this purpose, the component controller usage is automatically created for every view controller.

See this link for more details -

http://help.sap.com/saphelp_erp2005/helpdata/en/eb/e1cb5eea012b4481f8077c6023a70e/frameset.htm

The definitions explain the difference between these 2 types of controllers.

Hope this helps.

ashish