Show TOC

Procedure documentationPerforming XSD-Based Modelling of DPS Search Models Locate this document in the navigation structure

 

You can use the modeler to import metadata information from DPS-compatible back-end systems to SAP NetWeaver Enterprise Search using XSD files. After you have uploaded the XSD files, you can also use the modelling functions to create DPS-based models.

You should use this method if data providers cannot deliver the complete model or the effort for implementing a template service appears to be greater than the benefit of doing this.

Prerequisites

Creating Customer-Specific Software Components

Before you can create a search model, you must first create a customer-specific software component.

  1. Open the modeler.

  2. Choose   Software Components   Manage Software Components  .

  3. Choose Create to create a software component.

    1. Enter a name in the New SW Comp. field. Leave the other fields empty. Close the screen.

    2. Choose Create to create the software component.

    3. Enter a description for the software component, choose Data Provider Service as the type, and choose Save.

    4. Specify a transport request to add your changes to. Choose Create, if no transport request exists.

    5. Choose Save.

  4. The new software component appears in the modeler.

    Note Note

    The system automatically copies the name of the software component to the Name in the Back End field.

    End of the note.

Procedure

Creating Models

You can create your own models in the customer-specific software component.

  1. To create a model, choose Create in the modeler.

  2. Enter a name and description for the new model.

  3. Choose Edit.

    The system takes you to the roadmap, in which you can configure the model on a sequence of screens.

  4. Switch to the Model Nodes step.

    Check whether or not the metadata provider type is set to XML Schema (XSD).

  5. Choose Create Node.

  6. Switch to the Data Source field and press F4.

    The system takes you to the screen on which you can upload the metadata information from the source system as a file.

  7. Choose Upload Metadata File.

  8. Enter the path to the XSD file and choose Upload File.

    Note Note

    In many DPS-compatible databases, XML schema definitions can be saved as XSD files. You can find an overview of the permitted elements in Overview of the XML Schema Elements Supported

    End of the note.

    After you have uploaded the XSD file, the file name appears below the input field. If you have uploaded an incorrect file, you can use the Remove function to delete it.

    Note Note

    Files that contain identical metadata information are displayed as individual entries in the list but the system does not generate any new nodes.

    End of the note.
  9. Choose Close.

    The file is displayed in the list of uploaded components and data sources.

  10. Select the uploaded Component/Data Source and choose Choose.

    The system imports the metadata information in the XSD file to the format used by SAP NetWeaver Enterprise Search. After the import, you can find the attributes of the node in the lower table. By default, the first entry in the table is assigned the Key flag. If necessary, you can change this assignment.

  11. Continue with the modelling process in the same way as for other models.

Assigning Connection Data to Software Components

To create the connection to the back-end system, the software component requires an assignment to the logical port of your DPS data service.

  1. Prerequisite: You have created a logical port of type Search Data Service. For more information, see Connecting Back-End Systems.

  2. Launch the modeler and select the required software component.

  3. In the Details area, use the Add pushbutton to assign the logical port you want to use to the software component. .

Creating DPS-Based Connectors

In the modeler, select the required DPS-based model and choose   Actions   Create Connector  .

Importing Changed Metadata Information and Updating Nodes

If the data structure in the back-end system has changed, you should update the metadata information imported to SAP NetWeaver Enterprise Search.

  1. Launch the modeler and select the model to be updated. Choose Edit.

  2. Switch to the roadmap step Model Nodes and choose Create Node.

  3. Import the new XSD file. You can delete the obsolete XSD file.

  4. Select the node to be updated.

  5. Choose   Update Node   Update  .

    Your existing entries in the Description, Cont. Text, and Semantics fields are retained.

    You can use the   Update Node   Reset   function to reset all entries in all fields.