cancel
Showing results for 
Search instead for 
Did you mean: 

interacting one DC with another DC

Former Member
0 Kudos

Hello All,

how can one webdynpro DC interact with another DC. If anyone have examples please post the links. I am not using NWDI. simply i am creating webdynpro DC.

thanks

vijaya

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Follow these steps:

1. DC Metadata

2. Public Parts> New Public Part><name> and select provides and API for developing and compiling other DCs> select entity type as webdypro components and select the entity from the below list also check the checkbox stating add the entity to public part as source>Finish

3. Build your DC

4. Move to another DC

5. DC MetaData>DC Definition>Used DCs and select Add Used DCs--> and select the public part created above

6. Now open your window in the same DC and select embedd view and select embedd the interface view of a component instance>Next>Now expand the hierarchy and select the interface view of the above DC.

7. You will get a default inbound plug with this DC. Just provide a navigation link from some view of this DC to the interface view.

Regards,

Murtuza

former_member201361
Active Contributor
0 Kudos

hi,

First we have to expose the Dc to the Public part .then

The second dc have the Dc as Component Dependencies.

Finally u have to build the application.

create the component Usage of the first Dc in the second dc Used Components .

Now u will be able to Interact with the First dc in the second dc .

For further Information , please refer this blogs.

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

[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

Fazal B

nikhil_bose
Active Contributor
0 Kudos

To make a dc available in another one

1) You have to have a public part

2) You need to expose the methods and context (if needed) using interface controller.

3) Expose views using interface views.

Following article explains this in detail

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/800b7206-9c6d-2910-f78e-ce403471...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f07c3625-c971-2910-3a9c-ce131487...

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=webDynproComponentization&adv=false&sortby=cm_rnd_rankvalue

Regards

nikhiL