Escolar Documentos
Profissional Documentos
Cultura Documentos
Applies to:
SAP NetWeaver Composition Environment (CE 7.1 and above), SAP Netweaver Development Infrastructure (NWDI), SAP NetWeaver Platform, Application Lifecycle Management. For more information, visit the Composition homepage.
Summary
This article provides step-by-step guide on How to migrate Local Developments built on Composition Environment (CE 7.1 and above platform) to a Centralized NWDI environment from Developer's Point of View, in 10 simple steps. Author: Shreyas Pandya
Author Bio
Shreyas Pandya is a SAP Netweaver Enterprise Portal Consultant at Enteg Infotech Pvt. Ltd, India. His areas of expertise in SAP technologies include Netweaver Development Infrastructure (NWDI), WebDynpro Java, Composition Environment, and Enterprise Portal
Table of Contents
Introduction: ........................................................................................................................................................ 3 Step 1: Making Local Development Environment Consistent ............................................................................ 3 Step 2: Importing Development Configurations from System Landscape Directory .......................................... 4 Step 3: Copying Local DCs to NWDI Track SC .................................................................................................. 5 Step 4: Modifying the DC Permissions ............................................................................................................... 6 Step 5: Resolving DC Dependencies ................................................................................................................. 7 Step 6: Making the Track Environment Consistent ............................................................................................ 8 Step 7: Adding DCs to Source Control ............................................................................................................... 9 Step 8: Check-In ............................................................................................................................................... 10 Step 9: Activate ................................................................................................................................................. 10 Step 10: Release .............................................................................................................................................. 11 Related Content ................................................................................................................................................ 12 Disclaimer and Liability Notice .......................................................................................................................... 13
Introduction:
This article provides step-by-step guide on How to migrate Local Developments built on Composition Environment (CE 7.1 and above platform) to a Centralized NWDI environment from Developer's Point of View, in 10 simple steps. For migrating any projects to NWDI compatible environment, there are certain prerequisites that must be fulfilled as below. The project being migrated must follow the SAP's Component Model Standards. From now on the Project will be associated with a Product, composed of Software Components (SCs), which in turn are made up of Development Components (DCs) of different types. Please refer to the blog NWDI Empowered Landscape vs. Landscape without NWDI Setup for more information. Here, in this guide we assume that, Product is already defined and Software Component SC is also created with its build time dependencies declared in SLD. And now, the Track is ready with its runtime systems and SC configured inside Landscape Configurator. Please refer to the video NWDI-based Development Process for detailed overview. The Entire Process is operated from Development Infrastructure Perspective of NetWeaver Developer Studio (NWDS)
Before Finishing you will see all the build-time dependencies of your Track SC. After clicking on Finish, you will be asked to provide the Login Credentials of Development Infrastructure. The Track (Finished Goods CAF_dev) will now appear in your current workspace.
After Copy operation is over, you will see all the DCs inside your Track SC (FGCAF_SC).
Remember that the DCs that you have copied are still not associated in any ways with the Central Repository. We will see how to associate these DCs to a centralized repository in later steps.
By performing this crucial operation, we announce that all our DCs are now contained inside the Track SC (FGCAF_SC).
In the above screenshots all the dependencies that you can see were previously referred from your Local Development Environment (Local Machine), but now these dependencies will be referred from the build time dependencies that are declared in SLD for your Track SC.
(At this stage, if you get an error like "Not all the dependencies could be resolved" then, it indicates that some build-time dependencies are missing. To resolve it you need to add those build time dependencies to your track SC, update the CMS, import them into development and consolidation runtime systems of your track from CMS transport studio and re-import the track in NWDS.)
Once all the DC project structures are created, build all the DCs at a time by selecting all, or build individually. All the DCs must go through a successful DC build operation before proceeding to next step.
After you complete this step successfully, we can say that all your DCs are now associated with the DTR-Client. If you now open the DTR perspective of your Developer Studio & check your track inside Inactive Workspace for Development, you will see the file system of your DCs. But still these changes are not incorporated in DTR-Server. If you open the DTR-Server in DTR Web interface, you will not be able to see the same file structure that is present in your DTR-Client.
Step 8: Check-In
From the open activity view "Check-In" the activities. This action implies that, you are checking-in the activity containing your source code into the inactive development workspace of your track in Design Time Repository (DTR) Server.
Here we need to understand the difference between the STEP 7 & STEP 8, as the operations described in both the steps appears to be somewhat analogous. But wait; here is the difference, After STEP 7, the DCs were just associated with the DTR-Client temporarily in the form of Open Activities. If you Delete or Revert the Activities that were created as a result of Add to Source Control Operation, then it will also remove DC file structure that was created in Inactive Development Workspace of your track from Client DTR. After STEP 8, the DCs will be incorporated in DTR-Server permanently in the form of Closed Activities. And will be available to other Developers too.
Step 9: Activate
From the Activation View, "Activate" the activities. Activating the Checked-In activity implies that, on successful activation your source code will be incorporated in the Active Development Workspace of Design Time Repository (DTR) Server and your latest changes will be deployed on J2EE engine from the ID that is maintained as a deployment User in the Development Runtime system of your Track.
From the Activation Requests View, check the status of the activities that were activated from Activation View by clicking on refresh button. A unique Request ID is assigned to each activation request. Activation request status should be in running state initially (A Man Running indicator) and after successful activation; it will show the green success indicator.
Its also very important not to forget that after a successful activation process, a compiled (built) form of your source code is also incorporated into CBS build space of your track.
Releasing the activated activities implies that these activities will now be available in the import queue of the Consolidation runtime system of your track. Developer's Job gets over when; activities are released from the Developer studio. Transport Manager takes care of the rest of the Transport Process via CMS Transport Studio. Import into consolidation step is followed by the assembly step, where all the changes are incorporated into a single Software Component Archive (SCA) which is later imported or transported to Quality Server for testing.
Related Content
NWDI-based Development Process NWDI Empowered Landscape vs. Landscape without NWDI Setup SAP NETWEAVER DEVELOPMENT INFRASTRUCTURE Best Practices for NWDI: Track design for ongoing development For more information, visit the Composition homepage.