Oracle MOS HTML Update 08082010

Document ID   Title   Doc Type   Modified Date 
1169936.1 How To Integrate Oracle E-Business Advanced Planning Command Center With Business Intelligence 10.1.3.4.1 HOWTO 06-AUG-10
578393.1 Saving Ibots On An OBIEE 10.1.3.2.2 Unix Platform Fails With [nQSError: 68019] Authentication Failed PROBLEM 06-AUG-10
1166339.1 iBots Are Not Working For Users In External Table When Using External Table Authentication PROBLEM 03-AUG-10
1166383.1 BIEE Dashboard Error Access Denied For User To Path Error Codes O9XNZMXB PROBLEM 03-AUG-10
1167194.1 Pivot Table Results Wrong With Exclude Columns HOWTO 04-AUG-10
1165071.1 “Return” Link in Drilled Down Request Goes to Previous Link Navigated Instead of Parent Dashboard HOWTO 02-AUG-10
1167624.1 join to W_PARTY_LOGIN table in FACT_W_ACTIVITY_F_Actual_Start_Date HOWTO 04-AUG-10
1170364.1 Javahost will not Start After Restore From Tape PROBLEM 06-AUG-10

Joins in Oracle BI EE

There a lot of questions on the Oracle Forums, recently also, about join in Oracle BI EE. It seems like there are a lot of misconceptions about the use of joins in Oracle BI EE. 

There are two types of joins;

  • Foreign Key Join
  • Complex Join

These joins could be applied to two different in layers;

  • Physical Layer
  • Logical Layer (Business Model)

 –> When would you use which join?

You can use both joins in both layers. There are some basic rules when it comes to using joins in Oracle BI EE.

In the Physical Layer, you should use Foreign Key joins, while in the Logical layer it’s common to use Complex Joins.

–> Why should you use these joins ?

Physical Layer – Foreign Key Join

The Oracle BI Server uses the Foreign Key Joins to construct the where clause when selecting form multiple tables.

There are two types of keys in the Physical Layer:

  • Primary Key – Unique identifier of a single record in a table
  • Foreign Key – Reference to the Primary Key of another table

So basically the Foreign Key Join is a ‘Primary Key / Foreign Key’- relationship between two tables.

 There are situations where you could use Complex Joins in the Physical Layer. Jeff McQuigg  has written a good blogpost about this subject.

Basically it comes down to the following three situations:

  • Range Joins
  • Data Type Conversion Joins
  • Cartesian Joins

Logical Layer – Complex Join

You use Complex Joins in the Logical Layer only to tell the Oracle BI Server that there is a link between the two tables. The Oracle BI Server should go to the Physical layer to see the actual link between the two tables.

A logical tabel consists of one or more Logical Table Sources. Multiple Logical Table Sources  lead to multiple join paths. Using a Foreign Key join in a situation where multiple join paths exists, restricts the Oracle BI Server only to use the specified join. Therefore it is common practice to use a Complex Join in the Logical Layer.

I hear you think; Why is the Foreign Key Join supported in the first place? It seems to only be there for backwards compatibility

In the Logical Layer you define Primary Keys as well. The purpose of a Primary Key in the Logical Layer is….

  • …to identify the Unique identifier of a single record in a Logical Table
  • … to identify the lowes level of detail of a Logical Table

Integrating Oracle eBS and Oracle BI EE – Links

The setup for Integrating Oracle eBS and Oracle BI EE is complete. Now we can create links between the two. These links should make it possible to navigate from Oracle eBS to Oracle BI EE and vice versa. Both in context.

For additional details I would refer to the following document on My Oracle Support about Integrating Oracle Business Intelligence Applications with Oracle E-Business Suite.

First thing I want to look at is how to setup the navigation from Oracle eBS to Oracle BI EE. A standard Oracle eBS installation already contains some initial setup. How this is organized could be retrieved using the following query;

SELECT   fa.application_short_name
, fa.application_name
, fda.application_short_name data_application_short_name
, fda.application_name data_application_name
, fdg.data_group_name
, frt.responsibility_key
, frt.responsibility_name
, frt.description responsibility_description
, fff.function_name
, fff.description function_description
, fff.user_function_name
, fm.menu_name
, fm.user_menu_name
, fm.description menu_description
FROM apps.fnd_menus_vl fm
, apps.fnd_form_functions_vl fff
, apps.fnd_menu_entries_vl fme
, apps.fnd_responsibility_vl frt
, apps.fnd_application_vl fa
, apps.fnd_application_vl fda
, applsys.fnd_data_groups fdg
WHERE fm.menu_id = fme.menu_id
AND frt.menu_id(+) = fm.menu_id
AND frt.responsibility_key LIKE '%OBIEE%'
AND fme.function_id(+) = fff.function_id
AND fa.application_id = frt.application_id
AND fda.application_id = frt.data_group_application_id
AND fdg.data_group_id = frt.data_group_id
ORDER BY frt.responsibility_key

There are a few different ways to navigate to Oracle BI EE. As you could have seen in the pervious query, navigation to Oracle BI EE is controlled via functions in menus. The most easy way to navigate is to go directly to your default Oracle BI Dashboard or to the homepage for Oracle BI Answers.

The following query shows an example of the settings for this default navigation;

SELECT fff.function_name
, fff.user_function_name
, fff.description
, fff.type function_type_code
, fft.meaning function_type
, fff.web_host_name
, fff.web_html_call
FROM apps.fnd_form_functions_vl fff
, fnd_lookups fft
WHERE fft.lookup_code = fff.type
AND fff.function_name like '%OBIEE%F'
AND fft.lookup_type = 'FORM_FUNCTION_TYPE'

The ‘web_html_call’ can be adjusted according to your own specific needs. It’s good to have a good understanding of URL Parameters in Oracle BI EE. Venkat has written about this subject a while back. Check his spreadsheet on Google for more details.

Navigating to the default is controlled by the following entries:

  • OracleOasis.jsp?mode=OBIEE&function=Dashboard
  • OracleOasis.jsp?mode=OBIEE&function=Answers

If you want to navigate to a specific Dashboard(-Page) or a specific Answers Subject Area or report, you should extend the default navigation links to look something like the following:

** Dashboard

  • OracleOasis.jsp?mode=OBIEE&function=Dashboard&parameters=PortalPath~/shared/[Folder_Name]/_portal/[Dashboard_Name] –> This will navigate to a specific Oracle BI Dashboard
  • OracleOasis.jsp?mode=OBIEE&function=Dashboard&parameters=PortalPath~/shared/[Folder_Name]/_portal/[Dashboard_Name]%26Page=[Page Name] –> This will navigate to a specific Oracle BI Dashboard Page

The ‘%26’ is used instead of the ‘&’-sign. Make sure you replace all the spaces with ‘%20’. It’s even better trying to avoid using spaces.

I used a site created by Brian Wilson for the Url-encoding. W3Schools.com could also be used as an HTML URL Encoding Reference.

** Answers

  • OracleOasis.jsp?mode=OBIEE&function=Answers&parameters=SubjectArea~[Subject Area Name] –> This will navigate to the Subject Area of your choice
  • OracleOasis.jsp?mode=OBIEE&function=Go&parameters=Path~/shared/[Folder_Name]/[Report_Name] –> This will directly navigate to the Answer of choice (Make sure you replace all the spaces with ‘%20’)

If you go back to the previously mentioned spreadsheet it’s good to take the following into account;

  • ‘function=’ –> is followed by one of the entries in the ‘Command’-column
  • ‘parameters=’–> contains the full url, including ‘Parameters’ if needed
  • after the ‘~’-sign comes the full url to the location of choice

Next in line could be investigating the possibilities of navigating from a Oracle eBS Form directly to an Oracle BI Dashboard including prompts. This way we could navigate ‘in context’.

Oracle MOS HTML Update 01082010

 Document ID   Title   Doc Type   Modified Date 
1154313.1 Is It Possible to Perform A Silent Install Of BIEE 10.1.3.4.1 Office Plugin (Client Side) HOWTO 30-JUL-10
1121844.1 Client Software Compatibility With Obiee 10.1.3.4.1 and JDK 64 bit (Java 64-bit) HOWTO 25-JUL-10
942852.1 VMWare Certification for Oracle Products HOWTO 29-JUL-10
1162977.1 Formatting Seen In BIEE Pivot Table Requests Not the Same After Download To Excel 2003/2007 PROBLEM 29-JUL-10
1159334.1 Ibots Do Not Send Emails To All Recipients – Invalid Subscribers Skipped Message In Ibot Log PROBLEM 26-JUL-10
864044.1 ibots Delivering Empty pdf Files When Sent to More than One Recipient – Found Undetermined AttrKey: desiredWidth – Found duplicate AttrKey desiredWidth RETHINK HASHING ALG PROBLEM 29-JUL-10
1118868.1 Newly created Ibot does not get triggered by WebServices PROBLEM 25-JUL-10
738678.1 More information about the queueing of iBot jobs is required. HOWTO 28-JUL-10
1156073.1 Customise the sort order of Dashboards names which are coming under single Dashboard link (Dashboard Group) HOWTO 29-JUL-10
1162776.1 How To Seamlessly Pass Userid And Password From Excel to BIOffice Plugin and Presentation Server HOWTO 30-JUL-10
1154623.1 How To place report the centre while navigating from one report HOWTO 29-JUL-10
1162354.1 Add Modify, Print, Download Links To Report By Default HOWTO 29-JUL-10
1162373.1 How to remove the ‘Download to Excel 2000’ option from Dashboard report link HOWTO 29-JUL-10
1159721.1 Answers Requests Are Failing With Essbase Cubes PROBLEM 26-JUL-10
1160287.1 Obiee Presentation Layer Column Renaming HOWTO 27-JUL-10
480516.1 Proxy Users PROBLEM 26-JUL-10
1119434.1 Where Does the Saved Selection Stored at the BIEE Catalog HOWTO 25-JUL-10
1142574.1 How To Configure A Default OBIEE Dashboard Or A Welcome Page For All Users Using PORTALPATH Variable HOWTO 29-JUL-10
733137.1 Oracle EBS integration with OBIEE PROBLEM 27-JUL-10
523072.1 Evaluate Function in OBIEE PROBLEM 27-JUL-10
1148013.1 Is OBIEE 10.1.3.4.1 certified against Red Hat Enterprise Linux 5 Update 4 64bit HOWTO 29-JUL-10

Integrating Oracle eBS and Oracle BI EE – Getting started

I have been playing around with Oracle eBS Release 12 and Oracle BI EE 10g. 

In Release 12 the integration is very straight forward. If you would like to achieve the same functionality in Release 11, you need to do some patching first.

Lucky enough for me I am able to use an Release 12 environment.

select release_name
from   applsys.fnd_product_groups

All I had to do was set the ‘FND: Oracle Business Intelligence Suite EE base URL’-profile in Oracle eBS.

This would be something like; http://[hostname.domain_name]:[port_number]

statement:

select fnd_profile.value('FND_OBIEE_URL') oracle_bi_url
from   dual

Now Oracle eBS nows where to find Oracle BI.

Secondly I had to change the way Oracle BI authenticates in the instanceconfig.xml file. This way you can login to Oracle BI via Oracle eBS. You use your Oracle eBS credentials to login to Oracle BI directly.

   <Auth>
   <ExternalLogon enabled="true">
      <ParamList>
      <Param name="NQ_SESSION.ICX_SESSION_COOKIE"
         source="cookie"
         nameInSource="VIS"/>
      <Param name="NQ_SESSION.ACF"
         source="url"
         nameInSource="acf"/>
      </ParamList>
   </ExternalLogon>
   </Auth>  

Last but not least, you change your connection settings in the Repository of Oracle BI and you are good to go.

If you would like to see how the integration between Oracle eBS and Oracle BI works, I can recommend a blogpost of Gerard Braat.

Robin Moffat has written a good explanation about how to validate EBS-BI authentication, without BI.

Oracle MOS HTML Update 25072010

 Document ID   Title   Doc Type   Modified Date 
1152844.1 OBIA – Which Ports Is OBI Applications / DAC Using ? HOWTO 19-JUL-10
1155234.1 Obiee Cannot Connect To Bi Server On Port 9703 On Linux PROBLEM 21-JUL-10
1157613.1 Is Biee 10.1.3.4.1 Support Ie8? HOWTO 23-JUL-10
757015.1 You do not have the permission to set the value of the variable ‘USER’. (08004) PROBLEM 19-JUL-10
1154196.1 Subject Line Of Delivered Content Email Matches Ibot Name Instead Of Headline PROBLEM 20-JUL-10
1066299.1 JAVA.LANG.UNSATISFIEDLINKERROR Error Running Net Configuration Assistant PROBLEM 19-JUL-10
578393.1 Saving Ibots: [nQSError: 68019] Authentication Failed PROBLEM 20-JUL-10
1153145.1 Refresh Problem With Obiee And IE PROBLEM 19-JUL-10
1155904.1 Arabic Charts In Obiee. Data Shown In Reversed Order & Not From Right To Left PROBLEM 21-JUL-10
1158383.1 Option to open Pivot Table Designer instead of Criteria tab HOWTO 24-JUL-10
1155855.1 Obi : Delete Link ‘Rafraichir’ (Refresh) When No Data Found HOWTO 21-JUL-10
751806.1 Guided Navigations show a blank area instead of the report PROBLEM 19-JUL-10
1155503.1 Date Format In Filter View Is Wrong When Using Dashboard Prompt After Applying Date Prompt Fix Patch:9492821 HOWTO 21-JUL-10
1154429.1 A brief explanation of tag Javahost config FAQ 20-JUL-10
1156912.1 Oracle Epm System Workspace Error When Obiee 10g Is intergrated With Hyperion Workspace 11.1.1.3 PROBLEM 22-JUL-10
735249.1 Understanding Memory Management in Oracle OBI EE (Siebel Analytics) ANNOUNCEMENT 18-JUL-10
1152623.1 OBIEE Prompts Login Page While Navigating From BI Publisher to Dashboard PROBLEM 18-JUL-10
501649.1 BI Publisher login issue — oracle.apps.xdo.security.ValidateException PROBLEM 19-JUL-10
522029.1 How to reset the OC4J Administrator account password HOWTO 19-JUL-10
1090323.1 ‘Procurement & Spend Invoice Lines’ Subject Area has no join between ‘GL Segments’ and ‘W_AP INV_DIST_F’ Tables and no data is returned PROBLEM 21-JUL-10
1155464.1 Problem In Restarting Bi Presentation Server HOWTO 21-JUL-10
1158159.1 Charts as Images for iPhone HOWTO 23-JUL-10
563695.1 ORA-00942 on queries with Full Outer Join and WITH Clause on Oracle RDBMS 10.2.0.3 PROBLEM 20-JUL-10
1152477.1 How To Enable ActAs functionality in SSO environment HOWTO 18-JUL-10
946076.1 How can I setup HP LoadRunner to test the performance of OBI EE FAQ 18-JUL-10