on 12-03-2009 9:13 AM
HI,
I want to copy an existing DC to another SC. There it can have a different name, this is no problem.
I read in threads before, that this is not possible.
I tried to copy the existing component controller and paste it to the new DC, but then I have to rename all the Views and Windows and than the DC won't build. Dependencies and so an have do be done manually.
Copying the source codes didn't work.
Have someone an idea how to do this in a way, where I don't have do correct so many things after copying?
Best Regards,
Peter
Edited by: Peter Irk on Dec 3, 2009 10:14 AM
Hi Peter,
I would suggest you to create a new DC in the target track with a new activity and then manually replace the _comp folder of the target DC with the source DC. Close the NWDS if required or simply try reloading the new DC. The updated Component would have replaced the newly created one. So, the complete component is imported, but since you might the deploying the new DC on the same J2EE engine, try renaming the Component Name and the Application Name to avoid any case of Name Clash. You dont have to rename the windows and views as such. The only thing which would be missing would be the DC dependency--Used DCs which you would have to manually fix as it was for the source DC. Once all the dependencies are complete, you can build the new DC and try deploying it. Take care that the used DC references are present on the new track as well. Moreover, you should goto project>properties>Web Dynpro References and add the Library references also.
It should work. And, is the best way to copy DC in my knowledge. Best of Luck.
Regards,
Tushar Sinha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please have a look at this WIKI
http://wiki.sdn.sap.com/wiki/display/JDI/StepbyStepguidetoMoveaDCfromoneSCtoanother
Kind regards,
Saravanan K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.