A test query for selecting by ticketid

This is a test query to select tickets by ticketid , starting with the most recent, as to get the top5 most recent tickets. There will be still mistakes in it. please don't tell me those about stupid mistakes,and spaces, at first and obvious syntax mistakes. Otherwise I don't learn it. My question has to do with the loop. Do you think it is useful to use a loop for this, or should it stay as it is, or should it be something else.
DECLARE
Define, and open a cursor;
min_ticket NUMBER; -- minimum ticketid
laatste_ticket NUMBER; -- latest ticketid
tussen_ticket NUMBER; -- in between ticket
Query_to_use VARCHAR2(4000);
BEGIN
Select max(ticketid) into laatste_ticketid from ticket;
Select count(*) into teller from ticket where (ticketid<laatste_ticketid ) AND (ticketid>(laatste_ticketid-6));
Select ticketid, categoriecd, titel into cursor from ticket where (ticketid<laatste_ticketid ) AND (ticketid>(laatste_ticketid-6));
Select min(ticketid) into min_ticketid from ticket;
If teller= < 5
     If teller = 5
          Query_to_use := Query_to_use || ';';
          Return Query_to_use;
     else
          --Loop through records from laatste_ticketid to min_ticketid
               Select gebruikerid into te_testen_veld from ticket where ticketid = tussen_ticketid ;
               If te_testen_veld is NULL THEN
                    tussen_ticketid := tussen_ticketid - 1;
                    te_testen_veld := NULL;
               Else
Query_to_use := query_to_use || ' UNION select ticketid, categoriecd, titel from ticket '||
               ' where ticketid = tussen_ticketid ';
               te_testen_veld := NULL;
               Teller := teller + 1;
                    If (teller < 5)
                         tussen_ticketid := tussen_ticketid - 1;
                    Else if (teller = 5)
                         teller := 6;
                    End if;
               End if;
          --End Loop;
     End if;
End if;
Query_to_use := Query_to_use || ';';
Return Query_to_use;
END;

You can get all this using one SQL statement, without resorting to explicit cursors. Have a look at http://asktom.oracle.com and search for Top-N Query.
Depending on what you are doing, you may want to use a cursor for loop.
I assume this is for some sort of electronic queueing system. if you gave us more detail as to what you are trying to do, you may get better advice.

Similar Messages

  • Error while executing a sql query for select

    HI All,
    ORA-01652: unable to extend temp segment by 128 in tablespace PSTEMP i'm getting this error while i'm executing the sql query for selecting the data.

    I am having 44GB of temp space, while executing the below query my temp space is getting full, Expert please let us know how the issue can be resolved..
    1. I dont want to increase the temp space
    2. I need to tune the query, please provide your recomendations.
    insert /*+APPEND*/ into CST_DSA.HIERARCHY_MISMATCHES
    (REPORT_NUM,REPORT_TYPE,REPORT_DESC,GAP,CARRIED_ITEMS,CARRIED_ITEM_TYPE,NO_OF_ROUTE_OF_CARRIED_ITEM,CARRIED_ITEM_ROUTE_NO,CARRIER_ITEMS,CARRIER_ITEM_TYPE,CARRIED_ITEM_PROTECTION_TYPE,SOURCE_SYSTEM)
    select
    REPORTNUMBER,REPORTTYPE,REPORTDESCRIPTION ,NULL,
    carried_items,carried_item_type,no_of_route_of_carried_item,carried_item_route_no,carrier_items,
    carrier_item_type,carried_item_protection_type,'PACS'
    from
    (select distinct
    c.REPORTNUMBER,c.REPORTTYPE,c.REPORTDESCRIPTION ,NULL,
    a.carried_items,a.carried_item_type,a.no_of_route_of_carried_item,a.carried_item_route_no,a.carrier_items,
    a.carrier_item_type,a.carried_item_protection_type,'PACS'
    from CST_ASIR.HIERARCHY_asir a,CST_DSA.M_PB_CIRCUIT_ROUTING b ,CST_DSA.REPORT_METADATA c
    where a.carrier_item_type in('Connection') and a.carried_item_type in('Service')
    AND a.carrier_items=b.mux
    and c.REPORTNUMBER=(case
    when a.carrier_item_type in ('ServicePackage','Service','Connection') then 10
    else 20
    end)
    and a.carrier_items not in (select carried_items from CST_ASIR.HIERARCHY_asir where carried_item_type in('Connection') ))A
    where not exists
    (select *
    from CST_DSA.HIERARCHY_MISMATCHES B where
    A.REPORTNUMBER=B.REPORT_NUM and
    A.REPORTTYPE=B.REPORT_TYPE and
    A.REPORTDESCRIPTION=B.REPORT_DESC and
    A.CARRIED_ITEMS=B.CARRIED_ITEMS and
    A.CARRIED_ITEM_TYPE=B.CARRIED_ITEM_TYPE and
    A.NO_OF_ROUTE_OF_CARRIED_ITEM=B.NO_OF_ROUTE_OF_CARRIED_ITEM and
    A.CARRIED_ITEM_ROUTE_NO=B.CARRIED_ITEM_ROUTE_NO and
    A.CARRIER_ITEMS=B.CARRIER_ITEMS and
    A.CARRIER_ITEM_TYPE=B.CARRIER_ITEM_TYPE and
    A.CARRIED_ITEM_PROTECTION_TYPE=B.CARRIED_ITEM_PROTECTION_TYPE
    AND B.SOURCE_SYSTEM='PACS'
    Explain Plan
    ==========
    Plan
    INSERT STATEMENT ALL_ROWSCost: 129 Bytes: 1,103 Cardinality: 1                                                        
         20 LOAD AS SELECT CST_DSA.HIERARCHY_MISMATCHES                                                   
              19 PX COORDINATOR                                              
                   18 PX SEND QC (RANDOM) PARALLEL_TO_SERIAL SYS.:TQ10002 :Q1002Cost: 129 Bytes: 1,103 Cardinality: 1                                         
                        17 NESTED LOOPS PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 129 Bytes: 1,103 Cardinality: 1                                    
                             15 HASH JOIN RIGHT ANTI NA PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 129 Bytes: 1,098 Cardinality: 1                               
                                  4 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 63 Bytes: 359,283 Cardinality: 15,621                          
                                       3 PX SEND BROADCAST PARALLEL_TO_PARALLEL SYS.:TQ10001 :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621                     
                                            2 PX BLOCK ITERATOR PARALLEL_COMBINED_WITH_CHILD :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621                
                                                 1 MAT_VIEW ACCESS FULL MAT_VIEW PARALLEL_COMBINED_WITH_PARENT CST_ASIR.HIERARCHY :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621           
                                  14 NESTED LOOPS ANTI PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 65 Bytes: 40,256,600 Cardinality: 37,448                          
                                       11 HASH JOIN PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 65 Bytes: 6,366,160 Cardinality: 37,448                     
                                            8 BUFFER SORT PARALLEL_COMBINED_WITH_CHILD :Q1002               
                                                 7 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 1 Bytes: 214 Cardinality: 2           
                                                      6 PX SEND BROADCAST PARALLEL_FROM_SERIAL SYS.:TQ10000 Cost: 1 Bytes: 214 Cardinality: 2      
                                                           5 INDEX FULL SCAN INDEX CST_DSA.IDX$$_06EF0005 Cost: 1 Bytes: 214 Cardinality: 2
                                            10 PX BLOCK ITERATOR PARALLEL_COMBINED_WITH_CHILD :Q1002Cost: 63 Bytes: 2,359,224 Cardinality: 37,448                
                                                 9 MAT_VIEW ACCESS FULL MAT_VIEW PARALLEL_COMBINED_WITH_PARENT CST_ASIR.HIERARCHY :Q1002Cost: 63 Bytes: 2,359,224 Cardinality: 37,448           
                                       13 TABLE ACCESS BY INDEX ROWID TABLE PARALLEL_COMBINED_WITH_PARENT CST_DSA.HIERARCHY_MISMATCHES :Q1002Cost: 0 Bytes: 905 Cardinality: 1                     
                                            12 INDEX RANGE SCAN INDEX PARALLEL_COMBINED_WITH_PARENT SYS.HIERARCHY_MISMATCHES_IDX3 :Q1002Cost: 0 Cardinality: 1                
                             16 INDEX RANGE SCAN INDEX PARALLEL_COMBINED_WITH_PARENT CST_DSA.IDX$$_06EF0001 :Q1002Cost: 1 Bytes: 5 Cardinality: 1

  • Query for selecting the 4 highest marks of the student

    query for selecting the 4 highest marks of the student

    Guys dont start an argument,
    tey this one; please
    Hi,
    Try this
    Top 4
    Select ename,
    sale
    From dept d,
    emp e1
    Where d.deptno = e1.deptno
    And &p > (Select Count(e2.sal)
    From emp e2
    Where e2.sal > e1.sal
    And e2.deptno = e1.deptno
    Order By 1,2
    Bottom 4
    Select ename,
    sale
    From dept d,
    emp e1
    Where d.deptno = e1.deptno
    And &p > (Select Count(e2.sal)
    From emp e2
    Where e2.sal < e1.sal
    And e2.deptno = e1.deptno
    Order By 1, 2
    &P you use any value say 3,4,5,6
    This is top N analysis
    Regards
    Umesh

  • Query for selecting first  3 characters of name of any person

    query for selecting first 3 characters of name of any person

    10:52:44 SQL> SELECT SUBSTR(ename, 1, 3) first_three FROM emp;
    FIRST_THREE
    SMI
    ALL
    WAR
    JON
    MAR
    BLA
    CLA
    SCO
    KIN
    TUR
    ADA
    FIRST_THREE
    JAM
    FOR
    MIL
    Ton
    15 rows selected.
    Elapsed: 00:00:00.00

  • Query for select CLOB data field

    Hi All,
    I want to know how to write a SQL query for select CLOB tyoe data from a tablw. when I am trying to use the simple SQL it gives an messageLOB types requires OCI8 mode and currently uasing OCI7 ode.
    Also I am not aware of oci mode?
    If its working for OCI8 mode how I should changer it in to OCI8 mode? (I am using 10g rel 2)
    Thans and regards
    Buddhike

    Hi ,
    i don't want to use loop (sy-tabix) ..
    any particular reason for this ?
    as u cannot automatically generate serial number, u have to go for loop....endloop.
    Thanks
    Karthik

  • Dynamic Query for 'Select IN' -- URGENT!!!

    I've got the following Select statement -
    SELECT Employee_Name, SSN FROM Company
    WHERE EMPLOYEE_NAME IN (c_Employee_Name) ;
    Here c_Employee_Name is a Returned RefCursor from another function. It gives error as Type mismatch.
    Is there anyway I can run one SELECT statement for all the Employee_Name returned by the function?
    Any sample code will be great.
    Thanks a lot,
    Suman

    If you have a packaged function that returns a ref cursor,
    something like this:
    CREATE OR REPLACE PACKAGE package_name
    AS
      TYPE c_employee_name IS  REF cursor;
      FUNCTION function_name
        (p_tables      IN  VARCHAR2,
         p_columns     IN  VARCHAR2 DEFAULT '*',
         p_where       IN  VARCHAR2 DEFAULT ' 1 = 1 ',
         p_others      IN  VARCHAR2 DEFAULT NULL)
        RETURN package_name.c_employee_name;
    END package_name;
    CREATE OR REPLACE PACKAGE BODY package_name
    AS
      FUNCTION function_name
        (p_tables      IN  VARCHAR2,
         p_columns     IN  VARCHAR2 DEFAULT '*',
         p_where       IN  VARCHAR2 DEFAULT ' 1 = 1 ',
         p_others      IN  VARCHAR2 DEFAULT NULL)
        RETURN package_name.c_employee_name
      IS
        v_sql              VARCHAR2 (4000) := NULL;
        v_results          package_name.c_employee_name;
      BEGIN
        v_sql :=
           ' SELECT ' || p_columns
        || ' FROM '   || p_tables
        || ' WHERE '  || p_where || ' '
        || p_others;
        OPEN v_results FOR v_sql;   
        RETURN v_results;
      END function_name;
    END package_name;
    Then, you can use a procedure, something like the
    one below, to call the function and loop through
    the ref cursor to concatenate a string of employee
    names to be used in the select statement.  You can
    then open another ref cursor for that select statment
    and process the results however you like.  I used
    dbms_output in the following example:
    CREATE OR REPLACE PROCEDURE procedure_name
    AS
      c_employee_names  package_name.c_employee_name;
      v_employee_name   company.employee_name%TYPE;
      v_employee_names  VARCHAR2 (4000) := NULL;
      v_delimiter       VARCHAR2 (1) := NULL;
      v_sql             VARCHAR2 (4000) := NULL;
      TYPE cursor_type IS REF CURSOR;
      cursor_name cursor_type;
      v_ssn             company.ssn%TYPE;
    BEGIN
      c_employee_names := package_name.function_name
                            ('company', 'employee_name');
      LOOP
        EXIT WHEN c_employee_names%NOTFOUND;
        FETCH c_employee_names INTO v_employee_name;
        v_employee_names := v_employee_names
        || v_delimiter
        || v_employee_name;
        v_delimiter := ',';
      END LOOP;
      v_employee_names := REPLACE (v_employee_names, ',', ''',''');
      v_sql := ' SELECT employee_name, ssn'
            || ' FROM   company'
            || ' WHERE  employee_name IN ('''
            || v_employee_names
            || ''')';
      OPEN cursor_name FOR v_sql;
      LOOP
        EXIT WHEN cursor_name%NOTFOUND;
        FETCH cursor_name INTO v_employee_name, v_ssn;
        DBMS_OUTPUT.PUT_LINE (v_employee_name || ' ' || v_ssn);
      END LOOP;
      CLOSE cursor_name;
    END procedure_name;
    To execute the procedure that calls the function:
    SET SERVEROUTPUT ON
    EXEC procedure_name

  • Query for selecting distinct by date

    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    I have a simple table that has an ID, Title, and Date.
    I need to select the most recent ID (without duplicates). I was looking at using a UNION but couldn't quite get it to work.
    P3XGL2FV96     Test 1     11-AUG-10 03.38.06.000000000 PM
    1VGJ74PSNW     Test 2     11-AUG-10 04.02.22.000000000 PM
    1VGJ74PSNW     Test 2     12-AUG-10 09.49.09.000000000 AM

    Hi,
    You could achieve it like this :
    CREATE TABLE MY_TABLE
    +(+
    ID       VARCHAR2(10),
    TITLE    VARCHAR2(10),
    MY_DATE TIMESTAMP
    +);+
    insert into my_table values ('P3XGL2FV96', 'Test 1', '11-AUG-10 03.38.06.000000000 PM');
    insert into my_table values ('1VGJ74PSNW', 'Test 2', '12-AUG-10 09.49.09.000000000 AM');
    insert into my_table values ('1VGJ74PSNW', 'Test 2', '11-AUG-10 04.02.22.000000000 PM');
    commit;
    SELECT id, title, my_date
    FROM (SELECT id,
    title,
    my_date,
    RANK () OVER (PARTITION BY id ORDER BY my_date DESC) rk
    FROM my_table)
    WHERE rk = 1;
    ID        |TITLE     |MY_DATE
    ----------|----------|---------------------------------------------------------------------------
    +1VGJ74PSNW|Test 2 |12-AUG-10 09.49.09.000000 AM+
    P3XGL2FV96|Test 1    |11-AUG-10 03.38.06.000000 PM
    Remark : if one id have twice the same date they will be both ranked first
    Kind regards,
    Ludovic
    Edited by: ludovic.sz on Aug 12, 2010 8:38 AM

  • Query for select statement

    Dear all
    is there any option in select statement to automatically generate serial number respect of data.
    for eg.
    1 101100110  shetal trade
    2 1110001178 CHEMICAL SOAP WORKS
    3..
    4..
    i don't  want to use loop (sy-tabix) ..
    thanks,
    Abhi

    Hi ,
    i don't want to use loop (sy-tabix) ..
    any particular reason for this ?
    as u cannot automatically generate serial number, u have to go for loop....endloop.
    Thanks
    Karthik

  • Query for selecting current date when running report

    Hi all
    I need a query that will copy today's date on posted sales order via DTW then that query will be linked to an alert and be sent to the sales manager every morning after the import went through successfully.
    The report at the moment is running fine as i pulling through the other info required the only problem is it's pulling all the sales orrders on the system , we want it to pull only the days orders imported.

    You could use either of these queries
    SELECT T0.DocNum, T0.DocDueDate, T0.CardCode, T0.CardName, T0.DocTotal, T0.U_ROUTEMARKTN, T0.U_ROUNDS, T0.U_DAYOFWEEK
    FROM [dbo\].[ORDR\] T0
    WHERE T0.DocDate = GETDATE()
    ORDER BY T0.U_ROUTEMARKTN, T0.U_ROUNDS, T0.U_DAYOFWEEK, T0.DocDueDate
    OR
    SELECT T0.DocNum, T0.DocDueDate, T0.CardCode, T0.CardName, T0.DocTotal, T0.U_ROUTEMARKTN, T0.U_ROUNDS, T0.U_DAYOFWEEK
    FROM [dbo\].[ORDR\] T0
    WHERE DATEDIFF(Day, T0.DocDate, GETDATE()) = 0
    ORDER BY T0.U_ROUTEMARKTN, T0.U_ROUNDS, T0.U_DAYOFWEEK, T0.DocDueDate

  • Query for selecting the field of VBRK

    Hi All,
      I have fetched the Ztable into it_bauch.
    In the loop of It_bauch i have to fetch the records of vbrk in which the field of zuonr is wrongly stored in xblnr.
    while fetching VBRK the zuonr0(8) should be comapred with it_zbauch-xblnr2(8).
    select single * from vbrk where fkart = 'F2'
                                      and fktyp = 'L'
                                      and vbtyp = 'M'
                                      and rfbsk = 'C'
                                      and fksto = space.
                                 <b>  and ZUONR0(8)  = it_wabuch-xblnr2(8).</b>
    ZUONR0(8)  = it_wabuch-xblnr2(8).</b>
    the above line cannot be return so the below code is given whether it would work or not or any other solution kindly do respond
          data : begin of it_vbrk occurs 0.
                  include structure vbrk.
          data :  end of it_vbrk.
          data vbrk_flag type c.
    data : begin of wa_vbrk,
              zuonr(8) type c,
              end of wa_vbrk.
    loop at it_bauch.
    select single * from vbrk into  it_vbrk where fkart = 'F2'
                                      and fktyp = 'L'
                                      and vbtyp = 'M'
                                      and rfbsk = 'C'
                                      and fksto = space.
    loop at it_vbrk.
            wa_vbrk-zuonr  = it_vbrk-ZUONR+0(8).
            read table it_wabuch with key xblnr+2(8) = wa_vbrk-zuonr.
            if sy-subrc = 0.
              clear vbrk_flag.
              vbrk_flag = 'X'.
            endif.
            clear wa_vbrk-zuonr.
          endloop.
    if vbrl-zuonr  =  'X'.
    After lot of select querey are there based on above condition would trigger.
    endif.
    endloop.

    data : vxblnr(9).
    vxblnr = it_wabuch-xblnr+2(8).
    concatenate vxblnr '%' into vxblnr.
    select single * from vbrk where fkart = 'F2'
    and fktyp = 'L'
    and vbtyp = 'M'
    and rfbsk = 'C'
    and fksto = space.
    and ZUONR like vxblnr.
    regards
    shiba dutta

  • How  to write select query for this

    Hi,
    I had a html form and in the for i had drop down box and it needs to select multiple values from the drop down box. When i select multiple values then i have to write the SQL select statement  query .
    When i try to write the select statement and trying to run i am getting error.
    select * from Table
    where emo_no = '1,2,3'
    this is how i write query please suggest me how  to write query for selecting multiple values from the drop down box.
    Thanks

    select * from Table
    where emo_no in ( 1,2,3)
    for integer values
    select * from Table
    where emo_no in ('1','2','3')
    for characters
    If we talk about large scale applications that may have millions of records, I would suggest this.
    declare @t table (v int)
    insert into t (v) values (1)
    insert into t (v) valves (2)
    insert into t (v) values (3)
    select *
    from table
         inner join @t t on table.emo_no = t.v
    Using "in" for a where clause is not so bad for filtering on a few values, but if you are filtering a lot of rows and a lot of values (emo_no) the performance degrades quickly for some reasons beyond the scope of this.
    This is just one solution, I'll through this out as well, instead of an in memory (@t) table, doing a disk based temp table (#t) and creating an index on the column "v".
    create table #t (v int)
    insert into #t (v) values (1)
    insert into #t (v) valves (2)
    insert into #t (v) values (3)
    create index ix_t on #t (v)
    select *
    from table
         inner join #t t on table.emo_no = t.v
    drop table #t
    Pardon any syntax errors and careful using a drop statement.
    Sometimes in memory tables work better than disk temp tables, it takes some testing and trial and error depending on your datasets to determine the best solution.
    Probably too much info  ;-)
    Byron Mann
    [email protected]
    [email protected]
    Software Architect
    hosting.com | hostmysite.com
    http://www.hostmysite.com/?utm_source=bb

  • SELECT DB query for BPM 10GR3

    Hi all,
    I have the following query for selecting data from the db, but it just does not execute.. What am I doing wrong over here?
    I have two different types of parameters..
    param is of type String Array--->String[]
    and
    params is of type String Date ---> Date[]
    How can I integrate both these two arrays in my query to get it to execute?
    param[0] = "type1";
    params[0] = Time.now().sqlDateValue();
    params[1] = Time.now().sqlDateValue();
    query = "SELECT ticket_Id FROM test_db WHERE ticket_type like (?) AND ticket_date BETWEEN (?) AND (?)";
    implName = "testDB";
    foreach (row in DynamicSQL.executeQuery(sentence : query, implname : implName, inParameters : {param,params}))
    // statements
    logMessage("---Entering For Each Loop");
    ticketIdGroup.extend( ticket_id : "" + row["ticket_Id"]);
    logMessage("--Ticket id length is --->" + ticketIdGroup.length());
    The query stops at ---> foreach (row in DynamicSQL.executeQuery(sentence : query, implname : implName, inParameters : {param,params}))
    and does not execute further..
    Why is that so? What's wrong?
    Any idea?
    How do I rectify this query to make it work?
    In the Properties, Server Side Method is --> YES

    Never Mind I got the solution..
    I should use one ANY array --> Any[]
    Instead of two different arrays i.e. Date[] and String[]

  • Need of SQL query in selecting distinct values from two tables

    hi,
    I need a query for selecting distinct values from two tables with one condition.
    for eg:
    there are two tables a & b.
    in table a there are values like age,sex,name,empno and in table b valuses are such as age,salary,DOJ,empno.
    here what i need is with the help of empno as unique field,i need to select distinct values from two tables (ie) except age.
    can anybody please help me.
    Thanks in advance,
    Ratheesh

    Not sure what you mean either, but perhaps this will start a dialog:
    SELECT DISTINCT a.empno,
                    a.name,
                    a.sex,
                    b.salary,
                    b.doj
    FROM    a,
            b
    WHERE   a.empno = b.empno;Greg

  • Option for selecting the GL indicator as optional

    Hi
      Am using  '0FIAR_C03' here the there is the field Special GL. I need to keep an option while executing the report/query for selecting either with or with out the special GL, if special GL is selected i need to fetch the records where special GL is not empty or else if not selected i need to select the records with Special GL is empty. How to design the query for the above future.
    Thanks
    Karthikeyan.L

    Hi karthikeyan,
    This can be done by a characteristic variable, if you want the user to input this.
    User should be putting in # to represent special GL is empty and exclude # for special GL is non empty.
    Naveen.A

  • WAD - input locking for selected rows in planning querie!?

    hello guys,
    i need some ideas - in which way i can lock data entry functionality in IP query for selected rows? some rows in the query have an indicator S (sum) and some  I (input). so  i have a chance for selection, which rows are input rows and which rows are sum (dsiplay) rows.
    but all rows are input ready in sap standard querydefiniton and i need some ideas how i could implement an row specific inputfunctionality.
    example
    ITEM                       KEYFIGURE
    line 1   Input           input ready
    line 2   Input           input ready
    line 3   Sline           display only/ no input
    line 4   Input           input ready
    dataslices are no option, because i need to change the "Sline-rows" data via planning functions.
    i need ideas for web, not excel.
    thx for your ideas!
    Edited by: David Jahn on May 4, 2010 2:03 PM

    Hi David,
    of course, it is possible to use two structures in BI-IP, e.g. one containing the key figures (may be restricted) and another one used in the rows where one uses only characteristic values. But then the number of lines in the row structure is static. It is possible to drill-down other characteristics as ususal.
    One idea is to use you characteristic containing the 'S value' as a navigation attribute and to create a row structure containing two lines, one with the restriction # and one with S and the corresponding setting for input readyness (maybe a cell definition for input readyness is needed here). Then drill-down by the base characteristic of the navigation attribute. What is not so nice then that one will get a group change: drill-down characteristic by the row structure; but the system generated characteristic relationship for navigation attributes makes the non existing combinations not input ready.
    Regards,
    Gregor

Maybe you are looking for

  • Is there any IDE for compiling/debugging FlasCC apps?

    I want to use FlasCC for a large project, but I have no experience with GDB. Is there an IDE for FlasCC out there so I can do the compiling/debugging things (mostly debugging)? Or could anyone tell me how to configure one (like eclipse)?

  • Adobe Form does not display "I am the placeholder control" displays instead

    We are trying to display an Adobe interactive form in IE browser.  Instead of the form, the message "I Am The Placeholder Control"  displays where the form should be.  Any thoughts on the cause of this??  Active X settings have been checked and the P

  • Adobe AE CS4 and Ex1 Ex3

    Does Adobe After Effects CS4 support Ex1/Ex3 files natively?

  • Adding name to null in each level of hierarchy

    Hi Friends I have hierarchy like country,state,city  i have some state names missed in that case i am getting  a blue colour buble without name,i want to name it   Help Needed  Thanks ADKR ADKR

  • ZENworks reporting

    is there a way to set Common | Reporting | Events globally in eDirectory for hundred's of Application objects? I need to audit events such as 'Launch Success', etc etc. Will be extremely difficult to action these individually.