Show TOC Start of Content Area

Procedure documentation Setting Up a Track for Composition Environment Development  Locate the document in its SAP Library structure

Use

Since the existing System Landscape Directory (SLD) and SAP NetWeaver Development Infrastructure (NWDI) systems are based on the SAP NetWeaver 2004s version, here you will find information how you should set up a development track on this 2004s system to be able to use it for development for SAP NetWeaver Composition Environment (CE):

      Update the CIM in the SLD so that current versions of the dependent software component (SC) definitions are available.

      Create a product and SC meant to be developed and define the SC dependencies within the SLD.

      Enable the Component Build Service (CBS) to use a Java 5 SDK to compile the Java source files.

      Create a track for CE development within the Change Management Service (CMS).

      Configure the track to trigger CBS to use the Java 5 SDK (in the tracks XML configuration file).

      Check in and import the dependent SCA files into the track.

Prerequisites

      Knowledge about NWDI installation and configuration.

      Knowledge about product and SC together with SC dependencies in SLD.

      Know how to setup a track within the CMS of NWDI.

Procedure

1. Update SLD Content

...

You have to update the SLD content to get the latest SAP content for CE:

       1.      Go to the following URL address: service.sap.com/swdc.

       2.      Choose SAP Software Distribution Center Download   Support Packages and Patches Entry by Application Group Additional Components SAP MASTER DATA FOR SLD   SAP MASTER DATA FOR SLD 2.0   SAP MASTER DATA FOR SLD 2.0 OS independent.

       3.      Download latest CRDeltaXXX.zip and import it into SLD.

Go to SLD (use the following URL: http://<host>:<port>/sld) and choose Administration Content Import. Browse for the downloaded file and import it.

Note

It might take up to 30 minutes.

2. Define the Product, Software Component and Dependencies

Go to SLD and create a new Product version and at least one Software Component (within SLD go to Home Products New Product Version).

Define the following SC dependencies:

Minimal list of SC dependencies for standard Java EE 5 development:

      DI BUILD TOOL (technical name: SAP_BUILDT).

      ENGINEAPI (technical name: ENGINEAPI).

      J2EE ENGINE FACADE (technical name: ENGFACADE).

      JAVA FRAMEWORK OFFLINE (technical name: FRAMEWORK).

      WEB DYNPRO RUNTIME (technical name: WD-RUNTIME).

Minimal list of SC dependencies for CAF

You need the SC dependencies for standard Java EE 5 development plus:

      SAP CAF (technical name: CAF).

      CAF MF (technical name: CAF-MF).

      PORTAL BASIS (technical name: EP-BASIS).

      PORTAL BASIS API (technical name: EP-BASIS-API).

      EP BUILD TOOL (technical name: EP_BUILDT).

      ES FRAMEWORK (technical name: ESF).

      MMR SERVER (technical name: MMR_SERVER).

Minimal list of SC dependencies for GP

You need the SC dependencies for standard Java EE 5 development plus:

      GP CORE (technical name: GP-CORE).

3. Set Up CBS Service Properties

Change CBS Service Properties to be able to use JDK 1.5:

...

       1.      Log on to the Visual Administrator tool of the SAP NetWeaver 2004s AS Java server.

       2.      Open Services Component Build Service.

       3.      Adjust the two properties

       BUILD_TOOL_JDK_HOME (point to the JDK 1.5 directory).

       JDK_HOME_PATH (define and add a new variable for JDK 1.5, for example JDK1.5.0_HOME).

Example

BUILD_TOOL_JDK_HOME=c:\jdk1.5.0_07JDK_HOME_PATH=JDK1.3.1_HOME=c:\j2sdk1.4.2;default=d:\j2sdk1.4.2;JDK1.5.0_HOME=c:\jdk1.5.0_07

       4.      Save and restart the CBS service within the Visual Administrator tool.

4. Create track for CE Development

...

       1.      Start the NWDI Web UI (use the following URL: http://<host>:<port>/devinf).

       2.      Open the Change Management Service Landscape Configurator Domain Data tab.

       3.      Choose the Update CMS button. The CMS data will be synchronized with the new SLD data.

       4.      Create a new track for CE Change Management Service Landscape Configurator. Add the SC you have created in the SLD as an SC for development to the track configuration.

The list of required Software Components is automatically retrieved from SLD.

       5.      Check-in and import the SCA files according to the defined dependencies into your track.

Note

In the SAP NetWeaver CE, the build archives (that is the SCA files you have to import) are stored under <SAP NetWeaver install dir>\sap\<SID>\SYS\EPS\buildarchives.

5. Set Up the  Build Options for the CE SC

...

       1.      Within the Landscape Configurator Track Data select the new Software Component for Development.

       2.      Choose the button View/Edit XML Content…
Add the following build option to your build variant:

<build-options>

<build-option name="com.sap.jdk.home_path_key"

   <option-value>

<defined variable(for example JDK1.5.0_HOME)>

    </option-value></build-option>

</build-options>

6. Specify CE Runtime Systems

...

       1.      Start the NWDI WebUI (use the following URL: http://<host>:<port>/devinf).

       2.      Go to Change Management Service Landscape Configurator Runtime Systems tab.

       3.      Select the state (Development, Consolidation, Test or Production)for which you want to define a runtime system.

       4.      Specify the connection data for the CE runtime system.

More information: Setting Up the Developer Studio for Development Within a Track.

End of Content Area