Show TOC

Procedure documentationDefining Requests Locate this document in the navigation structure

 

You can define the attributes the system is to use for searching for the business object. This definition is called a request (search pattern). You can define multiple requests within one template.

The system generates a default request that contains all the selected response attributes of all the nodes in the template. You can change the default request by adding or deleting attributes. You can also create additional requests. You can choose the request attributes from any node of any template that is linked directly or indirectly to the template you are modeling.

This allows you to define simple and complex requests for a template, which can be used in the applications using Embedded Search.

Example Example

You can define that the user can search for a city name to see all the sales orders for customers located in this city. You can also add to a sales order template the possibility to search for it by the city in the customer master data.

End of the example.

Procedure

  1. Choose Create and enter a name and description for the request in the Name and Description columns, respectively.

    Example Example

    Name: CUST_BY_NAME

    Description: Search customer by name

    End of the example.
  2. Select the request.

  3. Choose Add in the Details: Attributes of Request '<request_name>' area.

  4. The Select Target Attributes dialog box is displayed.

  5. Select a node in the Templates and Nodes area.

  6. Select an attribute or several attributes in the Details: Attributes of Node '<node_name>' area and choose Select. .

Note Note

The attribute name is the technical name of the attribute. This is used during the attributes search, although the technical name or the description can be displayed.

End of the note.

Once you have defined your search requests, choose Finish to complete your template definition or choose Previous to return to a previous step.

If you have completed your definition, you can create a search object connector from your new template in the Template Modeler.

More Information: Creating a Search Object Connector in the Template Modeler