Skip to Content
avatar image
Former Member

Reg : Communication b/w 2 DC's

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 06, 2008 at 05:59 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 06, 2008 at 06:04 AM

    Hi

    Do like as above post and also see the below link you will get more about Dc's

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30d56578-f7e5-2a10-5ab5-8afc55d2e0e8

    Thanks,

    Tulasi Palnati

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 06, 2008 at 06:39 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 06, 2008 at 07:28 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 06, 2008 at 10:09 AM

    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

    Add comment
    10|10000 characters needed characters exceeded