You are on page 1of 6

Lab: Relational Universe Create a Relational Business Layer View Scenario

Your business layer is large and contains too many objects to be displayed to users in the Query Panel at query design time. The business layer layout contains various dimensions and measures related to many business activities like product purchase, product delivery, sales, and customer satisfaction. You will create a view for customer satisfaction that includes only objects related to this subject in order to limit the scope of layout in the query panel.

Objectives
In this lab, you will: Create a new Business Layer view Display the view content in the Business Layer layout (authoring) Consume the view in the Query Panel (consumption)

Duration
5 minutes

Prerequisites
You must complete the following prerequisite(s) before performing these steps: Create Local Projects and Resources named My Relational Resources (Menu File>New>Project)

SAP AG 2010 SAP BusinessObjects / Page 1

SAP AG 2010 SAP BusinessObjects / Page 2

Perform the following steps as described in order:

Set up Files
1. Copy the Warehouse BL Views.blx, Warehouse BL Views.dfx, and Warehouse BL Views.cnx files from the C:\DKT\DocumentsIDT to the project location (the path of the project location is highlighted above). 2. In the Local Projects view, right-click the My Relational Resources project and click Refresh. The new connection, data foundation, and business layer are now available in the project.

Create Business Layer View


1. Double-click Warehouse.blx to open the business layer. 2. In the Business Layer pane, click Business Layer Views ( 3. Click New. 4. In the Name text box, type Customer Satisfaction. 5. In the Objects Viewed list, select the check boxes for the objects that relate to customer satisfaction and customer care: Class Customer Call Reason Product Customer Satisfaction Customer Calls Objects Customer, City, Number of Customers ALL Product, Line, Category, Number of Products ALL ALL ) to open the editor.

SAP AG 2010 SAP BusinessObjects / Page 3

6. Click OK. 7. From the views selector list, select the Customer Satisfaction view.

SAP AG 2010 SAP BusinessObjects / Page 4

8. Click Expand All (

) to display all objects in the view.

9. Click Queries (bottom of the pane) to open the query panel. 10. Click Insert Query ( ) to create a new query.

11. In the business layer view list, select the Customer Satisfaction view. Note that the layout of the business layer changes to only expose objects included in the view. Not only does the view help users to easily find objects they want to add to the query, it also limits the scope to a specific business area so that they only add appropriate objects to the query. Views are stored with the Business layer in the same file, and are published with the Business Layer on the CMS.

SAP AG 2010 SAP BusinessObjects / Page 5

12. Click Cancel.

End of lab

SAP AG 2010 SAP BusinessObjects / Page 6

You might also like