on 08-06-2008 6:45 AM
Hi,
I created 2 DC's. In DC1 calling only model details for this I used interface controller.In this controller i called methods.
In DC2 , I added DC1 component and in this DC2 view i want to call DC1 model details.
what is the procedure of calling DC1 from DC2.
Please give me reply.
Thanks
risha
Hi Risha,
You can share context/ methods between DCs. Whatever context you want to use in DC2, you have to map that to DC1's interface controller.
Check this [link|/docs/DOC-8661#section5]
Regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Risha,
Check the following steps, these may helpful to you.
1. Create DC1 and create a webdynpro component for DC1.
2. In the interface controller of DC1, create a node in context with required attributes and nodes and set the properties of the parent node to caridnality 1>1 and isInputElement>True.
3.Complete the data binding and mapping for DC1.
4. Create the public part for DC1.
Create New Public Part ---> add WebDynpro Component
5. Create DC2.
6. Add public part of DC1 in used components of DC2.
7. Create webdynpro component for Dc2.
8. Add DC1 in the used webdynpro components of DC2.
9. Complete the data binding and create context mapping.
10. Deploy and run the application.
By following the above steps, we can call DC1 from Dc2.
Thanks & Regards
Reddi Pavana Krishna. K
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 communicating between tow 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.
hi
Communication between DC's
you have to to add DC1 into public part to make it available for DC2 using Add to Public Part.
using these publicparts only we can expose the required functionality to other DC.
add DC1 in DC2 as Used webDynpro components,to access the publicpart.
Expose interfaceview of DC1 in DC2 to access the required methods.
Regards
sowmya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Do like as above post and also see the below link you will get more about Dc's
Thanks,
Tulasi Palnati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.