cancel
Showing results for 
Search instead for 
Did you mean: 

Call an another Web dynpro componet in our webdynpro componet

Former Member
0 Kudos

Hi Frn's,

i am getting confused while calling another webdynpro componet using interface controller in my web dynpro component ...

i am not getting the idea of relation between interface controller and the views of component .

Please provide sme document , which describe the use the interface controller .

Thanks and Reagdrs..

Priyank dixit

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi ,

The interface controller is used for cross-component communication.

refer this SAP online help :

Controllers of a Web Dynpro Component

http://help.sap.com/saphelp_nw70/helpdata/en/b9/b82c4142aef623e10000000a155106/content.htm

for component usage

1 in the component B , Double click the component in the object tree and choose the tab Used Components.

2 Define a usage of your component A within this component.

3 Do a mapping between the interface controller of ur MAIN component B & the component controller of

ur SUB component A

4 Before you can call the Interface Controller method of the used component in ur view ,you have to declare that the view controller can use the Interface Controller of the used component. By default only the component controller can access used components directly, view controllers have to specify this explicitly.

5 go to the tab Properties of the B, click the button Create Controller Use and select the INTERFACECONTROLLER of the component A for component use .

6 go to WINDOWS , inside ur View container right clck to select embed view to select the view to be embedded

Refer this article on component usage

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2e71ce83-0b01-0010-11a4-98c28a331...

regards,

amit

Former Member
0 Kudos