user management - analytic priviliges

8
SAP HANA and In-Memory Business Data Management Previous post Next post User Management: Analytic Privileges Posted by Neha Singla in SAP HANA and In-Memory Business Data Management on May 30, 2012 11:25:47 AM inShare Hello Everyone, In this document, I tried to explain "Analytic Privilege” functionality that comes under the User Management. Note: Analytic Privileges can used only be activated once. If you need to change the Analytic Privilege after it has been successfully activated, you will have to delete it and re-create it from scratch. In the following we are going to grant Analytic Privileges to user USER01 which will finally allow reporting off the Analytic and Calculation Views. We are restricting access to only Company Code ‘1000’. Procedure: 1. Create an Analytical view under “purchasing” package. Right Click on Analytical View > New 2. Enter “AN_EKKO” for the name of the view Select EKKO as a table Click Finish 3. Save and Activate Analytical View

Upload: raghumba8882

Post on 07-Nov-2014

9 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: User Management - Analytic Priviliges

SAP HANA and In-Memory Business Data Management

 Previous post Next post

User Management: Analytic PrivilegesPosted by Neha Singla in SAP HANA and In-Memory Business Data Management on May 30, 2012 11:25:47 AMinShare

Hello Everyone,

In this document, I tried to explain "Analytic Privilege” functionality that comes under the User Management.

Note: Analytic Privileges can used only be activated once. If you need to change the Analytic Privilege after it has been successfully activated, you will have to delete it and re-create it from scratch. In the following we are going to grant Analytic Privileges to user USER01 which will finally allow reporting off the Analytic and Calculation Views. We are restricting access to only Company Code ‘1000’. Procedure: 1. Create an Analytical view under “purchasing” package.

Right Click on Analytical View > New 

 2. Enter “AN_EKKO” for the name of the view

Select EKKO as a table Click Finish

 

 3. Save and Activate Analytical View

Page 2: User Management - Analytic Priviliges

 4. Create an Analytic Privilege under the same package “purchasing”

Right Click on Analytic Privilege > New 

 5. Enter name AP_EKKO_BUKRS_1000

Enter a description Click “Next”

 

 

6. Select the Analytic Views

Click Add Click Finish

 

 7. Implementing the privilege is now done in three steps:

Page 3: User Management - Analytic Priviliges

1) Select further views for which this privilege should be valid (optional). We will not add further views in this step.2) Select attributes on which a restriction shall be defined (All fields of all views selected in 1 will be offered)3) Define value restrictions for the attributes selected in 2 

 8. Add the field “BUKRS” to the list of “Associated Attributes Restrictions”.

Click the corresponding “Add” button Select field “BUKRS” from the presented field list Click “OK”

 

 9. Define the value restriction for field “BUKRS”

Click the “Add” button for “Assign Restrictions” (this increases the counter for the number of restrictions for BUKRS)

Click into the “Value” field in “Assign Restrictions”. Click the “…”-icon. In the search window, search for Company Code 1000 Select the Company Code from  the search list Click OK

(Note: you could also have typed in the value directly, without opening the search window) 

Page 4: User Management - Analytic Priviliges

 10. Save and Activate Analytic Privilege 

 Assign Analytic Privilege AP_EKKO_BUKRS_1000 to user USER01

For granting Analytic Privileges, there are two possibilities: via the User Editor in SAP HANA Studio; or via SQL statements. 11. Open the User Editor for user USER01 under Catalog > Authorization > Users

In that Editor, switch to tab “Analytic Privileges” 

 12. Click the green “+”-icon

In the search dialog, start typing “AP_EKKO_BUKRS_1000” From the list of “Matching items”, select privilege “purchasing/AP_EKKO_BUKRS_1000” Click “OK”

 

Page 5: User Management - Analytic Priviliges

 13. Save the user profile.

 Verify that the user can read from Analytic View AN_EKKO 14. Right-click the Analytic View “AN_EKKO”

Select “Data Preview” from the context menu. 

 15. Verify that the list contains only records with BUKRS = 1000 

Page 6: User Management - Analytic Priviliges

 Hope it is helpful for all. Happy Reading! Regards,Neha Singla1359 Views Average User Rating(3 ratings)

inShare

6 Comments

Andy Silvey May 30, 2012 11:28 AMHi Neha, excellent blog thank you. Andy.Like (0)

Anooj Behanan May 30, 2012 3:09 PMGood BlogLike (0)

anil sasidharan Aug 29, 2012 11:00 AMHi Neha, The post is pretty good. I have a query regarding the assignment. 

Page 7: User Management - Analytic Priviliges

I tried to assign the analytic privilege using the id that created it. But it gave me authorization error. I could assign only using SYSTEM and it shows the grantor as _SYS_REPO. Any thoughts on this ? Regards,Anil SasidharanLike (0)

Renu Swadesh Jan 11, 2013 6:31 PMHi Neha, really good blog..will you please share if you have any SQL script screen shots..? pls cover almost all important topics in that.. Some times iam unable to login even am givin curect user name and pass word..please give me your any other mail id to discuss queries in HANA.. Thanks in Advance,  With Regards, RenuLike (0)

SASANK S Feb 13, 2013 12:46 PMHi neha, could you pls answer the below question? Which Security setting can you apply in analytic privilege?Note : There are 2 correct answer to this questiona. Restrict access within an analytic view using measure valuesb. Restrict access within an analytic view using attribute valuesc. Grant access to analytic viewd. Restrict access to analytic view  regards,shashiLike (0)

oRaj Kumar S Feb 15, 2013 8:56 AM (in response to SASANK S)Hi Shashi, This is a certification question. Answer is b and d. In the above example, Neha Restricted access using attibute "BUKRS" which is restricted to Analytic view "AN_EKKO". Please send your email ID.

Page 8: User Management - Analytic Priviliges