cancel
Showing results for 
Search instead for 
Did you mean: 

custom controler

ravi_kumar221
Participant
0 Kudos

hi  please explain me custom controller  in webdynpro  with example       dont know  how to  use

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

custom controller is same as componenet controller but they are optional controllers in sap abap wda .they have to be designed at run time and can bu used to encapsulate the sub functions of component controller.you can try on right click on component and create one custom controller .the attributes and structure of both the controller are same and both act as a global controller .

BUT THE MAIN DIFFERENCE IS CUSTOM CONTROLLER HAS TO BE DESIGN AT RUN TIME BY DEVELOPER BUT COMPONENT CONTROLLER CREATED AUTOMATICLY.

Former Member
0 Kudos

Hi Ravi,

Following link will be useful for getting knowledge on Custom controller.

http://help.sap.com/erp2005_ehp_04/helpdata/EN/44/0dca942d9d1ca2e10000000a11466f/frameset.htm

Thanks

santosh

Former Member
0 Kudos

Hello Ravi,

I think you have asked the same question already.

Again for your reference .................

The properties and use of the custom controller that can be added optionally correspond

exactly to those of the component controller. This means that it is visible to all elements of the

component and the lifetime of the elements is the lifetime of the component. The custom

controller gives you the option of structuring functions and data within a component. 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.

Best regards,

Rohit

Former Member
0 Kudos

Custom Controller is just another global controller available for you to use like your component controller. Only thing is you have to declare the usage of this controller in your views as it is not available by default like Component Controller is. Once you declare the usage of this Custom controller, you can use it the same way you use component controller.