cancel
Showing results for 
Search instead for 
Did you mean: 

Diff between Component Interface and Interface controller

Former Member
0 Kudos

Hi,

Can anyone explain me what is the difference between component interface defined under web dynpro component interfaces and component interface under a component?

Thanks,

Imtiyaz

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

This message was moderated.

siarhei_pisarenka3
Active Contributor
0 Kudos

Hi Imtiyaz

- Standalone Component Interface is just interface without any concrete implementation. Like Java interface.

- Component Interface under a Component is an interface part of the component. It allows the component to communicate with other components.

- Component can implement one or more Standalone Component Interfaces. In the case Component Interface will be extended with public methods/interface windows derived from the Standalone Component Interfaces. This is like Java class implements Java interface.

BR, Sergei

Former Member
0 Kudos

Hi Sergei,

Can you provide me some good examples for Standalone Component Interface and for Component Interface under Component.

Warm Regards,

Muhammad Imtiyaz

ravindra_bollapalli2
Active Contributor
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi,

A component is a reusable UI program package.

A component can copmmnicate with other one via component interface.

Web Dynpro Component Interface is just like an Interface.

Let's say you have two components and you want to show them in third component. one way is you create two used Components, because you know at design time which component you want to show..

If you don't know at design time which component to be shown, you just create a webdynpro component interface and you implement this interface in both the components, and in your main component you just create a used component of this interface component, and handle dynamically which instance of the component you want to show..

Refer this link,

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0409d83-5ed5-2910-ef91-e41da6d5...

Regards,

Sunaina Reddy T

Former Member
0 Kudos

Hi Sunaina,

Can you provide me some good example exercies for communication between two components.

Regards,

Muhammad Imtiyaz

Former Member
0 Kudos

Hi,

Component Interface is the entity which is used when you want to use the functionality defined in some other component i.e. if your main component is acting as a parent comopnent then the child component usage should be defined via this interface controller under Component Interface, so that main compo will access it via childs Interface Controller.

Other node under this , Interface view , gets generated for every creation of window , Interface view is entry point into our application for web Dynpro framework

check out these ex for the Component Interface and node under this,

https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/19e6e990-0201-0010-eca6-a62e342eaa... [original link is broken]

https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/1208c2cd-0401-0010-4ab6-f4736074ac... [original link is broken]

https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/1ee0e990-0201-0010-75bf-a087c241cb... [original link is broken]

Regards,

Srikanth

Former Member
0 Kudos

Hi

Check it out the link

about WebDynpro ComponentInterface

Former Member
0 Kudos

This message was moderated.