on 11-10-2008 4:52 AM
I want to reuse a local development component in other development component.
I want to access the views as well as the methods present in first DC. I want to know how can it be done in WEB DYNPRO in Netweaver CE 7.1. Can some give links of articles present on SDN.
Hi,
Please go through https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30d56578-f7e5-2a10-5ab5-8afc55d2...
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First of all thanks for the links.
I am able access the data present in other DC through context mapping. But how to access the method present in the component controller of the first DC in the Second DC.
Doth the DC are separate Local development projects.
With Regards,
Ardhendu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ondrej ,
Refer the above links to convert the component of the first dc as a public part.
Then declare the methods which are written in the component controller of the first DC in the interface controller with the same signature.( When method is called automatically component controller method is called)
In second dc in component controller properties tab add the reference of the first dc.
Then access the method in second dc as
wdthis.wdget<UsedComponent name>Interface.methodname();
Thanks & Regards,
Ardhendu
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.