Creating a Software Component in the SLD


To be able to develop your own application, you must create your own software component in the System Landscape Directory (SLD). You must do this before you start to develop your software. Normally, a system administrator or a quality manager creates the software components.

For this tutorial, you must create a software component yourself. During development work, the developers can add multiple development components for this software component.


You have a user that can create software components in the SLD.

Creating a Product and Software Component

To create a software component, perform the following steps:


       1.      Start the interface of the SLD with the following URL:


Replace <host> and <port> with the data of the J2EE Engine on which the SLD is installed. Log on with the Admin user. The initial screen of the SLD appears.

       2.      Choose Software Catalog ® New Product...

The Define Product Version screen appears.

       3.      Choose New Product Version.

       4.      Enter the following information:

0       Vendor

0       Name

0       Version

       5.      Choose Create.

       6.      Define the software unit and specify the name TaxApplication.

       7.      The SLD creates the product and the Define Software Component screen appears.

Enter the following information:

0       Vendor  

0       Name

0       Version

0       Production State

       8.      Choose Create. The SLD creates the software component for the product defined above.

Defining 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.

You define usage dependencies as follows:


       1.      Under Software Catalog, choose the Software Components tab page.

       2.      Choose the Application software component.

       3.      Choose the Dependencies tab page.

       4.      Choose the context BuildTime.

       5.      Choose Define Prerequisite Software Components.

A selection list for SCs appears.

You can define a filter the results in the top line.

       6.      Define the following dependencies:

0       SAP J2EE ENGINE <Release> (SAP-JEE <Release>)

0       DI BUILD TOOL <Release> (SAP_BUILDT <Release>)


       7.      Choose Create. The dependencies are displayed on the Usage Dependencies screen for the software component version Application 1.0.

Reserving Names

The Name Server checks the uniqueness of names and enables you to define name prefixes. The name server is a role of a SLD. The other role is the landscape server role. The setup of the name server takes place in the same way as the setup of the SLD server. Execute the following steps:


?      Activate the name server. For the name server, the Object Server name must be a namespace reserved and declared as SAP NetWeaver Name Server at SAP Service Marketplace.

For testing purposes, the system ID is sufficient as an object server entry.

?      Import the SAP master component information.

?      Configure the SLD data suppliers.

?      Register the name server in the SLD of your landscape; this declares it as the name server for the development infrastructure. In this case, the role of the server must be Name Server.

Setup of the Name Server


?      You have installed an SLD.

?      Depending on whether you use one SLD with both roles specified above or separate SLDs for each of the roles, the procedure differs.

?      You have released the SLD for CIM clients; if you have not done that yet, proceed as follows:


                            a.      Open the Visual Administrator and log on as an administrator.

                            b.      Choose Server ® Services ® SLD Data Supplier.

                            c.      Choose the CIM Client Generation Settings tab page.

                            d.      Mark the checkbox of the following entry:

Using an SLD


       1.      Go to the initial page of the SLD.

       2.      Choose Enable Name Reservation for NWDI.

Alternatively, you can proceed as described below and select both roles for the SLD.

Using Separate SLDs

       1.      Go to the initial page of the SLD.

       2.      Choose Landscapes.

The Create New Landscape page appears.

       3.      Select the landscape type NWDI System.

       4.      Enter a name for the landscape, for example “NWDI”.

       5.      Choose Create.

The new landscape is displayed.

       6.      Select the new landscape.

You see the details on the landscape.

       7.      Choose Add System to Landscape.

       8.      Choose the hosted system type System Landscape Directory.

You see the installed SLD.

       9.      Choose OK.

   10.      Select the SLD.

The details view appears.

   11.      Select the roles Landscape Server (and/) or Name Server.

   12.      Save your changes.

If you run the two features of SLD and name reservation service in one system in parallel, the server must have both roles of Landscape Server and Name Server.

The name server is now known to the NWDI and can be used there. Only now can you create valid development configurations.

Registering the Reserved Prefix for the Name Reservation Service

The NetWeaver namespace prefixes reserved on SAP Service Marketplace must be entered in the name server so that namespaces for development objects with those prefixes can be created in the name server. The name server supports different types of development object names. For details, read SAP Note 710315.

To register a prefix, proceed as follows:



       1.      On the home page of the name server (use Home to access it), choose Development ® Name Reservation ® Define Namespace Prefix.

       2.      On the Define Namespace Prefix page, specify the name category and the namespace prefix and then choose Create.

You can use a reserved namespace prefix for all object name types in parallel. Register the prefixes for different name categories as follows:

0       By convention: <reserved-prefix>

Enter the NetWeaver namespace prefix reserved on SAP Service Marketplace here (without any slashes).

0       Design Time Package: Follows the syntax of the programming language. For instance, Java package names use reversed internet domain names like*.

0       Development Component: <vendor>/<reserved-prefix>*, whereas the slash / is used as separator of name segments.

       3.      For this tutorial, reserve only the Name Category Development Component Name. Specify the following entry:


You have created the Application software component. You can work with this software component in the NWDI.