Issue while writing a query in table type select.in the physical layer

Hi gurus,
I am actually trying to create a table using select in the physical layer..... i acutally am not aware what it is called but its when i click a table in the physical layer i have an option table type and i chose select which allows me type my query..the query is
Select
coln name(which is a lengthly list of conversion) AS column_name
From Table name.
when i view the data rom the physical layer everthing seems to be fine. but when i try to view the data in the frnt end it gives me an error maximum length is too long than 128....
i am aware of this issue the sql server allows only column of length 128..but none of my column length is greater than 128..
Could you please help me in this
Many thanks in advance

hi veeravalli ,
Thanks for the reply....actually the corresponding reports for this have already been prepared...i created a view in the backend with the same select which i wrote before and and tried calling the view from her.. i have viewed the data and all is perfect...but when i try viewing it from the front end it error saying invaild object name select * from databasename.dbo.View_name...but i have checked the view exists in the backend...
Thanks in advance....

Similar Messages

  • 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.

  • Proble creating Table Type = Select in 10gR3

    In a very simple example case I have a customers table that I am trying to create a Table Type of Select in the physical layer.
    Using the Admin tool I create "New Physical tabe" and enter select * from customer where region = 'East'
    If I "Update All Row Counts" it now shows 56 rows - which is correct
    If I try and "view data" I get an error
    [nQSError: 17001] Oracle Error Code: 936, messgae: ORA-00936: missing expression at OCI cal OCIStmtExecute.
    [nQSError: 17010] SQL Statement preparation failed.
    If I deploy the view I can go to sqlplus and select from it.
    I have tried qualifying table name and selecting specific columns - I know its not a permission issue and presumably the fact that it counted rows correctly confirms it must have generated correct SQL.
    I'm puzzled - what am I missing here?

    This is standard behavior..Update Row Count work fine since SELECT COUNT (*) FROM (select * from customer where region = 'East') is a valid SQL, View Data doesn't work since your columns aren't named, so OBI cant select col1, col2, etc.
    Hope this explains.
    Michael
    Edited by: mkooloos on Jan 17, 2011 3:48 PM

  • Physical tables - table type 'select' query

    Hello,
    I've been playing around with the migrateEUL tool and have noticed that all Discoverer custom folders get translated into Physical Tables with a table type of 'select' as I would expect.
    What I'm not sure about is the location in which it places these objects.
    With a database data source called 'Video Store Tutorial' at the top level, a Physical Schema of VIDEO5 gets created. Inside this Physical Schema are the regular tables. The 'select' tables are placed as siblings to the Physical Select folder, and not as a child object like the rest of the tables.
    Can someone please comment on what is the best practice regarding locating these 'select' tables (as children of the Physical Schema or children of the Database).
    If I create a new table of table type 'select' I can only do so by right clicking the Physical Schema and choosing 'New Physical Table', thereby making this new object a child of the schema. I cannot make it a child of the database directly - although I can drag the object out from within the Physical Schema and drop it on the database name, to make it so.
    Cheers,
    John

    Hi John,
    There not really an absolut truth for this. Normaly you would make 'single schema' view siblings of there physical schema and 'multi schema' views direct siblings. It doesn't influence performances if they use the same connection pool. It's just a matter of taste.
    regards
    John
    http://obiee101.blogspot.com/

  • Whats is table type ? whats the use of it in abap?

    hi,
    i am ahmed abap fresher,
         i want to know what is table type and whats the use of it. at what point/situation we utilize this table type.

    Hi Ahmed ,
    Table is apart of data dictionary.
    Table is a sort of container where we store data.
    For eg. you want to store customer record in the database.Now you will store that customer record against specific fields of the applicable table.
    You can create or see table by means of transaction code se11.
    There are 3 typesof tables available in SAP ABAP:
    1. Transparent table
    2. Pool table
    3. Cluster table.
    Transparent Table:
    A physical table definition in the database for the table definition which is stored in the ABAP Dictionary for transparent tables when the
    table is activated. The table definition is translated from the ABAP
    Dictionary to a definition of the particular database.
    Pooled table:
    Pooled tables can be used to store control data (e.g. screen sequences,
    program parameters or temporary data). Several pooled tables can be
    combined to form a table pool. The table pool corresponds to a physical
    table on the database in which all the records of the allocated pooled
    tables are stored.
    Cluster table:
    Cluster tables contain continuous text, for example, documentation.
    Several cluster tables can be combined to form a table cluster. Several
    logical lines of different tables are combined to form a physical record
    in this table type. This permits object-by-object storage or
    object-by-object access. In order to combine tables in clusters, at
    least parts of the keys must agree. Several cluster tables are stored in
    one corresponding table on the database.
    See the documetation at:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21f083446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm
    Reward if useful ...
    Regards ,
    Shankar GJ

  • How to access the table type field in the structure

    Hi All,
    I have a BADI CRM_MKT_ADR_SEARCH and a method CHANGE_SEARCH_RESULTS in this method I have a parameter CT_BP_CP_CHANNEL .This parameter has type CRMT_BP_CP_CHANNEL_TAB(this is table type) this has the line type CRMT_BP_CP_CHANNEL(this is structure) in this line type we have one field addrnumber.How to access this field in my method?Please help me in this regard.

    data lw_tab type CRMT_BP_CP_CHANNEL.
    loop at CRMT_BP_CP_CHANNEL_TAB into lw_tab.
       lv_field = lw_tab-addrnumber.
       <further processing>
    endloop.

  • Joining tables across databases in OBIEE Physical Layer

    I was facing this problem of joining tables across databases in Physical layer of OBIEE admin tool.
    I had a requirement to combine two tables from 2 different databases A and B respectively. I had created one database object (OBIEE Object) in the physical layer and I had created two connection pools under that pointing to the required databases. I was able to view the data (right click on the table object --> popup menu option "View Data" ) though I had to go through the "Select connection Pool" window and select the required connection pool. I was able to join the tables and was able to complete the star schema in BMM and bring them up to the presentation layer. Conistency check was also successful. Everything went fine so far.
    But when I started building the report, I started getting error whenever I chose the table which was supposed to be queried by using the second connection pool. The error message was something like "table or view does not exist at OCI call OCIStmtExecute". I assume that this was happening because the systm was not able to understand which connection pool to choose (because there were two pools defined under one database object) and by default the server was choosing the first one. If anybody is having a different opinion or definite information about this, kindly update with your reply.
    I could resolve this problem after creating a separate database object with a separate connection pool defined under it, which points to the second database. Imported the required table under this database object. (Infact it was reverse. When I re-imported the table, OBIEE Admin tool, by default created its own database object and the connection pool separately for the imported table).
    Once this was done then I went ahead as usual by joining the tables across these two different database objects and modelling was already done (ofcourse with a little more tweaking since the mapping had to be redone between BMM and Physical layers). Now I could build the report in the reporting layer without encountering any error.
    Appreciate and welcome any further additions/updations/corrections regarding this issue(?).
    -MMishra.
    Edited by: user13483341 on Nov 29, 2011 8:20 AM
    Edited by: user13483341 on Nov 29, 2011 8:20 AM
    Edited by: user13483341 on Nov 29, 2011 8:24 AM

    Hi Deepak, Thanks for your reply.
    Appreciate if you can help me with another thread "possibility of multi-currency in OBIA 7.9.6.2 financial anlytics".
    - MMishra.

  • Creating Physical table as select in the .rpd

    When creating a physical table as a select we can write the SQL statement like SELECT A,B,C... FROM xxx etc.
    Trouble is that we then have to go the tab COLUMNS and define each column... This is kind of very error prone and lots of work...
    Pls. is there a way to somehow leverage the columns alreaday defined in the PHYSICAL TABLE ?
    Txs. for any help.
    Antonio

    Hi Antonio,
    You didnt catch me..
    1)Open actual rpd and create a view using select query, do not add any columns.
    2) Create view in dev db.
    3) Create a new rpd file import the view into the physical layer.
    4) Select columns from step3 and copy
    5) paste in the actual rpd on selecting the 'select query' object
    you are good to go.
    This wold help you with all columns and their datatypes.
    Hope this helps.
    Cheers,
    SVee

  • How to import tables to the physical layer of the Administration Tool.

    Friends could help me with this issue. I'm just starting in OBIEE
    How to connect a ORACLE database 11g R2 installed on Linux with OBIEE administration tool that I have installed Windows Server 2003 to create a subject area.
    Basically I want to import the tables from the database on Linux to the physical layer of the administration tool that is installed on Windows Server 2003.
    I can tell how to make this connection step by step.
    Beforehand thanks for the support.

    hi,
    How to connect a ORACLE database 11g R2 installed on Linux with OBIEE administration tool that I have installed Windows Server 2003 to create a subject area.create DSN by taking correct ODBC driver for 11g R2 in windows 2003 with linux DB credentials
    thanks,
    Saichand.V

  • Not able to Import SH Table in the Physical Layer

    Hi,
    I am not been able to import Tables from sh schema in the physical layer of OBIEE 11g and got error message.
    "Failed to Perform Requested action". Please tell me how to create sh RPD now.
    Appreciate all the help in advance.
    Thanks
    Ashish

    I am sharing the screen shot of the error message
    https://app.box.com/s/afwnwjyb8c4h65uhao0w
    another thing that i found that their are duplicate column shown. Screen shot of that below.
    https://app.box.com/s/aoux5lurxso55qcofz7k
    and i am importing Table,key & Foreign Key. Please tell me how is this possible and how to remove this.

  • Duplicate table  and  Alias table in the physical layer

    Hi,
    I want a clear information regarding the duplicate tables in the physical layer of the rpd.
    I mean what is the purpose of the duplicate tables in the physical layer.........
    thanks,
    chinna.

    what do you mean by duplicate of physical table? is it Alias table?
    if then,
    -> aliases are created to break the circular joins (which are not supported by obiee)
    -> and, as per apps standards no operation can be done on base tables which are imported directly to physical layer. Only aliases are joined and will be used in BMM layer
    -> useful to re-use the table more than one time , best example: W_DAY_D in apps rpd
    Edited by: Kishore Guggilla on Sep 23, 2010 10:41 PM

  • Issue while accessing a SQL Server table over OTG

    Hi,
    I have been learning oracle for about 1.5 years and am just starting to learn some OTG pieces. I am wondering about an issue. The issue is:
    "We need help with an issue we are having while accessing a SQL Server table over OTG. We are getting the following error message in Oracle :
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Oracle][ODBC SQL Server Driver]Unicode conversion failed {HY000}
    The column it is failing on is "-----------" in the view --------------- in the SQL Server database pointed to by the Oracle DB Link ------------------- thats created in the Oracle instances ---- and -----.
    This was working before, but is now failing, we suspect its due to new multi-byte data being added to the base table in the above column."
    I took out the details and added ---- instead. I am wondering your guys thoughts on fixing this issue and helping me learn along the way. Thanks

    Hi Mike,
    Thanks for the response, here are the details:
    1. What is the character set of the Oracle RDBMS being used. What is returned by -
    select * from nls_database_parameters;
    NLS_CHARACTERSET
    AL32UTF8
    NLS_NCHAR_CHARACTERSET
    UTF8
    We get SQL_Latin1_General_CP1_C1_AS and 1252 as Collation Property and Code Page
    The datatype of the column in question in SQL Server is nvarchar(100).
    When I do a describe on the SQL Server view ( desc CK_DATA_FOR_OPL@------- ), I get the error below;
    ERROR: object CK_DATA_FOR_OPL does not exist
    Select * from CK_DATA_FOR_OPL@------ where rownum =1 does get me a row.
    create table tmp_tab as
    Select * from CK_DATA_FOR_OPL@----- where rownum =1;
    desc tmp_tab shows the datatype of the said column in the table created in Oracle as NVARCHAR2(150).
    Not sure why a column defined with size 100 in SQL Server should come across as 150 when seen over OTG. We see something similar in DB2 tables we access over OTG as well.
    Edited by: 993950 on Mar 15, 2013 8:49 AM

  • Issue while importing bex query into BO

    Hi EXperts,
                        I am using Bo xi 3.1 sp3 i am facing the issue while building the universe with bex query iam getting the following error   "Error getting measures for cube (cube name(0QM_C09_Q003)),It is giving this error, i resolved this error by check cumultave property in th measures,is it right to do like this or is there any other way to resolve the issue.
    Regards
    Suraj

    Hi Juhi,
    I am facing the same issue. BW query has three input parameters i.e. Year, Month and Profit center.
    I can create the service when query has only one input parameter i.e. Year. But when query has more parameter other than year, I cant create the service. Getting an error 'Association AZPROFIT_CToListOfValues: referential constraint property not found in entity ZMFIGL_ZFIGL_COST_FINAL_FIORIParameter.'
    As per your last reply, if we have multiple input parameters then it does not allow to create the service from BEX query. How did you resolve this issue. Please provide some details.
    Thanks in Advance.
    Abhishek.

  • Issues while Populating data in Tree Table..

    Hi,
    I am using Tree Table component to populate Hierarchical data in it.
    I create data controls based on web service proxy.
    While creating Tree table i selected the Display Attributes to show in Tree table.
    Now i am struck with two requirements:
    1. At run time when i see the data in Tree table i can see that Display Attributes for mixed.
    For Example:
    Andrew> Phone
    Work 123456789 // Here we can notice that, two attributes data displayed with on space gap. Phone Type and Phone number
    Home 987654321 need to show some separation character between thenm something like : Work - 123456789 Is it possible?
    > Email
    work [email protected]
    2. I need to show popup on click on Root node of the Tree table. If we take the above example, i want to perform a click event on "Andrew" so that i can popup and show some details.
    But when i try to insert a command link in Node. Parent & Child nodes are populated with command link. How to have command link only for parent Node.
    Code i am using:
    *<af:treeTable value="#{bindings.contact.treeModel}" var="node"*
    *selectionListener="#{bindings.contact.treeModel.makeCurrent}"*
    *rowSelection="single"*
    *binding="#{backingBeanScope.EditValidationDetails.tt1}"*
    *id="tt1" width="920">*
    *<f:facet name="nodeStamp">*
    *<af:column id="c1" width="800" filterable="true">*
    *<af:commandLink text="#{node}" id="cl2"/>*
    *</af:column>*
    *</f:facet>*
    *<f:facet name="pathStamp">*
    *<af:outputText value="#{node}"*
    *binding="#{backingBeanScope.EditValidationDetails.ot3}"*
    *id="ot3"/>*
    *</f:facet>*
    *</af:treeTable>*
    Thanks in Advance...
    Regards
    Thoom

    Hi,
    I am using Tree Table component to populate Hierarchical data in it.
    I create data controls based on web service proxy.
    While creating Tree table i selected the Display Attributes to show in Tree table.
    Now i am struck with two requirements:
    1. At run time when i see the data in Tree table i can see that Display Attributes for mixed.
    For Example:
    Andrew
    --Phone
    ----Work 123456789 // Here we can notice that, two attributes data displayed with on space gap. Phone Type and Phone number
    ----Home 987654321 need to show some separation character between thenm something like : Work - 123456789 Is it possible?
    --Email
    ----work [email protected]
    2. I need to show popup on click on Root node of the Tree table. If we take the above example, i want to perform a click event on "Andrew" so that i can popup and show some details.
    But when i try to insert a command link in Node. Parent & Child nodes are populated with command link. How to have command link only for parent Node.
    Code i am using:
    <
    <af:treeTable value="#{bindings.contact.treeModel}" var="node"
    selectionListener="#{bindings.contact.treeModel.makeCurrent}"
    rowSelection="single"
    binding="#{backingBeanScope.EditValidationDetails.tt1}"
    id="tt1" width="920">
    <f:facet name="nodeStamp">
    <af:column id="c1" width="800" filterable="true">
    <af:commandLink text="#{node}" id="cl2"/>
    </af:column>
    </f:facet>
    <f:facet name="pathStamp">
    <af:outputText value="#{node}"
    binding="#{backingBeanScope.EditValidationDetails.ot3}"
    id="ot3"/>
    </f:facet>
    </af:treeTable>
    >
    Thanks in Advance...
    Regards
    Thoom

  • Issue while redefining BEx query in NW Gateway

    Hi Friends,
    I am trying to redefine a BEx query in Netweaver Gateway system using SEGW transaction, and MDX query option. I am getting the following error after step 2 (step 1 is selecting the catalog and query name, and step 2 is assigning model/service name)  :
    Could not retrieve the Model Name 'Z_ODATASERVICE_2_MDL' and Version '0001'
    I have already created one test odata service by redefining another query from the same system, but I was able to do it successfully. Any help on the error would be appreciated !

    Hi Juhi,
    I am facing the same issue. BW query has three input parameters i.e. Year, Month and Profit center.
    I can create the service when query has only one input parameter i.e. Year. But when query has more parameter other than year, I cant create the service. Getting an error 'Association AZPROFIT_CToListOfValues: referential constraint property not found in entity ZMFIGL_ZFIGL_COST_FINAL_FIORIParameter.'
    As per your last reply, if we have multiple input parameters then it does not allow to create the service from BEX query. How did you resolve this issue. Please provide some details.
    Thanks in Advance.
    Abhishek.

Maybe you are looking for

  • BPM 11g Role Assignment not Reflected on BPM Workspace

    Hi, I'm having trouble with role maping in JDeveloper for my BPM 11g project, where the server groups mapped against a particular applcation role is not reflected in BPM workspace. I'm mapping application roles with server groups in the Organization

  • Thumbails are half grey in Imovie, almost impossible to edit

    Hi, I am new to this forum, and I use iMovie version 10.0.2 I work on a project which is in my iMovie Library. It all works fine, I can play the movie and import new clips/ videos etc. However, the big problem is that there is some grey noise or sort

  • GL balance differenes under FS10N

    Hi, While I check the GL balance under FS10N, double click under value of Cumulative figures which is being mismatched with total line itme value. Two GL accounts are found wrong values in period 2 and another found period 4. One GL account dump has

  • What is the best way to configure storage device for rac?

    Hi On my disk array i have 7mirors and two conroler, what is the best way to configure environment? My application is OLTP, it runs 6-20 o clocj, so i can do backup when nobady work Database 10g r2, Windows 2003 enterpise for examlep First controler

  • TCODE for Query

    Hello I created a Query in SQVl, then I created a TCODE and I already assign the TCODE to a new Query. The query is for Physical Inventory Report. I have the following fields in my report: Material Number Plant Physical Inventory Document Stirage Loc