Show TOC

Creating a Software Component in the SLDLocate this document in the navigation structure

Use
Note

This is a configuration steps that you have to take to manually configure SAP NetWeaver Development Infrastructure (NWDI), only in case the automatic configuration fails.

To be able to develop your own application, you need to create your own software component (SC) in the System Landscape Directory (SLD). You have to do this before starting to develop your software. The software component is the standard delivery unit for your application. The Configuration Wizard creates a default SC as a post-installation action. If you need a different SC or if the Configuration Wizard does not perform this step, a system administrator or quality manager creates the software components (SCs).

During development work, the developers add new development components to this SC.

If you prefer, you can use the template for creating SC in SLD instead of the described manual procedure. For more information about using the template, see Defining New Versions of Software Components .

Prerequisites

You have a user that can create SCs in the SLD.

Procedure

Creating a Product and Software Components

To create a SC, perform the following steps:

  1. Launch the SLD using the following URL:

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

    Replace <host> and <port> with the data from the Application Server Java (AS Java) that the SLD is installed on. Log on as an NWDI administrator user. The SLD initial screen appears.

  2. Choose Start of the navigation path Software Catalog Next navigation step Products ... End of the navigation path.

    The Software Catalog screen appears.

  3. On the Products tab page, choose Start of the navigation path New  Next navigation step  Create a new product and version End of the navigation path.

  4. Enter the following information:

    • Name: MYPRODUCT (example)

    • Vendor: example.org (example)

    • Version: 1.0 (example)

  5. Choose Next .

    The SLD creates the product and the Add New Non-SAPSoftware Unit screen appears.

  6. Define the software unit, enter NWDIDEMO as the name and choose Next .

    The Add Software Component to Non-SAP Product screen appears.

  7. Enter the following information:

    • Name: MYCOMPONENTS (example)

    • Vendor: example.org (example)

    • Version: 1.0 (example)

    • Product State: started (example)

  8. Choose Finish .

    The SLD creates the software component for the product defined above.

Defining Usage Dependencies

You use usage dependencies to define the SCs on which the new SC 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. Open the list of SCs.

  3. Choose software component MYCOMPONENTS .

  4. Choose the Dependencies tab page.

  5. Choose Define Prerequisite Software Component Versions.

  6. Choose the Build Time context .

    Note

    You use the Build Time context to specify that the SCs can be used to compile your objects.

    You use the Installation Time context to specify that the chosen SCs must exist in the runtime system where you want to run the application. The SCs used in this example exist by default on the AS Java.

  7. Select the required SCs from the drop-down list.

  8. Select the required SC version and choose Define Prerequisite Software Components.

  9. Do this for all required SCs.

    The dependencies are displayed on the Dependencies tab page for the SC version MYCOMPONENTS 1.0 (example).

For more information, see Defining and Removing Software Dependencies .

Result

You have created a product and a SC that you can use in NWDI.