Analytics Resources: Insights, Best Practices,

Case Studies and More

close
Written by Dang Trung Tin
on December 09, 2014

O_SpecGold_OracleBIFoundationSuite11g_clr

In one of the most recent BI Application (OBIA) projects, there is a requirement to read Organization based security from EBS and apply this on BI Applications. To this end, I found that there is a simple view available in EBS which returns all the Organizations that a user has access to. This is ORG_ACCESS_V.

Using this view, you can use a row-wise initialized variable to apply security. An example of the SQL used in the initialization block is below:

SELECT SEC_ORG_CODE var_name, org.organization_code var_val
FROM
apps.fnd_user_resp_groups_direct furg,
applsys.fnd_user fu,
apps.org_access_v org
WHERE
furg.user_id = fu.user_id
AND furg.responsibility_id = org.responsibility_id
AND furg.start_date < SYSDATE
AND NVL (furg.end_date, SYSDATE) >= SYSDATE
AND (fu.user_name) = UPPER(':USER') --OBIEE User

 

The EBS version I have tried this on is R12.2. 

 

You may also like:

OBIEE 12c Cloud Analytics

Join us at the Modern Finance Experience

Join us on Wednesday 23-Mar at the Marina Bay Sands for the Modern Finance Experience event organized by Oracle. You wil...

OBIEE 12c

OBIEE 12c Baseline Validation Tool

In the real world, the migration between two OBIEE environments is really take time .The last time we did this for a cus...

OBIEE 12c

Steps to upgrade usage tracking when upgrading from OBIEE 11.1.7.1 to OBIEE 11.1.1.9

Recently usage tracking stopped working for one of my clients after upgrading to OBIEE 11.1.1.9 with the NQSERVER log sh...