Show TOC Start of Content Area

Background documentation Interfaces of Components  Locate the document in its SAP Library structure

Each component has an interface in order to enable communication between Web Dynpro components and to enable a component to be called up by a user. This interface consists of two parts:

      Interface view of a window contained in a component

      Interface controller of a component

Interface View of a Window Contained in a Component

The interface view of a Web Dynpro window is used to link a window with a Web Dynpro application that can be called by the user.

If one component uses another component, a parent child relationship exists between the both. In this case, the child component can be integrated in one of the windows of the parent component using inbound and outbound plugs. These inbound and outbound plugs are implemented as part of the respective window. The window of the child component can behave like a view with regard to navigation.

The window of the child component does not have to have graphical elements. It can also be available for the functions contained in the component controller or for contexts for the parent component.

Interface Controller of a Component

As well as the visual part, the interface of a Web Dynpro component has a programmatic part, the interface controller. This is visible inside and outside the component, and performs the programmatic side during the exchange of business data. A parent component can also call a child component using this controller.

The interface controller, like the interface view, is not an independently implemented object. Instead, the visibility of methods and events of the component controller can be extended beyond the limitations of the component in question.

An additional option for data exchange between the parent and the child component is cross-component context mapping.

The interface of a component can also be defined independently without implementation. It is therefore possible to separate the development of the Web Dynpro component and the development of one use of the component. You can also create multiple interface implementations for a component. For each interface, the required implementation is not selected until runtime. The interface and implementation are linked by the same name.

More Information

      Controllers  

      Windows and Views  

      Window Navigation Plugs

      Context Mapping  

End of Content Area