17
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 Author Publish Date 0.1 Initial Draft Laxmi Ahuja 10 th Oct 2013 0.1 Review#1 Amit Sharma 10 th Oct 2013 www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 1

Sap business-object-universe-idt-lab-i

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Sap business-object-universe-idt-lab-i

SAP Business Object Lab II

Adding Restrictions and Derived TablesOn 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 Author Publish Date0.1 Initial Draft Laxmi Ahuja 10th Oct 20130.1 Review#1 Amit Sharma 10th Oct 2013

www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 1

Page 2: Sap business-object-universe-idt-lab-i

Table of ContentsTable of Contents..............................................................................................................................2

1. How to add Restrictions on Business Layer in IDT.....................................................................3Business Restriction...................................................................................................................4................................................................................................................................................... 4Data Restriction..........................................................................................................................7................................................................................................................................................... 7................................................................................................................................................... 8How to Delete the Restrictions..................................................................................................10................................................................................................................................................. 11

2. Derived Tables in IDT...............................................................................................................11Creating Derived Table.............................................................................................................11Identifying the useless tables....................................................................................................14Creating New Joins.................................................................................................................15

www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 2

Page 3: Sap business-object-universe-idt-lab-i

1. How to add Restrictions on Business Layer in IDTClick 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

Page 4: Sap business-object-universe-idt-lab-i

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

Page 5: Sap business-object-universe-idt-lab-i

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

Page 6: Sap business-object-universe-idt-lab-i

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

Page 7: Sap business-object-universe-idt-lab-i

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

Page 8: Sap business-object-universe-idt-lab-i

Click on the dotted icon to get the list of tables on.

www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 8

Page 9: Sap business-object-universe-idt-lab-i

Select the Table you want to add restriction on and click on OK.

www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 9

Page 10: Sap business-object-universe-idt-lab-i

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

Page 11: Sap business-object-universe-idt-lab-i

2. Derived Tables in IDTDerived 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

Page 12: Sap business-object-universe-idt-lab-i

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

Page 13: Sap business-object-universe-idt-lab-i

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

Page 14: Sap business-object-universe-idt-lab-i

Identifying the useless tables

Now Delete the undesired tables.

www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 14

Page 15: Sap business-object-universe-idt-lab-i

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 DetectClick on Ok.

www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 15

Page 16: Sap business-object-universe-idt-lab-i

www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 16

Page 17: Sap business-object-universe-idt-lab-i

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