Entering content frame

Procedure documentation Creating Software Components in the SLD Locate the document in its SAP Library structure

Use

To be able to develop your own applications, you must create your own software components 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 the tutorial, you must create two software components yourself. During development work, the developers can add multiple development components to a new software component.

Prerequisites

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

Setting Up the Name Service

Use

To avoid naming conflicts of development objects in a runtime environment, SAP introduced the name reservation service within the context of the development infrastructure.

This graphic is explained in the accompanying text

Although the name reservation service is not mandatory within the development infrastructure, SAP strongly recommends the use of it.

The name reservation service runs on the same technical basis as the SLD. It is therefore possible to run these two features in a single system. But this is not necessary.

Prerequisites

In addition to the prerequisites to SLD server (refer to section …), you have reserved at least one name prefix at the SAP Service Marketplace. For more information about namespace reservation, refer to SAP Note 710315.

Creating Products and Software Components

To create the software components, perform the following steps:

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

http://<host>:<port>/sld

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 and then New Product ... . The Define Product screen appears.

Enter the following data:

Vendor: example.org

Name: MyTechnology

Version: 1.0

       3.      Choose Create.

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

       4.      Enter the following data:

Vendor: example.org

Name: Technology

Version: 1.0

       5.      Choose Create. The SLD creates the software component for the product defined above, and enables you to define a further software component. Choose Cancel. The software catalog appears again.

       6.      Repeat the above steps for the product and software component.

Product

Vendor: example.org

Name: MyApplication

Version: 1.0

Software Component

Vendor: example.org

Name: Application

Version: 1.0

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.      In the software catalog, choose the MyTechnology of example.org product. Choose Release 1.0. The Product Version screen appears.

       2.      Choose the Technology software component. The Software Component Version screen appears.

       3.      Choose Usage Dependencies. The Usage Dependencies screen appears.

       4.      Choose Define Dependencies and define the following dependencies for the Build Time context:

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

¡        SAP BUILD TOOL <Release> (SAP_BUILDT <Release>)

¡        SAP JAVA TECH SERVICES <Release> (SAP_JTECHS <Release>)

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

       6.      In the same way, define the following dependencies for the software component version Application 1.0.

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

¡        SAP BUILD TOOL <Release> (SAP_BUILDT <Release>)

¡        SAP JAVA TECH SERVICES <Release> (SAP_JTECHS <Release>)

¡        TECHNOLOGY 1.0

Reserving Names

Setting Up the Name Server

The setup of the name server takes place in the same way as the setup of the SLD server. It is divided into following steps:

...

...

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

       2.      Importing SAP Master Component Information.

       3.      Configuring SLD data suppliers.

       4.      Registering the name server in the SLD of your landscape in order to declare it as the name server for the development infrastructure. In this case, the role of the server must be Name Server.

                            a.      In the SLD choose Technical Landscape.

The Technical System Browser appears.

                            b.      Select the technical system type System Landscape Directory.

A list of available SLD systems appears.

                            c.      Select the link to the system, which you want to provide the name service.

                            d.      For Roles, select Name Server.

This graphic is explained in the accompanying text

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.

Registering the Reserved Prefix for the Name Reservation Service

The NetWeaver namespace prefixes reserved at the 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 initial page of the Name Server (use Home to reach it), choose Development  ® Name Reservation  ® Define Namespace Prefix.

       2.      On the page Define Namespace Prefix, 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:

¡        By convention: <reserved-prefix>

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

¡        Design Time Package: Follows the syntax of the programming language. For instance, Java package names use reversed internet domain name like com.company.project.*.

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

       3.      For this tutorial, reserve only the Name Categorie Development Component Name.

                            a.      Specify the following two entries:

                                                  i.       example.org/tech

                                                ii.       example.org/appl

Result

You have created the software components Technology and Application and defined the required dependencies and development component name prefixes.

 

 

 

 

Leaving content frame