cancel
Showing results for 
Search instead for 
Did you mean: 

purpose of Interface controller

Former Member

Hi,

What is the purpose of Interface controller in webdynpro?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi vasu ,

Technically speaking Interface controller is visible inside and outside of the component, and performs the program side of the exchange of business data.

Thanks,

Murthy.

Answers (4)

Answers (4)

Former Member

hi

Interface Controllers

Interface Controller

One Web Dynpro Component may declare the use of another Web Dynpro Component to form a “Parent-Child” usage relationship. In such cases, the only point of interaction between the parent and child components is the functionality found in the child’s interface controller.

There is a usage declaration arrow pointing from the component controller to a child component. Notice that the arrow joins the child component at the top right-hand corner. This is the location of the child’s interface controller.

At no time does the Web Dynpro Runtime interact with a component’s interface controller. It is only ever used to form a Parent-Child relationship between two Web Dynpro Components.

SAP strongly recommends that no application coding be written directly into the methods of the interface controller. Instead, the public methods of the interface controller should simply delegate their functionality to a method of the same name in the component controller. This will greatly reduce the conversion task required when upgrading to the next release

Interface View Controller

The visual interface of a Web Dynpro component is supplied via the Interface View. This behaves much like a UI element in so much that it can be embedded into the view layout of a parent view as a single, reusable entity.

Once the interface view of the child component has been embedded into a view layout belonging to the parent component, the parent component then has programmatic access to the visual interface of the child component through the child’s interface view controller.

you can also see more details in this link

http://help.sap.com/saphelp_nw04/helpdata/en/9c/a5863f455f3417e10000000a114084/frameset.htm

Regards

Chandran S

Former Member
0 Kudos

Hi Vasu,

This controller is also a special custom controller. This is the only custom controller visible to other components.

The interface controller is the programmatic interface that gives a parent component access to the child component’s functionality. The parent component can call methods in the child’s interface controller, and these methods can react to events raised by the parent component. The Web Dynpro Framework never interacts with a component’s interface controller.The Interface controller is only ever instantiated when the component is used as the child of another component.

The interface controller of a Web Dynpro component contains all context nodes, events and methods of the component controller to which you assigned the Interface addition in the Controller Editor. These parts can be displayed in the interface controller view, although you cannot edit them here.

venkatakalyan_karanam
Active Contributor
0 Kudos

Hi vasu

The purpose of interface controller is to communicate with outside of the component.Suppose a component intrface controller is used to handle communication with the outside world of that component.See the component structure.Vasu all these are basic questions you can refer any text books like

Inside webdynpro java by chris whealy

Maximizing webdynpro

Refer www.help.sap.com

Search for the previous forums and blogs

regards

kalyan

Former Member
0 Kudos

What is the purpose of such questions? Past SAP certification exam without learning WD?

VS