cancel
Showing results for 
Search instead for 
Did you mean: 

Web dynpro Component Interfaces

former_member199223
Participant
0 Kudos

Hai,

What is <b>Web dynpro Component Interfaces</b>? This is not a component part.

When you are creating new component u will go to select web dynpro components and give a name i will create.But before that u have option <b>Web dynpro Component Interfaces</b>.what is the use of this option.

Regards,

Boopathi

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member186016
Active Contributor
0 Kudos

Web Dynpro component interface are standalone component interface definitions.

In java you have class and then interfaces. The methods which you want to expose to other APIs , are made part of interface which the class implements. Only the interfaces are exposed to outer APIs.

Somewhat similar whatever you want to expose is made part of component interface definitions.With each component there is one component interface definition associated. In explorer in NWDS you see this under any component as "component interface".

Similarly you can create standalone component interface definitions. Which any component can implement.These standalone component interface definitions are "Web Dynpro component interface".

In o4/04s you will have controller with component interface definition also but in CE there is no controller with component interface definition there is only component controller.

Hope it helps.

Regards,

Ashwani Kr Sharma

former_member199223
Participant
0 Kudos

hai,

Thank You for All answered please give me one good example ...i did not get correctly...

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi Bhoopati

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..

hope it is clear

This blog has a clear example explaining this :

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

Regards

Abhimanyu L

former_member199223
Participant
0 Kudos

hi Abhimanyu,

i have checked the link and also i have done the example but not working ...that msg context value is not avilable in the view.

thanx

Former Member
0 Kudos

Hi boopathi,

Check this for ur doubts

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0409d83-5ed5-2910-ef91-e41da6d5b8b4">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0409d83-5ed5-2910-ef91-e41da6d5b8b4</a>

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/800b7206-9c6d-2910-f78e-ce4034716c56">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/800b7206-9c6d-2910-f78e-ce4034716c56</a>

regards

Sumit

Dheerendra
Participant
0 Kudos

Hi Boopathi,

Just go through the following link, hope so help ful to you.

https://www.sdn.sap.com/irj/sdn/webinar?rid=/library/uuid/30494033-a1d9-2910-bda0-dddd30e68056

Thanks

Dheerendra Shukla