Max. no. of rows in GridbagLayout

Is there any limit for number of rows (y) in GridbagLayout?
Recently I mistyped the 'Y' parameters as 888 during creating a GUI. The code compiled smoothly but it gave ArrayIndexOutOfBoundsException: 888 at run time.
Anybody has some idea about it.
vinod

A word of advice; don't post the same question in a number of forums. You have posted it here in three different forums. The folks who will be the most help to you read most of the forums and the extra posting causes a waste of time and bandwidth.<BR><BR>My personal take on your problem is that if you are getting more than 65k rows, Excel is the wrong tool. You are looking at data, not information. The human mind doesn't really work that way, and while you might be getting the number out and be replacing an oldgreenbar report, I'd suggest that you look at what you really want to find out.<BR><BR>When drilling, you are normally looking for exceptions -- best performance and/or worst performance -- and the people who need the information need to know what they are looking for. Doing a report that returns 65K rows is not going to make it easier to manage a business. Think about using ranking, top 5% returns, and possibly some flags in the database to narrow the focus. Also, attribute dimesnions or focussing the drill can help.<BR><BR>I've done various types of decision support, analysis, and Executive Information Systems for over 20 years and I've seen what can be really useful. If a customer asks for a massive report, I try to determine how the information will be used and while it may be easy to give the customer what is requested, I normally also probvide my best estimation of a tool that provides the same information in a much more digestible way, using graphics, exception reporting, and better data orgainzation.<BR><BR>A 65k row drill doesn't really help anyone. There are better ways to get the same type of information.

Similar Messages

  • Howto limit max. count of rows in a TABLES-based import-parameter?

    Hello all,
    I have created a web service based on a custom function module in SAP. Beside others this function module provides one TABLES input parameter, which is set to "optional". Now I want to publish the web service with this parameter optionally as well, but also allow it for max. 10 tmes (meaning max. 10 rows for this import table).
    I have found an entry for min and max settings in SE80 for this web service, but unfortunately these both fields are read-only, so I can't set the maxOccurs here.
    Any ideas how I can solve this problem?
    Thanks in advance for your help!
    Kind regards, Matthias
    Edited by: Matthias F. Brandstetter on Oct 21, 2010 10:32 AM

    Hi,
    It is not possible to change SAP generated service. Better you create new service in ESR and assign correct maxOccurs and then create proxy of this service in backend where you can also map ESR service to FM.
    To minimize effort you can copy same wsdl and then change wsdl and import in ESR as new service.
    Regards,
    Gourav

  • Max no.of rows capacity in a cursor ?

    Gurus,
    Do we have any limitations in cursors to hold max no.of rows returned by a SQL ?
    My select returning 50 Million rows. Can I hold all of them in a single cursor ?
    Thnaks.
    S

    Wrong question. A cursor does not have "capacity".
    A cursor is an executable program. Not a set of results. It is not a copy of resulting rowids/rows for the SQL. Just imagine if it was.. how many cursors could we then open? Each cursor will consume loads of memory as each cursor will need to make a copy of the data. This is not scalable at all. A RDBMS will struggle to support more than just a couple of user sessions.
    Source SQL is in fact a source program. A set of instructions in the SQL language of what the server needs to do. This program is parsed by the SQL Engine and then a binary executable program created for it. This is stored as a shared program (to be used by any session needing it) in the Shared Pool. This is why using bind variables are important (it allows the program to be generic without hardcoded values). The instructions of this binary program can be seen via its execution plan. This binary executable program is commonly called a cursor in database speak.
    A program typically consists of a code segment and a data segment. The code segment is the cursor in the Shared Pool. And this code segment of the program can be used by any other session too.
    When you open the cursor, you access the code segment of the program in the Shared Pool. A data segment is created just for your use of that program. This contains the state variables, bind variable values, and other data required for executing and managing the program. (A DLL in Windows and SO in Unix/Linux, work in the exact same fashion)
    When you fetch from the cursor, the program is executed (as per the execution plan determined by the CBO). Your cursor's state data is updated. And you get, as output from this program, data in the form of rows.
    Each subsequent fetch repeats this process, until the program (cursor) fails to find any more rows to return.
    All SQL statements, every single one, is treated in this fashion. It is parsed and compiled, execution plan determined and then stuffed into the Shared Pool as a cursor. Does not matter if it is a SQL statement from Java, SQL*Plus, Delphi, inside PL/SQL, or a nested SQL generated by Oracle itself.
    How many rows can be returned by a binary executable program (cursor)? You could just as well have asked, how many rows can a source code program (SQL statement) return?
    The answer to that is, how many rows are in the table?
    There is no limit in that regard. What is a limit in this respect, is the size of the redo when running a SQL on a table "slowly", while the table is subject to a lot of changes. The consistent read/view you have on that table (also called a snapshot) needs to be maintained for the duration of that cursor's execution. At some stage that cursor may fail to find the rows matching the version of data required to provide you with a consistent read. In such a case, the cursor will throw an exception saying that the snapshot is now too old and cannot be reconstructed anymore.

  • Max number of rows in a BEX structure

    Hi gurus,
    we need to create a structure with 164 key figures, and before starting doing it, does anybody knows which is the max number of rows that can be created on a BEX structure?
    I'm not asking about max number of rows on a query, i'm asking about the number of entries that you can manually create on a structure. Is there a maximum?
    Thanks in advance,
    regards,
    Miguel

    Hi Migual,
    You can add as per your requirement. Please refer the following link
    http://help.sap.com/saphelp_nw04/helpdata/en/4d/e2bebb41da1d42917100471b364efa/content.htm
    Assign Points if helpful.
    Regards,
    Amit

  • Max No of Rows

    Hi All,
    I am developing a dashboard using QWASS and oracle DB.
    The Base table is having more than 20 Lac records according to daily basis these records might increase.
    Right now i developed with dummy records when i moved to production the data is large.
    So that how can i work it out.
    Can any body tell how many max no of row s will give good performance.
    And also how many max records can hold by excel which is embedded with Xcelusius.
    Thanks
    Santhosh V

    Hi Santhosh,
    As i told you in my previous post we did created one of our dashboard on top of 1200+ records (not recommended though) and the connection is with the help of BSP application then we tried the same thing with liveoffice, with an intention to improve the performance but that one is a disaster Dashboard got hanged, Liveoffice is quite slow because of its added over hears.
    restriction is also from the flash  point of view. so its better to go for a summered data and create item level report on some other tool like crystal reports, export that report to Business object repository and use that link inside your Xcelsius dashboard (from where you can pass your parameters)
    or you can embed your dashboard inside crystal reports and then host that file on BOE .
    Good Luck & keep posting.

  • Max number of rows to display in a pivot table

    I have a pivot table with two row levels and I need to fix the max amount of rows to display at the second level to five. Can I do that on excel 2013?
    Example
    Row Levels
    Machine A
    Part 1 (to be displayed)
    Part 2 (to be displayed)
    Part 3 (to be displayed)
    Part 4 (to be displayed)
    Part 5 (to be displayed)
    Part 6 (not displayed)
    Machine B
    Part 1 (to be displayed)
    Part 2 (to be displayed)
    Part 3 (to be displayed)
    Part 4 (to be displayed)
    Part 5 (to be displayed)
    Part 6 (not displayed)
     and so go on. 

    Hello, 
    you can use a filter to display only the top 5 items of the second level, based on their value. To do that, right-click on a label in the second level, then select Filter > Top 10.  Change the 10 to a 5 in the next dialog.
    You can also create a label filter, but it only takes one filter condition.
    Another way is to select the rows you don't want to be shown, then use right-click > Filter > Hide Selected Items
    cheers, teylyn

  • "Numbers" when creating a sheet the max number of rows is only 255, is this correct because i thorght is was something like 65,000

    "Numbers" when creating a sheet the max number of rows is only 255, is this correct because i thorght is was something like 65,000

    max columns is 255
    max rows should be 65535

  • Find MIN, MAX of multiple rows from multiple columns

    Hello,
    I need to figure out how to pull the MIN/MAX of multiple rows from multiple columns into one column. Even if some are NULL/blank.
    For Example: (C: Column, R: Row, N - NULL/Blank)
    C:____1____2____3____ 4____Max
    R:____20___22___13____4____*22*
    R:____N____N____32____14___*32*
    R:____N____12____N____N____*12*
    That is, it always gives a value for MIN/MAX unless there are NO values in all the rows of the columns.
    So if there is one value, it will select that for the MIN/MAX, as it's the smallest/biggest since there is nothing to compare it to.
    Here is my current code:
    CASE WHEN COLUMN 1 < COLUMN 2 THEN COLUMN 2 ELSE COLUMN 1 END

    Hi Thank you for your feedback, unfortunately, I just found out that EVALUATE Function is disabled in our environment for security reasons, so the only other way I've discovered is this:
    The problem is that none of the conditions in the case statement are met--so the column is set to null. You can add a WHEN statement (section 2 below) to catch the nulls. There are five cases to consider:
    Case 1: begin insp > bad order
    Case 2: begin insp < bad order
    Case 3: bad order only (begin insp is NULL)
    Case 4: begin insp only (bad order is NULL)
    Case 5: both begin insp is NULL and bad order is NULL
    1) If bgn-crm-insp-ob > report-bo-ob then bgn-crm-insp-ob
    (Case 1)
    CASE WHEN filter ("- Terminal Task Measures"."Task Reported DateTime (Local)" using "Task Detail"."Task Code" = 'bgn-crm-insp-ob') > filter ("- Terminal Task Measures"."Task Reported DateTime (Local)" using "Task Detail"."Task Code" = 'report-bo-ob') THEN filter ("- Terminal Task Measures"."Task Reported DateTime (Local)" using "Task Detail"."Task Code" = 'bgn-crm-insp-ob')
    2) If report-bo-ob is NULL then bgn-crm-insp-ob
    (Case 4, 5) for case 5, you will get NULL
    WHEN filter ("- Terminal Task Measures"."Task Reported DateTime (Local)" using "Task Detail"."Task Code" = 'report-bo-ob') IS NULL THEN filter ("- Terminal Task Measures"."Task Reported DateTime (Local)" using "Task Detail"."Task Code" = 'bgn-crm-insp-ob')
    3) Else report-bo-ob
    (Cases 2, 3)
    ELSE filter ("- Terminal Task Measures"."Task Reported DateTime (Local)" using "Task Detail"."Task Code" = 'report-bo-ob') END
    Hopefully this works, I'll give feedback if it does, or if you have any further suggestions please submit, again, THANK YOU SO MUCH ANYWAYS!

  • Max of each row

    I want to select max column from a row.
    Students--table
    Name mark1 , mark2 ,mark3
    A 60 90 85
    How can I find the max of each row

    I want to select max column from a row.
    Students--table
    e mark1 , mark2 ,mark3
    A 60 90 85
    How can I find the max of each rowMax of each row?? Are you sure thats what you want? How come anyone select a max of each row?? A row is single and what max of the single one(row) can you select?
    Please provide the required output that you desire to have so that we can guide you!
    Jithendra

  • SQL: Find table with max no. of rows

    I have a table containing list of table names for each owner; as
    ## Table: db_tables
    OWNER TABLE_NAME
    a ta_1
    a ta_2
    a ta_3
    b tb_1
    b tb_2
    c tc_1
    Now, i want to know the table with max. no. of rows for each owner
    Plz....can anyone gimme a solution for the above ......

    Assuming 10g and above:
    SQL>  SELECT owner,
                 MAX(table_name) KEEP (DENSE_RANK FIRST ORDER BY XMLQUERY (t RETURNING CONTENT).getnumberval() DESC) table_name,
                 MAX(XMLQUERY (t RETURNING CONTENT).getnumberval()) cnt
        FROM (SELECT owner,table_name,    'count(ora:view("' || table_name || '"))' t
                FROM all_tables
               WHERE owner IN ('MICHAEL','SCOTT'))
               GROUP BY owner
    OWNER                          TABLE_NAME                            CNT
    MICHAEL                        SERVICE_ZIP                       1000000
    SCOTT                          EMP                                    14
    2 rows selected.

  • Max number of rows?

    Hi,
    We have a new implementation of Enterprise X1 3.1 and are trying to determine what determines the maximum number of rows that can successfully be generated using Webi.  Is there a hard limit that Webi has (assuming the Universe max rows is deactivated)?
    Also, is there a limit for Live Office extractions into Excel?  What are the main drivers for this limit?
    Finally, all other factors being equal, are there different limits for the number of rows a query can return successfully in Webi vs Deski vs BEx?  How does the performance of these three tools compare to each other in terms of speed?
    Thanks!
    Darryl

    Thanks for your reply!  I also got a response back from SAP / BObj that I'll share:
    Q) We have a new implementation of Enterprise X1 3.1 and are trying to determine what determines the maximum number of rows that can successfully be generated using Webi. Is there a hard limit that Webi has (assuming the Universe max rows are deactivated)?
    => There is a limit to the number of pages Web Intelligence reports can have. This is because there are a maximum number of pages (per report) the server can process. This number depends on the paper size chosen. Generally, it is approximately 590000 inches vertically by 590000 inches horizontally. Therefore, if you choose a smaller paper size, you get more pages but may not see all the pages of the report.
    Resolution:
    To work around this behavior, you can either make each line smaller to get more records, or split your report into more than one report to see all your data.
    Q) Is there a limit for Live Office extractions into Excel? What are the main drivers for this limit?
    => By default its set to 512 rows and columns....however you can change this by modifying the Liveoffice_config.properties file...you can locate this file in /dswsbobje/lib/dsws_liveoffice_provider.jar.
    Q) Are there different limits for the number of rows a query can return successfully in Webi vs. Deski?
    => Although there is no official limit on the number of rows that can be handled by DeskI, it is really not meant to be used like a database, i.e. for returning millions of rows. The purpose of BusinessObjects reporting tools is to get useful information, which is not possible with millions of rows.
    => It has been observed that when the number of rows increases beyond 1.5 million approximately, it starts affecting the Desktop Intelligence performance. This behavior may vary from machine to machine depending upon the available resources and programs (processes) running in the background.
    => The limit is related to the number of rows those can actually be displayed in the report and not how many can be loaded into the data cube. All the rows get loaded in the cube however when it comes to rendering them in the report the problem may arise.
    Example: Report A returns 2 million rows into the cube however due to the report design there are only 200 rows in the actual report page and can be run successfully. Report B tries to render all 2 million rows into the actual report page and can fail.
    Workaround:
    Use filters in the report so that it will retrieve less number of rows and will also help to display useful data.

  • Pivot min & max in single row.

    Greetings,
    Please help me in this case...
    Can we get the columns as,
    Dimension, # Count, MAX (# Count), MIN (#Count) all in one line with separate values but separate min, max & count in pivot.
    also imagine for multiple rows .
    this report is seen on year level but the min & max shld be on a level below, quarter.
    i.e. this report will give the total count for all quarters, max no of count from 4 quarters & same for min.
    ---------|_--____________YEAR_____________
    Dim ---|# Count -- MAX (Count) --- MIN (Count)
    Please help.
    Thanks,
    Dev

    I'm not sure if this is what you're after, but using Aketi's tabibitosan method:
    with results as (select someid,
                            adate,
                            row_number() over (order by adate) rn,
                            dense_rank() over (partition by someid order by adate) dr,
                            row_number() over (order by adate) - dense_rank() over (partition by someid order by adate) diff
                     from   t1)
    select someid,
           min(adate) min_adate,
           max(adate) max_adate
    from   results
    group by someid, diff
    order by min(adate);
        SOMEID MIN_ADATE                       MAX_ADATE                     
           756 25/01/2010 07:22:57.000000      25/01/2010 07:23:58.000000    
           822 25/01/2010 07:24:44.000000      25/01/2010 07:25:33.000000    
           770 25/01/2010 07:29:53.000000      25/01/2010 07:30:11.000000    
           816 25/01/2010 08:03:02.000000      25/01/2010 08:27:13.000000    
           770 25/01/2010 08:54:04.000000      25/01/2010 08:54:16.000000    
           822 25/01/2010 08:58:07.000000      25/01/2010 08:58:09.000000

  • [CLOSED] MAX returning two rows

    Hi all,
    I need to write a query that return 1 row.
    If 'part 1' returns a value, the query needs to return null. If 'part 1' returns multiple values for latest_date, I need to return the latest of the dates.
    Currently, this is the query I have. However this query returns more than 1 row.
    Anny pointers are appreciated. Thanks
    select Max(transaction_table.latest_date)
    ,transaction_table.status
    from
    ---part 1
    (select
    sysdate latest_date
    ,'hello' status
    from dual
    UNION
    --part 2
    select
    NULL latest_date
    ,NULL status
    from dual) transaction_table
    group by transaction_table.status;
    RESULT:
    MAX(TRANSACTION_TABLE.LATEST_DATE) STATUS
    17-MAR-08 hello
    2 rows selected
    Message was edited by:
    user594688
    THANK YOU for all the replies

    Hi,
    max funtion never returns two rows :-)
    If 'part 1' returns a value, the query needs to
    return null. If 'part 1' returns multiple values for
    latest_date, I need to return the latest of the
    dates.It can't dual always return 1 row.
    So, why do you need part 2?
    >
    Currently, this is the query I have. However this
    query returns more than 1 row.
    This will make your query return one row, but that's probably not what you want:
    SQL> with md AS
      2    (select max(latest_date) max_date
      3     from
      4     ---part 1
      5       (select sysdate latest_date
      6              ,'hello' status
      7        from dual
      8       UNION
      9     --part 2
    10        select NULL latest_date
    11              ,NULL status
    12        from dual))
    13  select transaction_table.*
    14  from   md
    15        ,(select sysdate latest_date
    16                ,'hello' status
    17            from dual
    18         UNION
    19         select NULL latest_date
    20               ,NULL status
    21         from dual) transaction_table
    22  where md.max_date = transaction_table.latest_date;
    LATEST_DA STATU
    17-MAR-08 hello
    1 row selected.Regards
    Peter

  • Query about min and max and middle row of a table

    suppose i have table emp and field
    v_date date;
    which has data in time stamp
    time
    10:20
    10:25
    10:30
    10:32
    10:33
    10:35
    10:36
    10:38
    I need only min time and max time and two record between min and max

    I need only min time and max time and two record between min and max Like this?
    SQL> create table t (id number);
    Table created.
    SQL>
    SQL> insert into t values (1020);
    1 row created.
    SQL> insert into t values (1025);
    1 row created.
    SQL> insert into t values (1030);
    1 row created.
    SQL> insert into t values (1032);
    1 row created.
    SQL> insert into t values (1033);
    1 row created.
    SQL> insert into t values (1035);
    1 row created.
    SQL> insert into t values (1036);
    1 row created.
    SQL> insert into t values (1038);
    1 row created.
    SQL>
    SQL> commit;
    Commit complete.
    SQL>
    SQL> select * from t;
         ID
       1020
       1025
       1030
       1032
       1033
       1035
       1036
       1038
    8 rows selected.
    SQL>
    SQL>
    SQL> select decode(rownum, 1, min_val, 4, max_val, next_val) your_data from (
      2  select first_value (id) over (partition by 'a' order by 'a') min_val,
      3         last_value (id) over (partition by 'a' order by 'a')  max_val,
      4         id,
      5         lead(id) over (partition by 'a' order by id) next_val
      6   from t
      7  order by id
      8   )
      9  where min_val <> next_val and max_val <> next_val
    10  and rownum <= 4;
    YOUR_DATA
         1020
         1030
         1032
         1038
    SQL>

  • How to set max. number of rows in a table?

    Hi,
    I'm working on a SCADA interface. In this application there are different tables with vertical scroll bar.
    I prefer to make visible only the initialized rows (I've initialized 40 blank rows of a table with a string array). Since the window not contain all 40 rows but only 20 rows, I set the rows number of "table properties window" to 20; so I added a vertical scroll bar.
    Now, when a user scroll the scroll-bar, he can view not only the 40 rows initializated, but an undefined number of rows.
    There's a way to visualize only a limited number of rows?
    Thanks in advance!

    duplicate
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for