Show TOC Entering content frame

Procedure documentation Modeling a Business Query Locate the document in its SAP Library structure

Prerequisites

You have identified the:

·        BDoc type that needs to be mapped to the business query.

·        Combo engine, if you want to associate it to a business query property.

Procedure

...

       1.      In Solution Explorer, expand the Business Library node.

       2.      Click the Business Queries node with the secondary mouse button and choose New.

The Add Object window appears.

       3.      In the Name field, replace the default name of the business query with a meaningful name.

The Business Query Designer appears.

       4.      Select the necessary BDoc and its segment.

       5.      In the Contained BO field, specify a business object.

The business query uses this business object to determine the type of business objects that it has to retrieve.

Example

If you specify the BOORDER business object, the business query retrieves all the orders as a collection of business objects.

       6.      In the Properties grid, click the secondary mouse button and choose New.

The Properties window displays all attributes of the property.

Note

In addition, a row that corresponds to the new property appears in the Properties grid. However, this row contains only the important attributes. 

       7.      Enter data as required for the property.

Note

You specify a combo engine for this property if the property needs to display a list of values at runtime.

       8.      Choose Save.

Example

In the standard mobile client application, the BSACTEMPLOYEE business query is modeled to retrieve a list of employees. The properties of this business query allow you to filter the list of employees based on the main responsible, relationship type, role and so on. The KVBEZ11ROLECOMBO combo engine, which is associated with the role property, provides a list of roles for the application user to choose at runtime.

 

Leaving content frame