Financial Management Blogs by Members
Dive into a treasure trove of SAP financial management wisdom shared by a vibrant community of bloggers. Submit a blog post of your own to share knowledge.
cancel
Showing results for 
Search instead for 
Did you mean: 
madhusap
Active Contributor

Purpose of the Document


The purpose of this blog is to explain how User Access Provisioning to HANA DB is handled by GRC system.


The details discussed below will be more on the technical setup which will include DB Connection Setup from GRC to HANA DB, Deployment of Delivery Unit in HDB, Synching the Users and Roles of HANA DB to GRC, Importing the HANA DB roles into GRC BRM and then user access provisioning to HANA DB through GRC.


GRC can provisioning following different types of roles to users in HANA DB:




  1. HANA Analytic Privileges

  2. Repository Roles

  3. Catalog Roles


Let’s see how you can setup this functionality and can test in GRC 12.0 system (End to End).



Required Configuration to enable ARQ provisioning for HANA DB



HANA Database Connector Setup


Create HANA database connector in GRC system using transaction code DBCO (Database Connection Maintenance)



DB Connection: Fill in the DB Connection name. This name will be used in the connector setup so name it accordingly.


DBMS: Select the type of Database Management System as “HDB” (HANA Database)


User Name and Password: Valid user authentication details to connect to HANA DB. User should have been already created in HANA DB and assigned with required privileges.



Since the RFC user (GRC_FF in this case) is used for integration between GRC and HANA DB and not for interactive use or manual login to database, it is recommended that password of this user is disabled (i.e. no change required for the password).


You can do this using following SQL command:


ALTER USER GRC_FF DISABLE PASSWORD LIFETIME
CONNECT GRC_FF PASSWORD <PASSWORD>


Connection Info: HANA database system details (Hostname details along with Port Number)



Save the database connection after entering all required details as mentioned above.



Testing HANA DB Connection created in GRC


HANA database connection can be tested using ABAP report “ADBC_TEST_CONNECTION”


Execute transaction SE38 and run report “ADBC_TEST_CONNECTION”





HANA DB connection can also be verified using the transaction “DBACOCKPIT” .




HANA Database Connector in SM59


Create a connector in SM59 with connection type as “L” (Logical Destination) and connector name same as the connection created in DBCO.




HANA Connector Config Setup in GRC


Define connectors in the following IMG path


SPRO -> IMG -> GRC -> Common Component Settings -> Integration Framework -> Maintain Connectors and Connection Types -> Define Connectors



Define connector groups in the following IMG path and assign HANA DB connectors to this connector group


SPRO -> IMG -> GRC -> Common Component Settings -> Integration Framework -> Maintain Connectors and Connection Types ->Define Connector Groups




Maintain Connection Settings


Connectors must be assigned to the all integration scenarios (AM, ROLMG, SUPMG, AUTH, PROV) available as it is a good practice.


SPRO -> IMG -> GRC -> Common Component Settings -> Integration Framework -> Maintain Connection Settings



Maintain Connector Settings


Maintain connector settings in the following path:


SPRO -> IMG -> GRC -> Access Control -> Maintain Connector Settings



Delivery Unit deployment in HANA DB


Delivery Unit deployment into HANA DB and activating the SQL procedures under AC folder in HANA DB is a prerequisite and must be followed according to the steps mentioned in following SAP Note:


https://launchpad.support.sap.com/#/notes/1869912




GRC Procedures Activation


For details on how the corresponding SQL procedures under ARA and ARQ folders are required to be activated are available in SAP Note 1869912.


SQL Procedures under ARA folder – Just execute in any sequence


SQL Procedures under ARQ folder – Execute procedures starting with ‘IS’ or ‘INS’ first followed by procedures starting with GRANT and REVOKE and finally remaining procedures.


“GET_USERS_SYNC” procedure has an updated version released through the following SAP Note. Hence, download this from the note and activate it as it is not updated in the latest version by default.


2451688 – Repository sync job not syncing back user validity dates from HANA


However, there are few errors which you will come across during SQL procedures activation like mentioned below. Please go through the note and then implement the corresponding procedures attached in the note to resolve the errors:


2671192 - GRC HANA Plugin enablement for HANA 2.0 SPS 03


Get_action_permissions_info.sql procedure may still throw error. Please fix with code as shown below:



 

Manual steps mentioned in the below note must be also executed in HANA studio or Web IDE even though you are in latest version 12.0 as there are some updates to procedures in ARQ folder which need to be manually updated in HANA DB.


2482955 - Redesign of logging and messaging in HANA Plugin


If the manual steps mentioned in the above note are not completed then the ARQ provisioning will fail with following errors:





























Execute “Repository Object Sync” program once all the above configuration is completed which should successfully sync the USERS and ROLES from HANA DB to GRC system




HANA Roles Import to GRC BRM


Following roles can be provisioned to users in HANA database and while importing these roles into BRM, please use the role types as mentioned below:




  1. Repository Roles - Role type "SIN" for importing into BRM

  2. Catalog Roles - Role type 'SIN' for importing into BRM

  3. Analytic Privileges - Role type 'HAP' for importing into BRM






GRC Request Provisioning Logs (For HANA Analytic Privileges or Repository/Catalog roles)


Once the above mentioned steps are completed, you can raise GRC access request and can provision HANA DB roles.


I have attached access request provisioning logs screenshots for HANA DB roles provisioning below for your reference.


Repository or Catalog roles provisioning


Analytic Privileges provisioning




Thanks for reading.




Looking forward for your inputs in improving this blog with additional details or scenarios ?





Best Regards,


Madhu Babu Sai



15 Comments