on 08-05-2008 12:04 PM
Hi,
I have two DCs: DC1 and DC2.
DC2 has one Java Class file with two methods defined in it.
I want to access these methods in DC1. How can I access these methods? Please help.
Thanks.
Venki
hi Venki,
u will not be able to access the methods present in the Java Class of DC2 directly in the DC1.
But define a method in the Interface controller and in this method call the methods present in the Java Class(implement the funtionality) ...
Finally expose the dc2 to the public part and add the component to the Dc1 as used Component .
now from the dc1 call the method defined in the interface controller .
for more information please refer this blog
[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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
suppose you have two DC's :DC1,DC2.
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,
[using functions of other DC|http://help.sap.com/saphelp_erp2005vp/helpdata/en/c9/43973fade73c17e10000000a114084/frameset.htm]
its been discussed in SDN many time... just search in sdn you will find lots...
http://help.sap.com/saphelp_nw04/helpdata/en/e2/084c16e1e4d545bb94c2bc8379d5f8/frameset.htm
PradeeP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Why not expose this methods using interface controller and then access them from other DCs?
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,
You must use one DC into another DC by mentioning the Interface controler. Create public parts and used DC for accessing the method in other DC.
points if useful
thanks
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.