on 06-27-2008 6:05 AM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.