cancel
Showing results for 
Search instead for 
Did you mean: 

Using Interface controllers

Former Member
0 Kudos

hi friends,

i have two DC's , i want use one DC data in another DC .how to use it using interface controller and sample code.

thanks in advance.

krishna.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi check this link

Former Member
0 Kudos

https://www.sdn.sap.com/irj/sdn/wiki -->In search -->webdynpro java -->Interface controller

you will get a good example ok

Thanks,

Tulasi.Palnati

Answers (4)

Answers (4)

Former Member
Former Member
0 Kudos

Hi

A step by step approach

1. Create DC1 call it parent DC and DC2 child DC.

2. Create a same context node in view controllers of DC1 an DC2 and same node in the Interface Controller of DC2 component.

3. Map the values between view controller and Interface Controller of DC2.

4. Create public part in DC2 then build & deploy it.

5. Now in DC1 which is parent Component, here use DC2 component's public part in USED DC's of DC1 component.

6. Goto Used Web Dynpro Components and Add Used Component (which is Dc2 Component)

7. Open DC1ComponentWindow and Embed DC2 View using "Embed Interface View of a Component Instance"

8. Now open Data Modeler of DC1 Component there you will get DC2 component under Used Web Dynpro Components.

9. Map values of Context Node between Used Interface Controller of DC2 and View Controller of DC1

(You may create a navigation link between views of both view controllers to test it)

10.build your DC1 and deploy it

Mandeep Virk

Former Member
0 Kudos

Hi,

This [Example|https://www.sdn.sap.com/irj/sdn/wiki?path=/x/0mq] perfectly helps you to use the inerface conroller in real time component based developement.

Regards,

Naga

former_member201361
Active Contributor
0 Kudos

Hi ,

please refer this blog for Exchanging the data betwenn two Dcs.

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/8881] [original link is broken] [original link is broken] [original link is broken];

Thanks and Regards