Default number of columns shown on query

Hi,
how can i adjust the default number of columns shown on a query table (without scroll) without creating a template on WAD.
I'm using BW7 with Portal.
thx

Hi Juan,
try to adjust the settings of the standard web template 0ANALYSIS_PATTERN. This template can be found in the Web Application Designer environment.
Check also the available options in the following link:
http://help.sap.com/saphelp_nw04s/Helpdata/EN/76/489d39d342de00e10000000a11402f/content.htm
Regards,
Theodoros

Similar Messages

  • RPD - Cannot obtain number of columns for the query result :Working with MS SQL 2012 schema

    Hi All,
    I have created my warehouse in MS SQL 2012.
    For management purpose, I have created different schemas in SQL database
    In RPD, Physical layer, when i view data > I get error as
    [nQSError:16002] Cannot obtain number of columns for the query result.
    [nQSError:16001] ODBC error state : S0002 code : 208 message: [Microsoft][ODBC SQL Server Driver][SQL Server] Invalid object name 'tbl'..
    [nQSError:16001] ODBC error state : S0002 code : 208 message: [Microsoft][ODBC SQL Server Driver][SQL Server] Statements could not be prepared..
    I have already browsed : OBIEE 11g Strange ODBC Driver Error with SQL Server : Total Business Intelligence ... did not help me
    please help!!!

    Hi All,
    After all R&D it is been found that Oracle business administrator( RPD) needs default dbo schema. It doesn't accept custom schema for pulling data.
    If anybody have other views please share.!!
    Thank you

  • How to set default number of records shown in an interactive report table?

    How can I set the default number of rows shown on an interactive report?
    The default seems to be 15, I can't find where this can be changed.

    Hi John,
    When you're logged into the development interface, run the page with the IR. Set the rows from 15 to 5 (for example) and click "GO". Now click on the Actions Menu icon (the green gear), click "Save Report". "Save as: As default report settings". Click Apply and your rows will be set.
    Martin
    [http://apex-smb.blogspot.com/]

  • How to set default number of records shown in report table?

    How can I set the default number of records shown in a table report?

    This is how report attributes page should look like and there is the number of rows where you enter whatever you need:
    http://i44.tinypic.com/es95bn.gif
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Reducing number of columns in case query

    Hi all,
    I am operating on 10G R/2.
    I have a query which produces the columns with the number of counts.
    SUM (CASE WHEN LTRIM(RTRIM(W_O)) ='ROKOLBIN' THEN 1 ELSE 0 END) AS "O_ROKOLBIN",
    SUM (CASE WHEN LTRIM(RTRIM(W_I)) = 'ROKOLBIN'THEN 1 ELSE 0 END) AS "I_ROKOLBIN",
    sum(case when LTRIM(RTRIM(W_O)) ='GULURU' then 1 else 0 end) as "O_GULURU",
    sum(case when LTRIM(RTRIM(W_I)) ='GULURU' then 1 else 0 end) as "I_GULURU",
    sum(case when LTRIM(RTRIM(W_ON ))='PURE' then 1 else 0 end) as "O_PURE",
    I would like to reduce teh number of columns to 2,
    One column is for Division.Division can be either O_ROKOLBIN,I_ROKOLBIN,O_GULURU,I_GULURU,O_PURE
    The other column is Subtotal.Subtotal are teh sums as above ,SUM (CASE WHEN LTRIM(RTRIM(W_O)) ='ROKOLBIN' THEN 1 .
    Can anyone advie how can I acheiev this.
    Thanks.

    Hi,
    CrackerJack wrote:
    Hi all,
    Thank you for your wonderful ideas,
    I took it onboard and redesigned the query to add the dates.
    <pre>
    SELECT
    DATE_DIVISION week_start_date ,
    next_day ( DATE_DIVISION - 7, 'Sunday' ) + 6 week_end_date ,
    to_number(to_char(DATE_DIVISION,'WW') )week_no ,
    'I_'||W_I AS DIVISION ,
    COUNT(W_I) CNT
    FROM TEST A
    </pre>I get an error when I run that. Don't you need to say TEST_A, with an underscore?
    <pre>
    GROUP BY DATE_DIVISION, next_day ( DATE_DIVISION - 7, 'Sunday' ) + 6, to_number(to_char(DATE_DIVISION,'WW') ), 'I_'||W_I
    </pre>
    At the moment query is coming up like this:
    12-Jan-10     14-Jan-10     2     I_GULURU     1
    12-Jan-10     14-Jan-10     2     I_GULURU     1
    12-Jan-10     14-Jan-10     2     I_PURE     1
    12-Jan-10     14-Jan-10     2     I_PURE     1
    12-Jan-10     14-Jan-10     2     I_GULURU     1
    12-Jan-10     14-Jan-10     2     I_GULURU     2
    12-Jan-10     14-Jan-10     2     I_GULURU     1
    12-Jan-10     14-Jan-10     2     I_ROKOLBIN     1
    12-Jan-10     14-Jan-10     2     I_GULURU     1
    12-Jan-10     14-Jan-10     2     I_ROKOLBIN     1
    12-Jan-10     14-Jan-10     2     I_PURE     1
    12-Jan-10     14-Jan-10     2     I_GULURU     1I don't think you're getting this output from the sample data you posted. The dates in the sample data are all in February. It would really help if you posted the actual data, and the results you want from that data. In this case, I suspect the whole problem is that the dates in your real data (unlike your sample data) all have different times. If that's so, use TRUNC (date_division), instead of date_division, like this:
    SELECT    TRUNC (date_division)     AS week_start_date
    ,       next_day ( TRUNC (date_division) - 1
                 , 'Saturday'
                    )           AS week_end_date
    ,       TO_CHAR ( date_division
                , 'FMWW'
                )          AS week_no
    ,       'I_' || w_i           AS division
    ,       COUNT (w_i)           AS cnt
    FROM        test_a
    GROUP BY  TRUNC (date_division)
    ,       TO_CHAR ( date_division
                , 'FMWW'
    ,       w_i
    ;

  • Count number of columns in query passed as PLSQL parameter

    Hi All,
    I am using a PLSQL package to generate excel file in a Database directory, to generate file i am passing sql query and number of columns manually in a parameter.
    Now i want to automate it and do not want to pass "Number of Columns" as parameter.
    HOW CAN I CALCULATE NUMBER OF COLUMNS IN PASSED QUERY.
    Note: query can contain functions ( to get description or any other data)
    Many Thanks in advance

    http://saubbane.blogspot.com/2011/01/how-to-find-column-count-of-query.html
    Along with Re: Dynamic Fetch on dynamic Sql and just below this post, Blushadow's original run_query (from which I nicked!).

  • Max number of columns in a Webi report

    In a worst-case scenario test, I requested about 1700 columns in a Webi report, but only a little more than 300 appeared in the SQL; a TOAD request for the same 1700 columns was successful. Is there an upper limit for the number of objects that can appear in a Webi report? Is there a parameter that could increase the limit?

    My eyes read the first half and my brian assumed the second half.
    I dont think there is a limitaion on the number of objects that a WebI report can pull.
    The only limitation I know of is the maximum number of column that you can display in the report panel; the max number is 100,000.
    With the limit on the max number of column diplay in a WebI report can be translated into the max number of columns in the query panel.
    This setting is in CMC> Applications>Web Intelligence-->Quick Display mode

  • DBMS_SQL With Unknow Number Of Columns

    Hey,
    I am trying to write a pl/sql stored procedure. In the procedure, I am creating a query, which the number of columns that the query pulls back is not known until runtime. I have seen a few examples on dbms_sql, but with most of them, the number of columns returned is known. Any help is much appreciated, thanks.

    oracle-developer.net has a nice article about a true resp. native Method 4 implementation in PL/SQL using ANYDATASET.
    See here for more details: http://www.oracle-developer.net/display.php?id=422
    Similar to Tom Kyte's post mentioned above it also provides the "data dump" utility offering more options:
    http://www.oracle-developer.net/content/utilities/data_dump.sql
    It also shows how to use DBMS_SQL.DESCRIBE_COLUMNS to retrieve the meta data about the result set.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle:
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Count number of colums for that query.

    Hi all,
    I need to return the number of columns for that query, the columns are not known...dynamic columns.
    i.e
    1) Example 1
    select column1, column2
    from dual;
    Result should return counter = 2
    2) Example 2:
    select column1, column2,column3,column4, column5
    from dual;
    Result should return counter = 5
    from dual;
    Result should return counter = 2
    Thanks.

    qwestion wrote:
    I need to return the number of columns for that query, the columns are not known...dynamic columns.For this you'll need to use the DBMS_SQL package:
    e.g.
    SQL> ed
    Wrote file afiedt.buf
      1  CREATE OR REPLACE procedure query_col_count(p_sql IN VARCHAR2) IS
      2    c NUMBER;
      3    rec_tab DBMS_SQL.DESC_TAB;
      4    col_cnt INTEGER;
      5  BEGIN
      6    c := DBMS_SQL.OPEN_CURSOR;
      7    DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
      8    DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
      9    DBMS_SQL.CLOSE_CURSOR(c);
    10    DBMS_OUTPUT.PUT_LINE('Number of columns: '||col_cnt);
    11* END;
    SQL> /
    Procedure created.
    SQL> exec query_col_count('select empno, ename from emp');
    Number of columns: 2
    PL/SQL procedure successfully completed.
    SQL> exec query_col_count('select * from emp');
    Number of columns: 8
    PL/SQL procedure successfully completed.
    SQL>

  • How to transpose rows to multiple dynamic number of columns

    Hi All,
    I have a requirement to transpose the rows in single column to multiple columns. The columns are not fixed.
    A table called XX_PRODUCT_SIZE.
    The data in the table are,
    PRODUCT_NO SIZE PRESSURE
    P1 1 100
    P1 1 200
    P1 2 100
    P1 2 300
    P1 3 300
    The data in the table are not fixed with respect to size and pressure. In future the product P1 may have size 4 with new pressure 900.
    Now I want to convert these rows into multiple columns.
    So it should be,
    PRODUCT_NO SIZE_1 SIZE_2 SIZE_3 PRESSURE_100 PRESSURE_200 PRESSURE_300
    P1 TRUE TRUE TRUE
    P1 TRUE TRUE TRUE
    P1 TRUE TRUE
    I tried many ways of writing using CASE, MAX with rownumber over partition by etc. but which will not work for me as the rows are not fixed to compare.
    Can you please help me writing a query which transpose rows to columns dynamically. My intention is to create a materialized view for this XX_PRODUCT_SIZE table with transposing columns.
    I am using 10g DB
    Thank You
    Manju
    Edited by: ManjuNaik88 on May 28, 2013 2:29 AM

    Hi,
    If the number of columns in a query has to be figured out at run-time, then you need dynamic SQL. See the froum FAQ {message:id=9360005} for links to examples.
    You might find it easier to create one big column that looks like a variable number of columns. SELECT ... PIVOT can do this with XML output. String aggregation is another way; see {message:id=3527823} .
    ManjuNaik88 wrote:
    ... I saw Oracle 11g Pivot can be used. "PIVOT" is still not working
    SELECT ... PIVOT works. If it's not doing what you the way you're uisng it, then just change how you're using it.
    (You don't expect a mor precise answer with just that information, do you?)

  • SQL Query - The number of columns specified in "SQL Query" does not match t

    I am creating new UDM for tablespace alert, below is my query,however its failing with error
    SQL Query - The number of columns specified in "SQL Query" does not match the value specified in "SQL Query Output"
    I selected Metric type is number
    SQL Query Format : Two columns
    Query:
    SELECT d.tablespace_name,round(((a.bytes - NVL(f.bytes,0))*100/a.maxbytes),2)
    used_pct FROM sys.dba_tablespaces d,(select tablespace_name, sum(bytes) bytes, sum(greatest(maxbytes,bytes)) maxbytes from sys.dba_data_files group by tablespace_name) a,(select tablespace_name, sum(bytes) bytes from sys.dba_free_space group by tablespace_name) f
    WHERE d.tablespace_name = a.tablespace_name(+) AND d.tablespace_name = f.tablespace_name(+)
    AND NOT (d.extent_management = 'LOCAL' AND d.contents = 'TEMPORARY');
    Any clues why i am getting error.

    SQL> SELECT d.tablespace_name,round(((a.bytes - NVL(f.bytes,0))*100/a.maxbytes),2) used_pct
    2 FROM sys.dba_tablespaces d,(select tablespace_name, sum(bytes) bytes, sum(greatest(maxbytes,bytes)) maxbytes from sys.dba_data_files group by tablespace_name) a,(select tablespace_name, sum(bytes) bytes from sys.dba_free_space group by tablespace_name) f
    3 WHERE d.tablespace_name = a.tablespace_name(+) AND d.tablespace_name = f.tablespace_name(+)
    4 AND NOT (d.extent_management = 'LOCAL' AND d.contents = 'TEMPORARY');
    TABLESPACE_NAME USED_PCT
    MGMT_TABLESPACE .82
    SYSAUX 1.52
    UNDOTBS1 .32
    RMAN .02
    CORRUPT_TS 10.63
    USERS 0
    SYSTEM 2.26
    MGMT_ECM_DEPOT_TS .04
    MGMT_AD4J_TS 0

  • How can I find number of columns in a table using a query

    Hi
    I want to find the number of columns in a table using a query.
    Any help in this regard is much appreciated.
    Cheers

    Hi,
    This is the output i get when i executed ur query
    OWNER     OBJECT_NAME     OBJECT_TYPE
    SMLDBO     T2311_SURVEY_QUESTIONS     TABLE
    select OWNER,OBJECT_NAME,OBJECT_TYPE
    from all_objects
    where OBJECT_NAME = 'T2311_SURVEY_QUESTIONS';
    works Fine.
    But if i use the below query it returns : 0
    SELECT count(*) FROM user_tab_columns
    WHERE table_name =upper( 'T2311_SURVEY_QUESTIONS');
    What could be problem.
    The table exists + name of the table is correct + it resides in my schema itself.
    Any guess !!!

  • Query to know number of columns in a table

    please can anyone suggest me a query to know number of columns in a table i.e.
    if I want to know how many number of colums are present in a specific table then what would be the query
    Message was edited by:
    user625519

    Give this a shot:
    SELECT table_name,count(*) as "# of Columns"
    FROM dba_tab_cols
    WHERE table_name = <table name>
    GROUP BY table_name
    ORDER BY table_name;There are other views as well such as USER_TAB_COLS and ALL_TAB_COLS.
    HTH!

  • Count the number of columns return in an user-input sql query

    I need to do something like this
    I let an user input a sql query and then execute it
    assuming the sql query is always correct, it will return a Resultset
    then a table will pop up to accomodate the number of columns the resultset will produce
    i'm stuck at the part on how to check how many columns of data will be return in the resultset

         ResultSet rs = stmt.executeQuery("SELECT a, b, c FROM TABLE2");
         ResultSetMetaData rsmd = rs.getMetaData();
         int numberOfColumns = rsmd.getColumnCount();

  • Is it posible a query that builds dynamically the number of columns?

    Hi experts!
    I have a query that shows amounts in 12 columns corresponding on the calendar months of the year.   Now,  I need to change that getting in a previous screen how many months the user wants to see.   The query has to build dynamically the number of columns to show.    Can I do that with query designer?  How?
    I am working in V7.0.
    I appreciate your help.
    Thanks!
    Ada.

    Hi experts!
    I have a query that shows amounts in 12 columns corresponding on the calendar months of the year.   Now,  I need to change that getting in a previous screen how many months the user wants to see.   The query has to build dynamically the number of columns to show.    Can I do that with query designer?  How?
    I am working in V7.0.
    I appreciate your help.
    Thanks!
    Ada.

Maybe you are looking for

  • Files and folders moved to NAS become read only.

    I just got an Iomega NAS. When I move files and folders to it from my Macbook, they become read only when they get there. Files from my girlfriend's PC stay read/write when they are moved to the NAS. I first noticed this with iTunes. I changed the lo

  • How to fire the query: "IsuOrderItemQuery"

    Hi Experts,                       I am trying to fire the query "IsuOrderItemQuery" by giving the BUPA_NUMBER as the input value. For this I have used the method CL_CRM_BOL_QUERY_SERVICE->GET_QUERY_RESULT but i am not able to get the result and i am

  • Advantages of buying MSI products

    Hi people. I just wanna seek some help here for my Social subject project. I hope someone can list down 5 good advantages of buying MSI products. Thank you!

  • I installed IOS 8 on my iPad and it continually asks for ICloud login. Why?

    I just installed IOS 8 on my iPad and phone and it continually asks me to login for ICloud.  I login and then it asks again about a minute later.  Is this a bug or something I can fix?

  • How to transfer data b/w remote Informix NTS 2000 db server to local MySql

    Hi friends, Please help me to find a way to transfer data from a remote infomix database to local MySql database.Using dbacess tool i can make a flat file and later transfer it to my local pc and load data to database.But i need to make a programe wh