SAP BO Information design tool①

1. Create a relational connection to an Excel spreadsheet or text file using ODBC drivers

SAP BO Information design tool①_第1张图片

1.1 Select Open Session

SAP BO Information design tool①_第2张图片

 1.2 Enter the credentials for the session.Type password and then click OK.

SAP BO Information design tool①_第3张图片

 1.3 You can create a connection directly in the Connections folder on the BI platform. click the expend the session.

SAP BO Information design tool①_第4张图片

 1.4 Right Click the connection folder

 1.5 Selection Insert Relational Connection.

SAP BO Information design tool①_第5张图片

 1.6 Define a unqiue name for the connection . Type Warehouse_csv and then click the Next >.

 SAP BO Information design tool①_第6张图片

 1.7 Choose the appropriate driver based on the data source. Click to expand the Microsoft drivers.

SAP BO Information design tool①_第7张图片

 1.8 Choose the driver for the appropriate version of Microsoft Excel for a spreadsheet. or use the Text Files option for a CSV or text file.Click to expand the Text Files data source.

SAP BO Information design tool①_第8张图片

1.9 Select ODBC Drivers.

 SAP BO Information design tool①_第9张图片

 1.10 Click Next>.

SAP BO Information design tool①_第10张图片

1.11Note that a system Data Source Name (DSN) must already exist for the data source. All avaliable  DSNs display in the list.  Click Test Connection. 

 SAP BO Information design tool①_第11张图片

1.12 Click Close. 

 SAP BO Information design tool①_第12张图片

1.13 Click Next>. 

 SAP BO Information design tool①_第13张图片

1.14 If desired, you can change the parameters for the connection. Click the Next>. 

 SAP BO Information design tool①_第14张图片

1.15 Click Finish. 

 SAP BO Information design tool①_第15张图片

1.16 Open the new connection and view the associated values. Click to expand the Connections folder.

 1.17 Click to scroll down.

SAP BO Information design tool①_第16张图片

1.18 Double -click the Warehouse_csv connection.

 SAP BO Information design tool①_第17张图片

1.19  Click the Show Values tab.

 SAP BO Information design tool①_第18张图片

1.20 Click to expand the C:\WINDOWS  catalog.

SAP BO Information design tool①_第19张图片

1.21  Double-click the Warehouse.txt table.

 SAP BO Information design tool①_第20张图片

 1.22  Note that you must create a secured connection shortcut to the new connection within a local project in order to use it as the data source for a universe.

SAP BO Information design tool①_第21张图片

 2. Set aggregation navigation in a Business layer.

SAP BO Information design tool①_第22张图片

 2.1 Click Actions  From within the bussiness layer. Set aggregate navigation for the universe.

SAP BO Information design tool①_第23张图片

 2.2 Select Set Aggregate Navigation...

SAP BO Information design tool①_第24张图片

2.3 Click Detect Incompatibility.

 SAP BO Information design tool①_第25张图片

 2.4 Clear the Imcompatible Objects Only check box.

SAP BO Information design tool①_第26张图片

 2.5 Click Expand All

SAP BO Information design tool①_第27张图片

2.6 Click to scroll down.

SAP BO Information design tool①_第28张图片

2.7 Click to scroll down again.

SAP BO Information design tool①_第29张图片

 
2.8 Select the second aggregate table.

SAP BO Information design tool①_第30张图片


2.9 Click to scroll down.

SAP BO Information design tool①_第31张图片
2.10 Click to scroll down again.

SAP BO Information design tool①_第32张图片

 
2.11 Confirm the selected objects and save your changes, Click OK.

SAP BO Information design tool①_第33张图片
2.12 Click Save.

SAP BO Information design tool①_第34张图片

 
2.13 You have susccessfully set aggregation navigation in a bussiness layer.

SAP BO Information design tool①_第35张图片

3. Insert aggregate table into a data foundation.

SAP BO Information design tool①_第36张图片

3.1 Click to expand the afashion_sql connection.

SAP BO Information design tool①_第37张图片
3.2Click to scroll down.

SAP BO Information design tool①_第38张图片
3.3 Click to hide the naviagtion panel.

SAP BO Information design tool①_第39张图片
3.4 Click the Insert list.

SAP BO Information design tool①_第40张图片
3.5 Select Insert Table...

SAP BO Information design tool①_第41张图片
3.6 Click to expand the afashion_sql connection.

SAP BO Information design tool①_第42张图片
3.7Click to scroll down.

SAP BO Information design tool①_第43张图片
3.8 Select the check box for the first aggregate table.

SAP BO Information design tool①_第44张图片
3.9 Select the check box for the second aggregate table.

SAP BO Information design tool①_第45张图片
3.10 Select the Detect keys check box.

SAP BO Information design tool①_第46张图片
3.11 Click Finish.

SAP BO Information design tool①_第47张图片
3.12 Click Save.

SAP BO Information design tool①_第48张图片
3.13 Right-click the efashion_aggregate .blx bussiness layer.

SAP BO Information design tool①_第49张图片
3.14 Select Check Integrity...

SAP BO Information design tool①_第50张图片
3.15 Click check all

SAP BO Information design tool①_第51张图片
3.16 Click Check Intergrity.

SAP BO Information design tool①_第52张图片
3.17 Click Close.

SAP BO Information design tool①_第53张图片

 3.18 You have sucessfully inserted aggregate tables into a data foundation.

SAP BO Information design tool①_第54张图片

 4. Define aggregate aware objects in a bussiness layer.

Once aggregate tables have been inserted into your data foundation. the next step to setting up aggregate awareness is a universe is to modify the SELECT statement of certain objects in the bussiness layer to make them aggregate aware.

In this tutorial, you will change the SELECT statements for both a dimension and a measure.

Note that this tutorial ware recored using SAP BusinessObjects information design tool 4.0 Feature Pack 3.

4.1 Click to open the navigation panel.

SAP BO Information design tool①_第55张图片

4.2 First , adjust the SELECT statement for your dimensions. Click to expand the Time period folder.

SAP BO Information design tool①_第56张图片


4.3 Select the Year dimension

SAP BO Information design tool①_第57张图片


4.4 Click SQL Assistant.

SAP BO Information design tool①_第58张图片


4.5 Double -click to select the expression.

SAP BO Information design tool①_第59张图片
4.6 Press DELETE

SAP BO Information design tool①_第60张图片

 
4.7Click to expand the @Functions folder.

SAP BO Information design tool①_第61张图片
4.8 Double-Click the @Aggregate_Aware function.

SAP BO Information design tool①_第62张图片
4.9 Click to scroll down.

SAP BO Information design tool①_第63张图片
4.10 Click to expand the second aggregate table.

SAP BO Information design tool①_第64张图片
4.11 Add the Yr Column for the table with highest aggregation. Click in the expression after the opening bracket.

SAP BO Information design tool①_第65张图片
4.12 Double-click the Yr column.

SAP BO Information design tool①_第66张图片
4.13 Click to collapse the table.

SAP BO Information design tool①_第67张图片
4.14 Click to expand the first aggregate table.

SAP BO Information design tool①_第68张图片
4.15 Add the same column for the next table.Click in the expression before the closing bracket.

SAP BO Information design tool①_第69张图片
4.16 Double-click the Yr column.

SAP BO Information design tool①_第70张图片
4.17 Click to collapse the first aggregate table.

SAP BO Information design tool①_第71张图片
4.18 Click to expand the Calendar_year_lookup table.

SAP BO Information design tool①_第72张图片
4.19 Click in the expression before the closing bracket.

SAP BO Information design tool①_第73张图片


4.20 Type a comma,and then double-click the Yr column.

SAP BO Information design tool①_第74张图片
4.21 Validate the expression and save your changes. Click Validate.

SAP BO Information design tool①_第75张图片
4.22 Click Close

SAP BO Information design tool①_第76张图片
4.23 Click Ok

SAP BO Information design tool①_第77张图片
4.24 Click Save

SAP BO Information design tool①_第78张图片
4.25  Click to collapse the Time period folder.

SAP BO Information design tool①_第79张图片
4.26  Click to expand the Measures folder.

SAP BO Information design tool①_第80张图片
4.27 Select the Sales revenue measure.

SAP BO Information design tool①_第81张图片

 4.28 Click SQL Assisant ...

SAP BO Information design tool①_第82张图片

 4.29 Double-click to select the expression.  Press DELETE.

SAP BO Information design tool①_第83张图片

 SAP BO Information design tool①_第84张图片

 4.30 Add the appropriate function . Click to expand the @Function folder.

SAP BO Information design tool①_第85张图片

 4.31 Double-click the @Aggregate_Aware function.

SAP BO Information design tool①_第86张图片

 4.32 Click in the expression after the opening bracket.

SAP BO Information design tool①_第87张图片

For mesures, the values for each column must be aggregated. Keep in mind the column on which the Sales revenue measure is based appears in both the aggregate tables and the Shop facts table, so you will need three Sum functions within the expression one for each table.

4.33 Press ENTER

 SAP BO Information design tool①_第88张图片

 4.34 Type sum(), and then press ENTER.

SAP BO Information design tool①_第89张图片

 4.35 Type sum(),and then press ENTER again.

SAP BO Information design tool①_第90张图片

 4.36 Type sum() and then click to scroll down.

SAP BO Information design tool①_第91张图片

 

SAP BO Information design tool①_第92张图片

 SAP BO Information design tool①_第93张图片

 SAP BO Information design tool①_第94张图片

 SAP BO Information design tool①_第95张图片

 SAP BO Information design tool①_第96张图片

 SAP BO Information design tool①_第97张图片

 SAP BO Information design tool①_第98张图片

 SAP BO Information design tool①_第99张图片

你可能感兴趣的:(SAP,sql,数据库,SAP,IDT)