1. SAP Business Object Lab II
Adding Restrictions and Derived Tables
On Business Layer in information design tool
Description:
BISP is committed to provide BEST learning material to the beginners and advance
learners. In the same series, we have prepared a complete end-to end Hands-on Beginner’s
Guide for SAP BO 4.1. The document focuses on basic keywords, terminology and
definitions one should know before starting SAP BO 4.1. The document talk about adding
restrictions on Business Layer in IDT and Derived tables. Join our professional training
program and learn from experts.
History:
Version Description Change
0.1
Initial Draft
0.1
Review#1
www.bispsolutions.com
Author
Laxmi Ahuja
Amit Sharma
www.bisptrainigs.com
Publish Date
10th Oct 2013
10th Oct 2013
www.hyperionguru.com
Page 1
2. Table of Contents
Table of Contents.............................................................................................................................. 2
1. How to add Restrictions on Business Layer in IDT.....................................................................3
Business Restriction...................................................................................................................4
................................................................................................................................................... 4
Data Restriction.......................................................................................................................... 7
................................................................................................................................................... 7
................................................................................................................................................... 8
How to Delete the Restrictions..................................................................................................10
................................................................................................................................................. 11
2. Derived Tables in IDT............................................................................................................... 11
Creating Derived Table............................................................................................................. 11
Identifying the useless tables....................................................................................................14
Creating New Joins................................................................................................................. 15
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 2
3. 1. How to add Restrictions on Business Layer in IDT
Click on the Security Editor Icon and then you can see the security editor panel like this one.
Click on the Universes in Universes/Profiles panel and select the universe you want to edit security
of.
Once you select the universe, you need to select the users.
Click on the show user icon to get the available users list.
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 3
4. Business Restriction
Click on the Insert Business Security Profile to create the Business Restriction.
You can see the users in the right side.
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 4
5. You can now see the Business Security Editing panel. Give the desired name to your security layer.
Edit the Business layer views and the Objects security by Insert Granted and Insert Denied.
Click on Insert Granted in Business layer views panel.
Select the Master view to insert grant for a specific user/group of users and click on Ok.
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 5
6. Click on Insert Denied in Objects panel.
Select the object/objects you want to deny the access for a specific user/group of users. Click on
Ok.
Click on Ok if you are done with editing the Business Security.
In this panel you can see the Business layer view and objects with their status.
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 6
7. Select the user you want to apply these securities to and click on < arrow key.
Click on Ok.
Data Restriction
Click on the Data Security Profile icon.
The security editor panel will open.
Enter the name for your data security profile.
Click on Rows and then Click on Insert to select the table.
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 7
8. Click on the dotted icon to get the list of tables on.
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 8
9. Select the Table you want to add restriction on and click on OK.
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 9
10. Define the WHERE Clause by selecting the country column and Select the Members from the list.
Click on OK.
Now you can see the table and where clause. Click on OK else you can add more restrictions.
You can see the Data Security Profile created, You can select the User you want to apply restriction
to.
Click on OK.
Save the changes.
Publish to a Repository.
How to Delete the Restrictions
Right click on the Data Security Profile/Business Security Profile.
Select the Delete option to delete the Security Profile.
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 10
11. 2. Derived Tables in IDT
Derived tables should be used in heavy universes as this will replace multiple tables by a single
derived table,
which is a lighter tables, thereby reducing the weight of Universe.
Creating Derived Table
Goto the Edit mode of your universe, then you can see the Master view.
Click on Insert and then click on Insert Derived Tables.
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 11
12. A panel will open to Edit the SQL expression for the derived table.
SELECT all the columns from the table panel such as country_id, region_id and city_id for the
derived table.
FROM clause holds the tables names whose columns are selected for the derived table.
Now you can see the SQL Expression of the Derived table in the expression panel.
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 12
13. Click on Validate.
click on Close.
You can see the created derived table in the master view below.
The created table has columns which we have selected from multiple tables.
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 13
14. Identifying the useless tables
Now Delete the undesired tables.
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 14
15. You can see that the 3 tables are deleted on which the derived table is created.
Creating New Joins
Create the joins with derived tables.
Detect the cardinalities of the joins.
Double click on the join, click on Detect
Click on Ok.
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 15
17. In the master view you can see the joins between the derived table and customer table and also
between derived table and resort table.
Note:
You should not add multiple derived tables because it will increase the complexity of SQL query
and will badly effect the performance of the universe. The performance instead of increasing , will
decreases.
So you need to strike a balance , you must add one or two derived tables and not more than that.
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 17