Skip to Content
author's profile photo Former Member
Former Member

Component Controller,Custom Controller,interface controller

Hi All,

in WebDynpro there are Component Controller,Custom Controller,interface controller what;s the difference between them when do you use each one and why? (an Example).

Regards,

Murali

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 17, 2005 at 11:54 PM

    Hi

    Refer this link

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/web dynpro sample applications and tutorials.htm

    following examples gives you hands on experience for your questions

    Component Controller

    1 | 2 | 4 | 5

    Component Controller Context

    1 | 2 | 4 | 5

    Component Interface Controller

    14 | 34

    Component Interface View

    13 | 14

    Component Usage

    13 | 14 | 34

    Additional reffer this link also

    http://help.sap.com/saphelp_nw04/helpdata/en/ee/dd1e3e6217b40be10000000a114084/content.htm

    cheers

    Sameer

    PS: Award points if the answer was helpful

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 05:06 AM

    Hi,

    Component Controller and Custom Controller are more or less the same. Both are related to a particular component in the webdynpro application you create.

    Component Controller:-

    For each component of yours there will be a component controller, were in you can define context variables and methods, events etc.. This usefull while using models.

    Simple example where we can see this is, when you create global context variable in this controller and map this variable to the view controller context variable of different view, which enables you to pass the value of the variable from one view to another.

    Custome Controller:-

    They also have the same the function but as the name suggest there function can be customised. That is we can have more than one custom controller for a component. This is usefull when we need to create seperate execute methods for inputs from model import( Both webservice and rfc call).So you can seperate each other. Example is there in the more sample codes and application section.

    Interface Controller:

    There is only one interface controller for a component. It is mainly used when we need to communicate between two components.There is sample application for communication between two components in the sample codes and application section.

    I think this is enough to get an idea on the difference between each of controllers.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.