How to migrate a DC to a new SC
How to migrate a DC to a new SC
Problem
You have developed one (or more) DC(s) for a SC. Now you want
to use the results (sources) of this development in another DC.
Additionally you
want to enhance the functionality of the DC but not to change the
behaviour of the original DC. Both DCs should be executed at the same
server.
Because you want to run both DCs at the same server the DC
names have to be different. At the same server a DC (that has a unique
name) can only be deployed once.
Solution
To solve the problem you have to migrate the DC to another SC.
This means you have to copy the original DC, assign it to your new SC,
give it a new name and rename the used packages. This does not sound
very difficult. But NWDI and NWDS do not support this with wizards or
other tools. So you have to do all the work manually.
Preconditions
- You defined a new SC in SLD into which you want to
migrate one or more DCs - You defined a new namespace for developing DCs of the new
SC. - You created a new development track in which you develop
the newly created SC. - You imported the development configuration of your new
track.
Steps to do
cfg/.
- def/*.pp
- .dcdef
src/*/.*
Model Folder/*/.*
Conclusion
You may think that this description violates the thoughts that
are behind component based development and I will agree with you. But
in todays practice there are situation that require this solution. The
description was born because customers of mine had this demand.
If one of the readers will have the time to write a tool that
does all this manual stuff with just some mouse-clicks I would highly
appreciate if she uploads this tool to SDN.
operations has been developed and will be shipped
with NWDI in one of the next SPs in Netweaver 2004s.
Best Regards.
Sejoon
Request you ti kindly let me know if you are aware of the tool mentioned here, or you are aware of other procedure where you can use the same DC with diffrent DC name in same SC
do you have an information whether this tool is already available?
Thanks
Franz
you may use the command "movedc" of the command line tool "dctool" to move a DC to a different SC. Find the documentation in SAP library at http://help.sap.com/saphelp_nw2004s/helpdata/en/43/cf6bac44e70a85e10000000a1553f6/frameset.htm
regards
Matthias
Is that possible with this tool and if so how would I go about doing this?
please confirm if the tool is available...
cheers,
SJ
I am trying to copy multiple DC's from one SC to another. Given that DC2 has dependency on DC1, how would I carry these references when I make a copy of the DC's into a new SC? What I would like to avoid is having the new copied DC's reference on of the original DC's from the first SC.
I have created the following diagram to assist in describing my question.
http://img231.imageshack.us/img231/6379/16569361cy3.jpg