on 01-19-2005 11:09 AM
hi,
I've developed a WD project/application/component and want to use this component in another project, too.
All the tutorials i've found are just describing, how to use different components in <b>one</b> project. Is it possible to reference to the other project?
In the project properties there's something like "Web Dynpro references" but how to use them?
kr, achim
Hi,
If you have a scenario to use component1 from X project to Same component in Y project , you need to develop Dovelopment Componnet project(DC) either it can be webdynpro component/EJB DC then you have to define public parts so that other project can acceess them
if you need specific example i can provide you
RK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Create two WebDynPro Components in the first Component Go to DC Meta Data and then add a public part by right Clicking and select the Web DynPro Component.
In the Second Component go to DCMetaData->DC Definition and add a used Component by selecting the Public Part u have created in the first Component.
Then in the Used WebDynpro Components add the component u have created in the USED DCs.
then u can use the component.
But for all these to work ur interface controller in the first component must expose all the methods u want to use
coz u interact with the other component thr Interface Controller only and u can see ur public part exposes only interface controller
Bye
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I was successfully able to create a DC that uses the components of other DCs by following the steps given in the link :
http://help.sap.com/saphelp_nw04/helpdata/en/ae/1ae58540ea454db1aa14fd635bc10d/frameset.htm
Now the problem is that the used DCs should already be deployed before we can deploy the DC that is using these DCs.
Is there any way by which all the used DCs get deployed automatically when we deploy the DC that uses these DCs?
Thanks and Regards,
Sangeeta Bhandari
Message was edited by: Bertram Ganz
corrected help link
Hi Achim,
As far as I know, you have to create two development components out of the two WD projects. You have to declare the first web dynpro component as public part of the first WD project and specify a usage dependency from the second DC to the first one. Then only you will find the name of the first component in other component list from the Second WD project.
Shubhadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Achim,
In case you want to use the component of one Webdynpro project in another i suggest yuo go through the documentation of Component Model in SAP help.
That lists down these concepts in greater detail.
Regards
Sidharth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashish,
You get the required at the following link.
http://help.sap.com/saphelp_nw04/helpdata/en/6a/69f45201356248830f1e70fdd7178e/frameset.htm
Regards
Sidharth
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.