cancel
Showing results for 
Search instead for 
Did you mean: 

Migrate Local VC Models to NWDI

Former Member
0 Kudos

Hi ,

I have created VC models locally(in Local Repository).I am using CE7.1

How d oi migrate these models to DTR?

Thanks and regards,

Divya

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

check this docs

plese send me ur mail i will forward the same in pdf ..

Visual Composer (VC) Model Componentization using NWDI (NetWeaver Development

To access NWDI (includes DTR) from Visual Composer you need to configure the Visual Composer server and set up a development track. To include the Visual Composer development components(DCs) in a nightly build process, you need to configure the DTR and Component Build Service (CBS) accordingly. This kind of access from Visual Composer to NWDI not only creates usage dependencies of SCs and DCs to existing SC s and DC s but also enhances the Version control (DTR),Change Management System (CMS) and Component Build Service (CBS).

This paper will describe how to configure a new installation of the Visual Composer server and a corresponding track (a new development configuration) that will be used for the first time for developing the Visual Composer models.

The models created in VC for Composition Environment are single or reusable components from other models. A model thus contains a reference to other components enabling both model maintenance and modeling efficiency, which are constructively streamlined. Different types of components that can be integrated into VC models include Web Dynpro components; other components modeled in VC, models of GP processes and various data service models.

VC server and NWDI

The complied models during runtime enters runtime VC server which is Java EE 5 compliant. VC server is connected to NWDI where VC is configured along with NWDI. Using NWDI the software lifecycle management is enhanced using DTR, CBS, CMS and SLD. The Backend Data is directly connected using the connector framework where the data varies from SAP data to data source from web services. Third party data is also connected directly to VC server. This version of VC introduces the concept of reusable components for modeling. VC complies the models and deploys them to different UI technologies such as WebDynpro HTML and Web Dynpro Flex.

Procedure

First Time Setup

1. Configure the Visual Composer server:

a) Configure the SDIC Service.

b) Configure the Development Server - Repository Services service.

c) Configure the VisualComposer - Development Server service

2. Configure Single Sign-On (SSO): Establishes a trust relationship between the Visual Composer server and the NWDI servers, to enable the single sign-on authentication mechanism. You configure SSO using NetWeaver Administrator on the Visual Composer server.

3. Configure the track: Sets up the track for first-time Visual Composer model development.

Visual Composer (VC) Model Componentization using NWDI (NetWeaver Development

Infrastructure)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com

© 2007 SAP AG 4

How to setup an NWDI Track for Composition Environment Developments

1. Update SLD content

2. Define Product and Software Component (at least one SC is created, Define prerequisite SC versions for every SC dependency, Build time dependencies for standard Java EE 5 and WebDynpro Development,SC Build time dependencies for CAF )

3. CBS Service Properties (Using Visual Administrator tool of the AS Java server on which NWDI is running change CBS service properties).

4. Define a new Track for CE

Using Landscape configurator inside NWDI web UI SLD data is synchronized with CMS data, create a new track for CE by adding the newly created SC as the SC for Development to that track the list of required SC is obtained from SLD.

Specify the build options by choosing the button View/Edit XML content for above SC and save Track., Define the required Runtime system in CMS->Landscape configurator->Runtime systems and choose Development then specify the connection data for CE runtime system and save track.

Then check in and import the required SCA files according to fill the CBS buildspaces and copy the needed SCA files according to your SC dependencies. Then find additional SCA files that are needed to implement Composition tools and copy the necessary SCA files to your CMS transport directory.

Then go to CMS ->Transport studio->Check in tab Select the SCA files and check them in Go to Development tab choose select all and import ( Last step to be repeated for consolidation tab).Now the Track is ready for use within developer studio.

5. Setting up the CE Developer Studio.(window->Preferences->Development infrastructure->Landscape Directory and specify the URL of the Landscape Directory that is configured for NWDI server.

Now the developer can import the new Development Configuration into his/her CE IDE. The developer Selects the icon import Development Configuration and choose from SLD the appropriate Development Configuration *_dev and Import it. Then Develop a New Application by creating new DCs with that Development Configuration using Development process of NWDI such as check-in, Activate and release for Transport (From Dev to Cons and Cons to quality and finally approval.

Below is the process explained using an Example involving Visual Composer in Composition Environment.

Development process Using NWDI

At least one SC (SC-1) is created with a defined prerequisite SC version having Build time Dependencies for Standard Java EE 5 and Web Dynpro Development and having BuildTime dependencies for CAF.

In order to create a Model-1 and a DC-1 .One can create a new DC-1 in the Local Repository then make it available for SC-1, which is having build time dependency with Web Dynpro Development and CAF.

Procedure: 1. Model ->New then choose composite view ->In the name field enter a name for the model as Model-1.

1. Then from the repository drop down list choose Local Repository.

2. Then choose Model->Manage models and expand Local Repository node and choose the DC (DC-1) that we want to add to source control system.

3. Model-3 is used as a Reused Component existing as a nested iView in DC-1 in Local Repository using search in Visual Composer. This is related to Model-1 in creating application.

Visual Composer (VC) Model Componentization using NWDI (NetWeaver Development

Infrastructure)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com

© 2007 SAP AG 5

4. Then click Add to source control button using which another dialog box Add to DTR Details dialog box is then displayed. Then click anywhere in the Activity Description field to open the Activity Description dialog box. Enter the description and click OK. Select SC-1 relevant domain and save.

Kindly refer to the document u201CHow to setup an NWDI Track for Composition Environment Developments version 1.00 u2013 April 2007u201D published in SAP Community Network. Start from the page once the Track is created and read below.

1. Select the required Development Configuration and choose from SLD import it.

2. Then select the Build variant for the compartment.

3. After above steps the views Active DCs, Inactive DCs and Local DCs now contain a new entry with the name of the imported development configuration.

4. Newly created DC (DC-1) now appear in the Inactive DCs view.

5.Now go to models ->Manage models -> choose source control system then select the model to be checked out the Activity Description dialog box is displayed enter the description and click save. The model is checked out and locked.

6. After checking it in other developers can do changes to all the models in DC-1 and changes are versioned which is visible in Version graph. By creating a new activity for changes, which is visible in Open, activities view. Integration conflicts need to be resolved by checking the DTR console.

Version control will become complex if more developers do changes to the same DC-1.

7. Finally click sync button to create a last checked in version of the DC DC-1.

8. After the last check in they are activated in the CBS to be build successfully as DC-1) and seen in Active DCs view.

9. Open the Development Configurations perspective expand waiting you see you activated activities. Using Activation button Select the activity and choose release. The Dialog box release for Transport appears and by choosing release all activities you export and place them in the import queue of the consolidated system.

Now create a new Model-2 and DC-2 for SC-1

Procedure -Model ->New then choose service component ->In the name field enter a name for the model as Model-2 -> from the repository drop down list choose a different source control system which is installed and configured for Visual Composer.

Then in the SC field choose SC-1 that is having build-time dependency with WebDynpro Development and CAF in which you want to save the model and in the DC field choose DC-2 where the model should reside.

Model-4 is used as a Reused Component existing as a navigate to component in DC-2 in Local Repository using search in Visual Composer. This is related to Models in DC-1 and DC-2 having dependencies in VC storyboard.

Now that all the Models inside DC-1 of SC-1 in a different source control system is brought in contact with all the Models inside DC-2 of SC-1 of a different source control system. Not only Models come from different source control system but also from DC having different reusable components. To compile or deploy all

Visual Composer (VC) Model Componentization using NWDI (NetWeaver Development

Infrastructure)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com

© 2007 SAP AG 6

components throughout the dependency chain the developer need to select the Include dependencies Checkbox.

Hence developers from different geographical locations can do changes in DTR unlike Perforce. Concurrent development of multiple users is enhanced where different modifications are carried out simultaneously on the same development resource. This Software lifecycle management of SAP is far superior in its functions with accessibility and quality features.

Manual Deployment of SCA Files

After the developed application has been imported into CONS and assembled, the SCA file is created on the file system of the NWDI server.This SCA file is deployed manually to CE server using the Deploy View within CE Developer Studio. Before an SCA file can be deployed to the CE runtime system from a Developer studio configure the SAP AS Java setting within your Developer studio by going to windows->preferences->SAP AS Java and enter the message server host and port of the CE server.to which you want to deploy the file choose apply and ok. Switch to the Deploy view and select the entry External Deployable Archives right-click the entry and browse for the SCA file you want to deploy. Finally choose the deploy icon from the toolbar and choose OK on the popup.

Result

Visual Composer Model componentization inside NWDI development process enhances not only VC model Component development but also the software lifecycle management.

Visual Composer (VC) Model Componentization using NWDI (NetWeaver Development

Infrastructure)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com

© 2007 SAP AG 7

Related Content

Please include at least three references to SDN documents or web pages.

u2022

http://sdn.sap.com

u2022

Visual Composer Help Portal

u2022

http://help.sap.com

Visual Composer (VC) Model Componentization using NWDI (NetWeaver Development

Infrastructure)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com

© 2007 SAP AG 8

Disclaimer and Liability Notice

This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.

SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk.

SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.

Regards ,

venkat

Former Member
0 Kudos

Hi Divya,

Assuming you have DTR defined as a source control in VC, you can only add full DC to the DTR. Just open Manage Models dialog, select the DC in the Local Repository you would like to add to the DTR and click the Add to source control button in the toolbar.

I hope it helps,

Udi