How to Implement NWDI End NWDI

19
How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks Applies to: SAP NetWeaver, Enterprise Portal, NWDI/JDI. For more information, visit the Portal and Collaboration homepage . Summary This document explains how to begin with implementation of NWDI and how to create the tracks. NWDI (NetWeaver Development Infrastructure) provides consistent development landscape for the developers and helps us to develop software during the life cycle of a product. Connectivity to the NWDI is provided through NWDS (NetWeaver Developer Studio). Author: Ameya Subhash Pimpalgaonkar Company: L&T Infotech Created on: 23 rd October 2007 Author Bio Ameya Subhash Pimpalgaonkar is an Enterprise Portal Consultant at L&T Infotech. SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 1

description

nice to know about nwdi

Transcript of How to Implement NWDI End NWDI

Page 1: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Applies to: SAP NetWeaver, Enterprise Portal, NWDI/JDI. For more information, visit the Portal and Collaboration homepage.

Summary This document explains how to begin with implementation of NWDI and how to create the tracks. NWDI (NetWeaver Development Infrastructure) provides consistent development landscape for the developers and helps us to develop software during the life cycle of a product. Connectivity to the NWDI is provided through NWDS (NetWeaver Developer Studio).

Author: Ameya Subhash Pimpalgaonkar

Company: L&T Infotech

Created on: 23rd October 2007

Author Bio

Ameya Subhash Pimpalgaonkar is an Enterprise Portal Consultant at L&T Infotech.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 1

Page 2: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Table of Contents Getting Started....................................................................................................................................................3

Downloading SCA files....................................................................................................................................3 Special case for SAP NetWeaver 2004s ........................................................................................................3 Deploying SCA files through SDM..................................................................................................................3

Basic Configurations...........................................................................................................................................3 Configure the jdbc connector ..........................................................................................................................3

UME ROLES.......................................................................................................................................................4 Assigning roles for administrator user.............................................................................................................4 Assigning role for Developer user...................................................................................................................5 Security Provider & SLD Roles .......................................................................................................................5 Roles for developer user.................................................................................................................................5 Roles for administrator user............................................................................................................................5

Configuration of CBS (Component Build Service)..............................................................................................6 Logging on to the SLD........................................................................................................................................7 Defining new products ........................................................................................................................................8

Adding dependencies....................................................................................................................................10 Configuration of Domain ...................................................................................................................................13 Result................................................................................................................................................................16 Related Content................................................................................................................................................18 Disclaimer and Liability Notice..........................................................................................................................19

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 2

Page 3: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Getting Started SAP NetWeaver Developer Studio provides the connectivity with the NWDI providing consistent development landscape for the developers and helps us to develop software during life cycle of a product. Here we will explain some of the basic terminologies that are used in NWDI.

• Design Time Repository (DTR): Versioning source code management. Distributed development of software in teams. Transport and replication of sources.

• Component Build Service (CBS): Central build based on the component model.

• Change Management Service (CMS): Central administration of the Java development landscape and the transports covering the entire software life cycle.

• Software Deployment Manager (SDM): Manual and automatic deployment of archives in central runtime systems.

• System Landscape Directory (SLD): Information on the system landscape.

Downloading SCA files

All the SCA files for implementing NWDI, you will get at https://www.service.marketplace.com.

You should possess an S-User id to gain access to these files.

To install NWDI following support packages from SAP Service Marketplace must be downloaded. The support packages are:-

• JDI Build Tool 6.40 • JDI 6.40 • JDI Offline 6.40

The technical names would be • SAPDEVINF14 0-20000267.sca • SAPBUILD14 0-20000950.sca • SAPDEVINFF14 0-20000268.sca

Special case for SAP NetWeaver 2004s

The basic difference between NW 2004 and 2004s is introduction of Usage Types.

A new usage type DI (development infrastructure) is available for NW 2004s so this should install NWDI by using template installer.

Deploying SCA files through SDM

Login to SDM:

Click on development tab and import the files and deploy them in following order

• SAPDEVINFF14 0-20000268.sca

• SAPDEVINF14 0-20000267.sca

• SAPBUILDT14 0-20000950.sca

After all the three files have been deployed, restart the J2EE engine.

Basic Configurations

Configure the jdbc connector

For configuring the JDBC connector doing this log in to the visual admin tool and follow the path

Go.batÆserver0 Æ services Æ JDBC connector

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 3

Page 4: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Choose tab strip Properties.

• Select sysDS.maximumConnections.

• Set the value greater than 45.

• Under Value, enter the new parameter value.

• To set the parameter, choose Update.

• Save the entries.

• The visual administrator tires to restart the JDBC Connector service.

UME ROLES Now as you are done with JDBC configuration, we will now start with UME roles, for that follow this link

http://<hose name> :< port>/useradmin

For NWDI you need following roles:

Assigning roles for administrator user

Create the role as JDI.Admin &

Assign following actions

1) CBS.Administrator

2) CMS.Administrate

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 4

Page 5: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Assigning role for Developer user

Create the role as JDI.Developer & assign following actions

1) CBS.Developer

2) CMS.Display

3) CMS.Export

UME Groups

Now Create a new group named JDI.Administrators and assign JDI.Admin role to it, similarly create the group named JDI.Developers and assign the JDI.Developer role to it. You can also create the test user to be able to work with the JDI, assign the Administrator user to the JDI.Administrators group.

Security Provider & SLD Roles

Now we will edit the security provider property, in visual admin tool.

Choose the tab Runtime Æ Policy Configuration Æ Security Roles.

In the Components section, choose the application sap.com/com.sap.lcr*sld. Æ Choose add Æ Select the Groups tab Æ choose Search. A list of available UME groups appears. Choose the NWDIAdministrators group and then add to SAP_J2EE_Engine_upload and click on OK. The data will be saved.

Roles for developer user Assign the LcrInstanceWriterNR security role to the JDI.Developers group.

Roles for administrator user Assign the LcrInstanceWriterAll security role to the JDI.Administrators group

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 5

Page 6: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Note: If SLD is not prepared on your server then please prepare the SLD on your server.

Configuration of CBS (Component Build Service)

Here make the following changes:

IdleStart = False (This activates the CBS)

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 6

Page 7: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

BUILD_TOOL_JDK_HOME: Set your JDK path here.

JDK_HOME_PATHS: Set your JDK path here

And save the changes

Click on YES,

Don’t change the rest of the properties; Now restart the CBS

Your NWDI is now configured and ready for administrative tasks.

Logging on to the SLD Follow this path to log in to the SLD

http://<hose name> : <port>/sld

Login using admin credentials & you will get the following screen.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 7

Page 8: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Defining new products Click on Products to define new product

Fill in the required entries as shown in following screen.

Create the software unit and fill in all the entries as shown in the screen bellow

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 8

Page 9: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Now create the Software component and fill in all the entries as shown in screen bellow.

Now your product will appear on the main screen of software catalog

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 9

Page 10: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Adding dependencies

Now select your product, a detail tab-strip screen will appear, in that select software unit tab. In this select the software component created by you to add the usage dependencies. You use usage dependencies to define the software components on which the new software component is based, and to define the dependencies for the central build.

Click on “Dependencies” tab.

You have to add three usage dependencies and those are:

SAP J2EE ENGINE

SAP BUILD TOOL

SAP JAVA TECH SERVICES

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 10

Page 11: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Search for SAP J2E

Select the SAP J2EE ENGINE & click on Define Prerequisite Software Components

Now similarly search for SAP_BUILDT

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 11

Page 12: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Select the DI BUILD TOOL & click on Define Prerequisite Software Components.

Now search for SAP_JTECHS

Select the SAP JAVA TECHONOLOGY SERVICES & click on Define Prerequisite Software Components.

Now you will get the all three dependencies added to your SC as shown bellow

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 12

Page 13: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Configuration of Domain Now we will log on into the devinf where we will configure the domain for that follow the path

http://<host name> : <port> /devinf

Login using Admin credentials and you will be taken to following screen

Click on Change Management Service and following screen appears,

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 13

Page 14: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Now Click on Development tab to edit the domain,

Enter all the compulsory entries & Click on Save domain & Update CMS

Note: Update CMS is very important step and please do not forget to Update the CMS.

Now Click on Landscape configurator.

Click on New to create new track.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 14

Page 15: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Fill in all the details such as track id, Track name, and Track description

Also provide the DTR URL & CBS URL.

Here select the SC created by you, I our case it is Test_1, select it and click on add.

Now you will get the following screen & all three usage dependencies also will be included.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 15

Page 16: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Result Save these settings and you will get the success message as track created successfully in the lower left of the screen,

Now your track will appear in main screen as shown below

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 16

Page 17: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Now click on transport studio and you will get the following screen, Select the Check-in tab.

Here check-in all the components, these archives are checked in to the track and placed in the import queue of the development system.

In the Transport Studio, choose the Development tab page. • The checked in software components are in the import queue with the status “Waiting for import”.

• Choose Select All and then Import. If the import is successful, the status changes to Import

finished. • Repeat these steps for all systems for which you have configured the track.

Now click on Import & you will get the following screen

Look at the status now its showing Import finished. Your track is now configured & ready to use for development component in NWDS.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 17

Page 18: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

Related Content Java development infrastructure

SAP HELP

SDN JDI wiki

For more information, visit the Portal and Collaboration homepage.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 18

Page 19: How to Implement NWDI End NWDI

How to Implement NetWeaver Development Infrastructure and NetWeaver Development Infrastructure Tracks

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 19

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.