Oracle DB View in Repository physical layer. Missing grant.

Hello,
I have a table and a view in my Oracle DB Schema and in my connection pool (obi repository - phyiscal layer).
When I use OBI Answers I can see the data in the table, so all the connection information
is correct.
However, when I want to see the data in the view using OBI Answers, I see the following error:
OPR4ONWY:U9IM8TAC:OI2DL65P ORA-00942: table or view does not exist
I have the strong suspicion that the technical user that is used to connect to the Oracle DB
does not have rights to the schema from which the view selects. In other words, the view
uses data from other schemas and the grants are missing. Thats my idea, why the data of the view is not displayed
but in the same connection pool the data in the table is displayed fine.
If my suspicion is right, I wonder what is the user that I should be granting to?
The view works fine when I check it with SQLDeveloper.
Thanks for any help.

The base tables of the aliases are correct. but the problem is not between alias or not.
its between Oracle db view vs. table and the views are also specified as "physical table".
Instead of the "phyiscal table" I changed the table type to selection and
wrote a query that is very very similar to what is in the view:
Oracle SQL view query
SELECT 997 AS "ID",
2 AS "LOADID",
SYSTIMESTAMP AS "TIME_STAMP",
NULL AS "TYPOF",
'2' AS "KEYVAL",
2 AS "SORTING",
'01.03.2012' AS "DESCRI"
FROM DUAL
--Data types in OBI repository 
Name Typ Length
ID Numeric
DESCRI Varchar 300
LOADID Numeric
SORTING Numeric
KEYVAL Varchar 20
TYPOF Varchar 20
TIME_STAMP Timestamp
with the above query I also get the incorrect data type error.
I have a strong feeling it might be something with the time stamps.
even if the data is the same in the tables.

Similar Messages

  • Creating filtered view on the physical layer ussing session variable USER

    Hi:
    I´m creating a view on the physical layer, the view needs to be created dynamically. So depending on the user (using the session variable USER) the view is created with the data a particular user is able to see.
    Fisrt I imported the table and changed it´s properties to be created through a "Select Statement" so i don´t needed to change the mapping on the bussiness model layer.
    The consistency check was OK but i´m not able to see data in answers, even using the Administrator user. Have anyone tried to do this? Here is my query.
    Thanks
    A Garcia
    Select * from D_ESTRUCTURA_RH2 where Region_ID
    IN
    select distinct a.REGION_ID from APP_INDPERSONAL_DM.D_ESTRUCTURA_RH2 a
    inner join (
    select distinct b.REGION_ID from APP_INDPERSONAL_DM.D_ESTRUCTURA_RH2 b
    where exists (select 1 from APP_INDPERSONAL_DM.Autorizacion a, usuarios c
    where a.app_id = 1
    and a.usuario_id = c.Usuario_Id
    and UPPER(c.Nombre_Usuario)=UPPER(':USER')
    and a.miembro_id = 'REGION_ID'
    and a.operador = '='
    and (b.REGION_ID = (case when valor = 'Todo' then 0 else valor end) or valor='Todo'))
    ) seguridad
    on
    a. REGION_ID = seguridad.REGION_ID
    )

    whay not use the same filter in the content tab of the logical table source?
    check the physical sql sent to databse using web-admin-manage sessions-view log and see if there is any unexpected behavior. also run the same query in db and see iff you get the results in databse itself.

  • Cannot view data on physical layer on Oracle BI administration tool

    Hi everyone
    I have a schema1 and table1, table2, table3.
    I have connect in odbc using the schema username and password and it was successful.
    I can view the data using toad and sql oracle developer with schema username and password.
    I also import the tables in Oracle BI administration tool with my schema username and password.
    But my problem is i cannot view the data on the table in physical layer using my schema username and password.
    Please help,
    Thanks in advance
    Edited by: hanson on Sep 16, 2009 7:15 AM

    Hi,
    I'm confused about the last bit, you did a database import to get the tables into the RPD, which worked, but now they are not showing in the phsyical layer of the rpd? They should be there under a database with the name of the ODBC/OCI that you used when you imported them.
    If they are not there then this would make me think that the import of the tables has not worked, try importing just one and see what happens.
    Regards,
    Matt

  • Unable to view data in Physical layer of RPD

    I have OBIEE installed on my local machine using Oracle 10g as the database installed on a remote machine. I am able to create the DSN and test the connection pool on my local machine.
    The Call interface is OCI 10g in the connection pool. I am able to import tables into the database in the Physical layer of the repository but when I try to VIEW Data in the physical layer, it throws me an error stating,
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor at OCI call OCILogon.
    nQsError: 17014 Could not connect to Oracle Database.
    I have oracle 10g client installed on my local machine. I am able to view the tables and the data from SQL PLus. In OBIEE i am able to import tables but cannot view data.
    Any suggestions on what could be causing this?

    Sounds like one of my common issues. After you do the import, go back and check the connection pool. What I typically run into is that it has switched to the OCI connection rather than the ODBC connection used for the import, but it is still using the name of the ODBC DSN that was used for the import. Change it to the TNS name or the host:port/service and try again.
    Rgds/Mark M

  • Admin Tool Error When Viewing Data in Physical Layer nQSError: 43093

    I am trying to view the data in my Admin Tool in the Physical Layer, I am getting:
    [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
    [nQSError: 43093] An error occurred while processing the EXECUTE PHYSICAL statement.
    [nQSError: 17001] Oracle Error code: 904, message: ORA-00904: "STUDENT_NUMBER": invalid identifier at OCI call OCIStmtExecute.
    [nQSError: 17010] SQL statement preparation failed.
    I know why I am getting the ORA-00904 error (the data structure in the external database has changed the the column STUDENT_NUMBER does not exist). However, I am getting TNS Listener errors when trying to re-import the changed data structure (import -> through server). I have checked my ODBC connection and it seems that is not the issue. This functionality existed before (I did pull in the data structure, that is where my error is originating from). Is there something I am missing?
    Any insight is appreciated.
    Thank you,
    Kyle

    Hi,
    After an upgrade, these kind of issues can happen for several reasons as below
    1. Wrong OCI Call Interface. If ODBC 3.5 has been used an Interface in 10g, then the upgraded .rpd might still be using the same even when you have got a number of different options to choose from in 11g. To resolve issues of this type change the underlying database version in the physical layer of the .rpd. Once, you make this change you can see a variety of changes in the queries, performance etc for good.
    2. After you did a 'View Data' on the table, go through the NQQuery.log to see the query it is firing (Yes, you need to have log level set for this user though) and analyze it from the DB end. See, if you run the query in the DB it is fast, but if it is the Admin tool that hangs up with this query. In this case check the network speed, database settings, system DSN driver etc.
    Hope this helps.
    Thank you,
    Dhar

  • Importing materialized views from database into physical layer

    Hi,
    I have created materialized view in the database. When I try to import the materialized view into the physical layer in OBIEE 10G (using the import from database option), it is not showing in the list of available object. I have selected all the object types (tables,views etc.). Can you please let me know how to import the existing MVs in the database into the physical layer.
    Regards
    Vinodh.
    Edited by: user493441 on Jul 7, 2012 4:11 PM

    Hi Vinod,
    Refer the below links.
    Materialized Views in OBIEE
    http://gerardnico.com/wiki/database/oracle/materialized_view
    Concept of materialized views in creating datawarehouse?????
    Hope this help's
    Thanks
    Satya

  • Views in Physical Layer

    When creating a view on the Physical Layer, we get some white space to write a select statement on the window, Do we have nay parameter to choose the length of the space assigned.
    My query is a long one containing many unions and i am running out of the space there.
    Any parameter or config file where i can control the length of the space available ?

    Sid_BI wrote:
    Hi,
    If you create an opaque view ..the BI will Physical layer will have to complete all the joins at the BI Server level and then send it to the db..
    while otherwise BI Joins will complete all the joins with the view and send it to the data base which would then replace it with the actual view query ...
    so you leave less strain on BI server to start with
    Secondly as a practice since view is a db object why not let it be in the db for the dba to maintain that in the repository where BI Admin has to maintain wrt future enhancements etc..There are various reasons to have opaque view and a view not as a database object atleast with high security level database. I cannot give out the reasons here though. But I am not able to accept your explanation of Joins. The joins happen in the database only and not on the BI server.

  • If i use  view in physical layer will it causes to performence

    hi all
    if i create a view in the physical layer will it causes to performance issue
    can any one suggest me on it,bez i have to create 3 views
    thanks

    Hi,
    Using Aliases is a better way to increase performace. You can refer the Vanilla RPD. Aliases are extensively used ther.
    Thanks,
    Imtiaz.

  • OBIEE Administrator: bug in Physical Layer import fo Sybase IQ?

    Hi!
    In OBIEE Administrator, in the Physical Layer, I defined a Database Object (as a Syabase IQ 12.7) and its connection pool for a Sybase IQ 12.6 Database. I created the ODBC driver (for Sybase IQ 12.5 and also tried with IQ 12.7 drivers) in Windows and used it in the connection pool.
    When I use the Import functionality, to read the tables and columns, it works fine...apparently. At least, the Physical Layer appears filled with all the tables I selected. But the "+" sign (which denotes that the table has columns, right?) appears only for some tables. And when expand those tables, the columns appear. However, for those tables (and any other table) when I right-click and select either Update Row Count or View Data, OBIEE Administrator shows an error message saying that the table does not exist:
    [nQSError: 16001] ODBC Error state: S0002 code: -141 message: [Sybase][ODBC Driver][Adaptive Server IQ]Table 'EVENTS' not found.
    If I edit the table properties in the Physical Layer and prefix its name with the schema name (ex.: instead of "EVENTS" I rename it to "rpt.EVENTS') it works fine...
    But I only have this problem for these table of Sybase IQ. I imported tables from an SQL Server 200 database, and all works fine: a "+" sign for all tables, I select view data and it returns results, etc.
    HELP!!!!
    Thanks.

    hi!
    Problem solved. Here is the solution:
    - You want to access a Sybase IQ 12.6 database through ODBC, in Oracle BI Administrator, in the Physical Layer, in order to import tabes and columns and keys and etc, don't user neither Sybase IQ ODBC driver version 12.5 nor version 12.7. Use version 12.6! :)

  • How to see the tables which are in the physical layer of SampleAppLite rpd

    Hi Everyone,
    I am new to OBIEE and I installed OBI Apps with Oracle 11g in my laptop. I tried to create reports using the OracleBIAnalyticsApps rpd. How can I know from which schema the tables are coming in the physical layer of the repository so that I can create a connection pool to the database. I got the default SampleAppLite rpd when I install the OBIEE but I am unable to see those tables in the database schema which are used in the SampleAppLite physical layer. Can anyone tell me how can I see the tables in the database which I see in the rpd. Actually my question may be wrong as I am new to this field, so please let me know if this is a wrong question. As I unable to express my question correctly. Thanks.

    For the OracleBIAnalyticsApps rpd - the tables are under "Catalog" then "dbo" in database "Oracle Data Warehouse" in the physical layer. The RPD comes out of the box with the required connection pools - you dont need to create any. The connection pools "Oracle Data Warehouse Repository Initblocks Connection Pool" and "Oracle Data Warehouse Connection Pool" in "Oracle Data Warehouse" read the data from the business analytics warehouse that you created in a schema name of your choosing with the DAC. All you need to do is edit the user name and password and the data source name with a connect string - which is the local net service name to your database for default call interface OCI 10g/11g assuming you used an Oracle database for your warehouse. One way to test the connection pool is to right click any table/alias then "Update Row Count".
    BTW Using the Admin Tool open the OracleBIAnalyticsApps rpd then do "Tools" then "Utilities" then "Repository Documentation" then "Execute". This will create a spreadsheet showing you all the mappings from the presentation to business to physical layers.

  • Avoiding Rebuild of RPD for Change in Physical Layer Data Source.

    Hi,
    I would like to know whether change in physical layer data source will require rebuild of RPD or not.
    Previously our client was using excel spread sheet as source of OBIEE 11g RPD for Phase – 1 of the project. Successive work (design of BMM layer, Presentation layer, subject area, design of report and dashboard etc) for that phase is complete on top of that.
    Now, they would like to use Oracle database as source in Phase - 2, with the same table and column structure as MS Excel spreadsheet.
    We have created connection type of OCI 10g/11g and successfully imported the metadata of the oracle database in the physical layer.
    I was thinking whether it is possible to just redirect the source of physical layer from MS Excel to Oracle database, keeping the rest of the components (including BMM layer etc.) intact.
    This will be pretty tedious job to rebuild all layers of the RPD again and again for change in the underlying database.
    Please advise how this is possible. Many thanks !

    I think..we can do some testing
    you have created Alias for all tables.
    Try checking view data by changing the Source name of any alias table to Oracle Source name in the physical Layer.
    Check the datatypes of columns .
    If these two are passed we can eliminate rebuilding.
    Please post your comments.

  • No data When click view data in physical table.

    Hi all,
    I am a new one for OBIEE 11.1.1.5.
    I met a problem when I creating a RPD.
    After I load all table to physical layer, I found only one table show me no data, then I go back to check the DB and existing data in that table.
    Would someone tell me how to fis this issue?
    Thanks in advance.
    regards,
    Anne

    Steps to check it your end
    1)did u update rowcount for that table? try to update row count in that table and then try to view data in physical layer.
    two ways--
    (RPD-->tools menu-->options-->update all row count and also u can do it in physical layer -->just right click of required table and u can see update row count just select it then it will update it. after that u can try to test it.
    1) if you past it screen short/error message it could help to find the root cause
    2) make sure that table --> pointing connection pool info and user and password etc
    Thanks
    Deva

  • Creating views in Physical Layer of OBIEE Administration Tool

    Hello,
    I am doing a proof of concept of creating an OBIEE repository using the Administration Tool to make a model for an in house sandbox OLTP system. Because this POC isn't using a warehouse that is built nicely with everything I need, I am having to import the OLTP tables into the Physical Layer and then create a few extra views (by creating a new physical table object and selecting "Table Type: Select") to add some new columns I will need.
    My problem is that once I have created two views 'ViewA' and 'ViewB', I want to then create a third view 'ViewC' that is the union of 'ViewA' and 'ViewB'. But when I create ViewC from these two views and try to then update row count or view data in newly created ViewC, I get an error message of the effect:
    Message 208: Invalid object name 'DBO.ViewA'
    Message 208: Invalid object name 'DBO.ViewB'
    When I try and create ViewC with DBO.OriginalTableA and DBO.OriginalTableB, however, it works just fine. And I am also able to successfully update row count and view data in ViewA and ViewB independently. So it seems to me like a view initialization problem when trying to have ViewC be created from A and B.
    Am I trying to do something that is not allowed in the Physical Layer of the BI Admin Tool? I would think that I should be able to work with views just like actual physical tables from my OLTP. Maybe not.
    Any help or insight would be greatly appreciated. Many thanks.

    Hi Hammett81 ,
    I think, I have given configured connection pool correct. (following Oracle guidelines: 'In the Connection Pool dialog box, on the General tab, verify that the call interface is set to Default (OCI 10g) and change the data source name to the appropriate tnsnames.ora entry ( ORCL in this example). Please note that this is the TNS service name, not the ODBC DSN. ' )
    I tried to give ODBC DSN (SH) as call interface, which resulted in an Error dialogue, implying, previous configuration was correct.
    So, I reverted back.
    Regards,
    Deeba

  • Sql not supported in view in physical layer

    hi, I wanna create a view (in physical layer)
    table type = Select (under General tab in Phyiscal Table property)
    I have checked the checkbox "Use database specific SQL".
    and chosen "Oracle 9i" in Database tree.
    the data structure in the table is in this thread methodology to get the result
    the sql is
    SELECT user,
    MAX(decode(type,'A',value)) A,
    MAX(decode(type,'B',value)) B,
    MAX(decode(type,'C',value)) C
    FROM tab
    GROUP BY user
    BUT when I click "View data" on the menu bar (right click the object in the phyiscal layer)
    I get the error message.
    Is max or decode not supported ? thanks

    Could you please provide the error message that you are getting?
    Cheers,
    Prasad Bolla.

  • Error occurred when view the data from physical layer

    Hi ,
    I have created system  DSN like "demo1" for excel file. After that i import the excel file into administration tool.
    after that i want to view the data from physical layer. At that time ,I am getting following error .
    Please resolve this issue.
    Thanks in advance,

    hi ashok,
    u can push data from  psa to ods, for this goto the psa in rsa1>psa>goto that request>rightclick>select " schedule update Immediately ", then data will moved from psa to ods.
                                                 or
    In ods > delete the failed request>goto the processing tab-->select 3rd option   " psa and then subsequentially to data targets ", --> schedule the infopackage.
    bye
    sunil

Maybe you are looking for

  • Want to restrict output of T.Code MD4C.

    hi friends, i want to restrict output of T.Code MD4C in which it displays all materials for one SO but i want to display only FERT HAlB and RAW materals. how should i do it. there is one badi  MD_ADD_COL_OVERVIEW  (Display of Additional Columns in th

  • Can't receive reply!

    Hi, I bought the credit, sent the message successfully, but I can't receive the reply! What can I do to solve this problem?! Thanks a lot.

  • Error starting up Portal 4.0

    I get the following error when I attempt to start up the Portal (/local/bea/wlportal4.0/config/portalDomain 393 # ./startPortal.sh) Starting WebLogic Server .... The WebLogic Server did not start up properly. Exception raised: java.lang.IllegalAccess

  • Barcelona map is not updated

    Dear all,ç Today I have updated my map of Catalonia where is located Barcelona. In Barcelona the last summer the city council changed the direction of Craywinckel street and part of  Passeig Sant Gervasi. Today, 3 months later this map is not updated

  • Photoshop Elements 8 Text Problem

    I am VERY new to Photoshop Elements. I was editing a photo and adding text yesterday.  I was going to make the text box smaller, and when doing this it ended up stacking my text ontop of each other. So now i have a bunch of garbled words, one typed r