Come out of loop in debugger

Hi.,
While debugging, if we are inside the loop... How to come outside first line of that loop by excuting that loop?
Also how to come outside of that loop... without excuting that loop?
---Its in new debugger!
--Naveen Inuganti.

Hi,
Hope you all know about first screen of module pool programs, where we can't put break points...!
There we can have LOOPS....
If I am inside of loop here.... How can I come out of this loop?
See the following code..is from onwe standard program of SAP..
PROCESS BEFORE OUTPUT.
        MODULE STATUS_SETZEN_S.
        MODULE DYNPRO_KOPF_MODIF.
        MODULE AUSGLEICHS_VORSCHLAG.
        MODULE D0710_MODIF.
        module dynpro_sel_modif.                       
      LOOP.
        FIELD RF05A-XPOS1.
        FIELD RF05A-AZEI3.
        MODULE SEL_ANZEIGEN_AUSWAHL.
      ENDLOOP.
PROCESS AFTER INPUT.
        MODULE EXIT AT EXIT-COMMAND.
        MODULE PAI_ANFANG.
        MODULE GET_CURSOR.
*------- Konto, Buchungskreis ... --------------------------------------
        FIELD RF05A-AGKOA MODULE MC_OBJEKT_SETZEN1.
        FIELD RF05A-AGBUK MODULE MC_AGBUK_PARM_SETZEN.
*------- Vertrag ----------------------------------------------"contract
        chain.
          field rf05a-vertn.
          field rf05a-vertt.
          field rf05a-xulsd.
          field rf05a-agums.
          module clr_contract.
        endchain.
      CHAIN.
        FIELD RF05A-AGKON.
        FIELD RF05A-VERTN.
        FIELD RF05A-VERTT.
        FIELD RF05A-AGKOA.
        FIELD RF05A-AGUMS.
        FIELD RF05A-XNOPS.
        FIELD RF05A-AGBUK.
        FIELD RF05A-XMULK.
        FIELD RF05A-AVSID.
        FIELD RF05A-XINVS.                                       
        MODULE AUSGLEICHSDATEN.
      ENDCHAIN.
*------- ... weitere Konten ? ------------------------------------------
        FIELD RF05A-XMULK MODULE RF05A-XMULK ON INPUT.
      CHAIN.
        FIELD RF05A-XAUTS.
        FIELD RF05A-XFIFO.
        MODULE RF05A-XAUTS-XFIFO ON CHAIN-INPUT.
      ENDCHAIN.
*------- Weitere Suchkriterien -----------------------------------------
      LOOP.
        FIELD RF05A-XPOS1.
        FIELD RF05A-AZEI3.
        MODULE SEL_BEARBEITEN_AUSW.
      ENDLOOP.
      CHAIN.
        FIELD RF05A-AGKON.
        FIELD RF05A-VERTN.
        FIELD RF05A-VERTT.
        FIELD RF05A-AGKOA.
        FIELD RF05A-AGUMS.
        FIELD RF05A-XNOPS.
        FIELD RF05A-AGBUK.
        FIELD RF05A-XMULK.
        FIELD RF05A-XINVS.                                       
        MODULE SEL_PRUEFEN.
        MODULE FUSSZEILE_BEARBEITEN.
      ENDCHAIN.
PROCESS ON VALUE-REQUEST.
        FIELD RF05A-AGUMS MODULE F4_AGUMS.
        FIELD RF05A-AGKON MODULE F4_AGKON.
        FIELD RF05A-AVSID MODULE F4_AVSID.
--Naveen Inuganti.

Similar Messages

  • How to come out if loop other using break.

    can u plz give an example where i want come out of if loop other than break , return keyword.
    example If
    {  System.out.println("   ");
    break;
    or return;
    }

    Can you please give an example how to terminate a
    loop other than using break or return.What is the purpose of the question?
    Do you have a bug where it appears a loop is being terminated some other way?
    You need to clarify.

  • How to come out of loop at last record?

    As I told in my previous posts,Iam transferring data from excel to zgkmaster tabel
    table structure:
    eid
    ename
    First I did SHDB(recording) and then made my BDC program.There are 10 records in table with names gopi,hari,rajesh.... with eid 1 to 10.My task is to updated all these names to 'XXX' for all 10 records (just for simple purpose).In my program I called 'Call transaction 'se11' using ptable mode 'A'.I moved from first screen to last screen (where you will update XXX and save for each record').Here:
    Loop at ptable into otable
    perform screens using <program name> <number> 'X'
    perform fields using zgkmaster-ename , otable-ename
    perform fields using 'BDC_OKCODE' , 'SAVE'
    perform screens using <program name> <number> 'X'
    perform fields using 'BDC_OKCODE' , 'NEXT'
    endloop.
    This code works fine in 'A' mode,but at last record a message comes 'Function code cannot be selected' (i think 'next' cannot be executed as it is last record) but all records are updated.
    When the mode is changed to 'N' and 'E',nothing is saved and the same error 'Function code cannot be selected'.Due the this error whatever data we give before that is not saving into table,may be due to this error.
    Now how shoud i make the loop exit when it reaches last record,i tried even with hardcording
    if sy-index = 10.
    leave prograam'
    endif.
    perform.....'NEXT' statement
    But the program is not exiting,I dont know why?Can anyone help me,I think if i made the loop to exit before next statement for last record that error will not occur.advise me if anything wrong.
    Thanks in advance
    The problem is that
    endloop

    Hi..
    1. To Terminate the LOOP in Last record.
        LOOP AT ITAB.
            << PROCESSING LOGIC>>
             AT LAST.
               EXIT.
             ENDAT.
        ENDLOOP.
    2. It is necessary to Declare the Internal table with same structure as the Excel file
    3. It is not necessary to call the Screen Explicitly before filling the BDCDATA record.
        If you want to process the Screen Twice the Fill the SAME SCREEN twice in BDCDATA Table and set the DYNBEGIN = 'X' in both the cases.
    REWARD IF HELPFUL.

  • Not comming out of loop

    Gurus
    Below is the code which I have written, the problem is, when record is not found, its showing alert, but system getting hanged .. Can you suggest a solution
    Declare
         CURSOR C_SUBCLASS IS SELECT DEPT, CLASS, SUBCLASS
                    FROM SUBCLASS
               WHERE DEPT = TRIM(TO_NUMBER(:HEAD.DEPT))
               AND CLASS = TRIM(TO_NUMBER(:HEAD.CLASS));
      C_L_SUBCLASS C_SUBCLASS%ROWTYPE;                               
    Begin
              OPEN C_SUBCLASS;
              FETCH C_SUBCLASS INTO C_L_SUBCLASS;
              IF C_L_SUBCLASS.DEPT IS NULL THEN
                   L_ALERT := SHOW_ALERT('ALT_OK');
                   IF L_ALERT = 'ALERT_BUTTON1' THEN
                           GO_BLOCK('HEAD');
                        CLEAR_BLOCK;
                   END IF;
              END IF;
    end;Regards
    Message was edited by:
    Seshu

    Hi,
    Sorry, to paste the L_alert declaration...
    It is declared as L_alert varchar2(50);
    The problem here is .. the place where dept and class are selected, they belong to one block ..
    And the push button where I have written the code is in another block... I have tried another alternative ...
    Declare
    L_alert varchar2(50);
    L_dept number;
    BEGIN
         SELECT DEPT INTO L_DEPT
         FROM SUBCLASS
         WHERE DEPT = TRIM(:HEAD.DEPT);
    EXCEPTION
         WHEN NO_DATA_FOUND THEN
         EMESSAGE('SUBCLASS WHEN NO DATA FOUND');
         L_ALERT := SHOW_ALERT('ALT_OK');     
                    GO_BLOCK('HEAD')
    END;Now the problem is, its showing message ... and alert .. and now when I am shifting the control back to the head block (where i will be selecting the dept and class), its displaying error "No navigable items in the block" ... Can you suggest something for this
    Regards

  • ****How to come out of the  infinite loop by passing a perticular message

    Hi all,
    Can You Pl expalin me in detail "How to come out of the  infinite loop by passing a perticular message in BPM Scenarios"
    Thanks,
    Srinivasa

    Hi Potharaju,
    For this al you need to do is define an IP with two branches. One of the branch receives message of a particular type only. And the other branch is used for stopping the message processing. This is achieved using the correlation. Correlation makes sure that the message of the first type goes to the first branch only and that the message of second type should go to the second branch only. Now when the message of the second type is received, the control comes out of the infinite loop.
    Hope it makesit clear.
    Regards,
    Sanjeev.

  • Coming out of loop

    DEAR TECHIS,,
    plz tell me the way to come out from the loop of item table
    i have devloped a bdc prog for Customer invoice fb70. for that i have used  two tables for header and item. here my problem is after posting the data. the loop is not breaking of item table to undersanding pupuse i m giving smalle
    as
    loop at header .
    performe...
            loop at item where acnt = header-acnt.
    perform........
           endloop.
    endloop.
    Here i didnt get the way to come out from the item tables loop.
    pls reply....
    Rewards for useful ans..
    thanks in advance...

    Hi Devalla,
    It's of sure that, your are looping the item table only when you have the acnt = header-acnt, in the Where condition of the loop.
    Stilll you find that your loop is not breaking up means its really a ?
    Try to debug and find out where is the probs?
    okay .. if you want to come out conditionally, place EXIT command at the begining or at the end of the Loop by placing a CHECK. with whatever you want either using the count of number of entries in the item table with respect to the header acnt field.
    if thing it's sure it's going to be some simple thing which block you...
    If still cant post the code.. with where it hooks...
    Reward points if useful

  • Query that Never comes out

    Hi ,
    We have sql Query which never comes out even after 2 hours.
    DB =10.2.0.4
    OS=Solaris 10
    billing_trd@MIFEX3> select * from tibex_qscacheloadordering where qsid='QS1';
    Execution Plan
    Plan hash value: 1371436155
    | Id  | Operation                                 | Name                      | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                          |                           |   154 |  3234 |       |    40M  (1)|135:17:50 |
    |   1 |  VIEW                                     | TIBEX_QSCACHELOADORDERING |   154 |  3234 |       |    40M  (1)|135:17:50 |
    |   2 |   SORT ORDER BY                           |                           |   154 |  5236 |       |    40M  (1)|135:17:50 |
    |   3 |    HASH GROUP BY                          |                           |   154 |  5236 |       |    40M  (1)|135:17:50 |
    |   4 |     VIEW                                  |                           |   154 |  5236 |       |    40M  (1)|135:17:50 |
    |   5 |      SORT UNIQUE                          |                           |   154 |  3309 |       |    40M  (1)|135:17:50 |
    |   6 |       UNION-ALL                           |                           |       |       |       |            |          |
    |   7 |        HASH GROUP BY                      |                           |   141 |  2961 |       |    40M  (1)|135:17:20 |
    |   8 |         VIEW                              | TIBEX_ORDERSBYQSIDVIEW    |   141 |  2961 |       |    40M  (1)|135:17:20 |
    |   9 |          UNION-ALL                        |                           |       |       |       |            |          |
    |* 10 |           FILTER                          |                           |       |       |       |            |          |
    |  11 |            HASH GROUP BY                  |                           |   140 | 46760 |       |   443K  (1)| 01:28:47 |
    |* 12 |             HASH JOIN                     |                           |    20M|  6488M|       |   442K  (1)| 01:28:36 |
    |  13 |              TABLE ACCESS BY INDEX ROWID  | TIBEX_PARTICIPANT         |    28 |   616 |       |     2   (0)| 00:00:01 |
    |* 14 |               INDEX RANGE SCAN            | TIBEX_PARTICIPANTQSID     |    28 |       |       |     1   (0)| 00:00:01 |
    |* 15 |              HASH JOIN                    |                           |    20M|  6060M|       |   442K  (1)| 01:28:35 |
    |  16 |               INLIST ITERATOR             |                           |       |       |       |            |          |
    |  17 |                TABLE ACCESS BY INDEX ROWID| TIBEX_ORDERSTATUSENUM     |     4 |   104 |       |     2   (0)| 00:00:01 |
    |* 18 |                 INDEX RANGE SCAN          | TIBEX_ORDERSTAT_ID_DESC   |     4 |       |       |     1   (0)| 00:00:01 |
    |* 19 |               HASH JOIN                   |                           |    20M|  5555M|   733M|   442K  (1)| 01:28:34 |
    |* 20 |                TABLE ACCESS FULL          | TIBEX_ORDER               |    16M|   549M|       |   103K  (1)| 00:20:47 |
    |  21 |                TABLE ACCESS FULL          | TIBEX_ORDER               |    16M|  3818M|       |   104K  (1)| 00:20:49 |
    |* 22 |           FILTER                          |                           |       |       |       |            |          |
    |* 23 |            HASH JOIN                      |                           |  8007K|   450M|       |   104K  (1)| 00:20:50 |
    |  24 |             MERGE JOIN CARTESIAN          |                           |    28 |   672 |       |     3   (0)| 00:00:01 |
    |  25 |              TABLE ACCESS BY INDEX ROWID  | TIBEX_ORDERSTATUSENUM     |     1 |    14 |       |     2   (0)| 00:00:01 |
    |* 26 |               INDEX RANGE SCAN            | TIBEX_ORDERSTAT_ID_DESC   |     1 |       |       |     1   (0)| 00:00:01 |
    |  27 |              BUFFER SORT                  |                           |    28 |   280 |       |     1   (0)| 00:00:01 |
    |  28 |               TABLE ACCESS BY INDEX ROWID | TIBEX_PARTICIPANT         |    28 |   280 |       |     1   (0)| 00:00:01 |
    |* 29 |                INDEX RANGE SCAN           | TIBEX_PARTICIPANTQSID     |    28 |       |       |     0   (0)| 00:00:01 |
    |  30 |             TABLE ACCESS FULL             | TIBEX_ORDER               |    16M|   534M|       |   104K  (1)| 00:20:49 |
    |  31 |            SORT AGGREGATE                 |                           |     1 |    27 |       |            |          |
    |* 32 |             TABLE ACCESS BY INDEX ROWID   | TIBEX_ORDER               |     1 |    27 |       |     5   (0)| 00:00:01 |
    |* 33 |              INDEX RANGE SCAN             | IX_ORDERBOOK              |     1 |       |       |     4   (0)| 00:00:01 |
    |  34 |        HASH GROUP BY                      |                           |     1 |    99 |       |  2473   (2)| 00:00:30 |
    |  35 |         NESTED LOOPS                      |                           |     1 |    99 |       |  2471   (2)| 00:00:30 |
    |  36 |          NESTED LOOPS                     |                           |     1 |    89 |       |  2470   (2)| 00:00:30 |
    |* 37 |           HASH JOIN RIGHT SEMI            |                           |     1 |    75 |       |  2469   (2)| 00:00:30 |
    |  38 |            VIEW                           | VW_NSO_2                  |   842 | 28628 |       |  1237   (2)| 00:00:15 |
    |  39 |             HASH GROUP BY                 |                           |   842 | 31154 |       |  1237   (2)| 00:00:15 |
    |* 40 |              TABLE ACCESS FULL            | TIBEX_QUOTE               |   191K|  6906K|       |  1230   (1)| 00:00:15 |
    |  41 |            TABLE ACCESS FULL              | TIBEX_QUOTE               |   191K|  7659K|       |  1230   (1)| 00:00:15 |
    |* 42 |           TABLE ACCESS BY INDEX ROWID     | TIBEX_QUOTESTATUSENUM     |     1 |    14 |       |     1   (0)| 00:00:01 |
    |* 43 |            INDEX UNIQUE SCAN              | XPKTIBEX_QUOTESTATUSENUM  |     1 |       |       |     0   (0)| 00:00:01 |
    |* 44 |          TABLE ACCESS BY INDEX ROWID      | TIBEX_PARTICIPANT         |     1 |    10 |       |     1   (0)| 00:00:01 |
    |* 45 |           INDEX UNIQUE SCAN               | XPKTIBEX_PARTICIPANT      |     1 |       |       |     0   (0)| 00:00:01 |
    |  46 |        HASH GROUP BY                      |                           |    11 |   231 |       |    59  (16)| 00:00:01 |
    |  47 |         VIEW                              |                           |    11 |   231 |       |    57  (13)| 00:00:01 |
    |  48 |          SORT UNIQUE                      |                           |    11 |  2288 |       |    57  (57)| 00:00:01 |
    |  49 |           UNION-ALL                       |                           |       |       |       |            |          |
    |* 50 |            FILTER                         |                           |       |       |       |            |          |
    |  51 |             HASH GROUP BY                 |                           |     6 |  1248 |       |    29  (14)| 00:00:01 |
    |* 52 |              HASH JOIN                    |                           |  1541 |   313K|       |    27   (8)| 00:00:01 |
    |  53 |               TABLE ACCESS BY INDEX ROWID | TIBEX_PARTICIPANT         |    28 |   616 |       |     2   (0)| 00:00:01 |
    |* 54 |                INDEX RANGE SCAN           | TIBEX_PARTICIPANTQSID     |    28 |       |       |     1   (0)| 00:00:01 |
    |* 55 |               HASH JOIN                   |                           |  1541 |   279K|       |    24   (5)| 00:00:01 |
    |* 56 |                HASH JOIN RIGHT ANTI       |                           |  1541 | 86296 |       |    14   (8)| 00:00:01 |
    |* 57 |                 TABLE ACCESS FULL         | TIBEX_BESTEXECSTATUSENUM  |     1 |    14 |       |     3   (0)| 00:00:01 |
    |  58 |                 TABLE ACCESS FULL         | TIBEX_BESTEXREL           |  2311 | 97062 |       |    10   (0)| 00:00:01 |
    |  59 |                TABLE ACCESS FULL          | TIBEX_BESTEXREL           |  2311 |   293K|       |    10   (0)| 00:00:01 |
    |* 60 |            FILTER                         |                           |       |       |       |            |          |
    |  61 |             HASH GROUP BY                 |                           |     5 |  1040 |       |    29  (14)| 00:00:01 |
    |* 62 |              HASH JOIN                    |                           |  1321 |   268K|       |    27   (8)| 00:00:01 |
    |  63 |               TABLE ACCESS BY INDEX ROWID | TIBEX_PARTICIPANT         |    28 |   616 |       |     2   (0)| 00:00:01 |
    |* 64 |                INDEX RANGE SCAN           | TIBEX_PARTICIPANTQSID     |    28 |       |       |     1   (0)| 00:00:01 |
    |* 65 |               HASH JOIN                   |                           |  1321 |   239K|       |    24   (5)| 00:00:01 |
    |* 66 |                HASH JOIN RIGHT ANTI       |                           |  1541 | 86296 |       |    14   (8)| 00:00:01 |
    |* 67 |                 TABLE ACCESS FULL         | TIBEX_BESTEXECSTATUSENUM  |     1 |    14 |       |     3   (0)| 00:00:01 |
    |  68 |                 TABLE ACCESS FULL         | TIBEX_BESTEXREL           |  2311 | 97062 |       |    10   (0)| 00:00:01 |
    |* 69 |                TABLE ACCESS FULL          | TIBEX_BESTEXREL           |  1981 |   251K|       |    10   (0)| 00:00:01 |
    |  70 |        HASH GROUP BY                      |                           |     1 |    18 |       |     7  (43)| 00:00:01 |
    |  71 |         VIEW                              | TIBEX_TSTRADEBYQSIDVIEW   |     1 |    18 |       |     5  (20)| 00:00:01 |
    |  72 |          HASH UNIQUE                      |                           |     1 |   818 |       |     5  (20)| 00:00:01 |
    |* 73 |           FILTER                          |                           |       |       |       |            |          |
    |  74 |            NESTED LOOPS                   |                           |     1 |   818 |       |     2   (0)| 00:00:01 |
    |  75 |             TABLE ACCESS FULL             | TIBEX_TSTRADE             |     1 |   808 |       |     2   (0)| 00:00:01 |
    |* 76 |             TABLE ACCESS BY INDEX ROWID   | TIBEX_PARTICIPANT         |     1 |    10 |       |     0   (0)| 00:00:01 |
    |* 77 |              INDEX UNIQUE SCAN            | XPKTIBEX_PARTICIPANT      |     1 |       |       |     0   (0)| 00:00:01 |
    |  78 |            SORT AGGREGATE                 |                           |     1 |    35 |       |            |          |
    |* 79 |             TABLE ACCESS FULL             | TIBEX_TSTRADE             |     1 |    35 |       |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
      10 - filter("A"."MESSAGESEQUENCE"=MAX("C"."MESSAGESEQUENCE"))
      12 - access("A"."PARTICIPANTID"="B"."PARTICIPANTID")
      14 - access("B"."QSID"='QS1')
      15 - access("A"."ORDERSTATUS"="ORDERSTATUS")
      18 - access("SHORTDESC"='ORD_CANCEL' OR "SHORTDESC"='ORD_EXPIRE' OR "SHORTDESC"='ORD_FILLED' OR
                  "SHORTDESC"='ORD_OPEN')
      19 - access("A"."ORDERID"="C"."ORDERID")
      20 - filter("LASTINSTREJECTCODE"='OK')
      22 - filter( (SELECT COUNT(*) FROM BILLING_TRD."TIBEX_ORDER" "C" WHERE "C"."ORDERID"=:B1 AND
                  "C"."INSTRUMENTID"=:B2)=1)
      23 - access("A"."PARTICIPANTID"="B"."PARTICIPANTID" AND "ORDERSTATUS"="ORDERSTATUS")
      26 - access("SHORTDESC"='ORD_REJECT')
      29 - access("B"."QSID"='QS1')
      32 - filter("C"."INSTRUMENTID"=:B1)
      33 - access("C"."ORDERID"=:B1)
      37 - access("A"."MESSAGESEQUENCE"="$nso_col_1" AND "A"."QUOTEID"="$nso_col_2")
      40 - filter("LASTINSTREJECTCODE"='OK')
      42 - filter("SHORTDESC"='QUO_OFFMKT' OR "SHORTDESC"='QUO_ONMKT' OR "SHORTDESC"='QUO_PREOPN')
      43 - access("A"."QUOTESTATUS"="QUOTESTATUS")
      44 - filter("B"."QSID"='QS1')
      45 - access("A"."PARTICIPANTID"="B"."PARTICIPANTID")
      50 - filter("MESSAGESEQUENCE"=MAX("MESSAGESEQUENCE"))
      52 - access("PARTICIPANTID"="B"."PARTICIPANTID")
      54 - access("B"."QSID"='QS1')
      55 - access("A"."INSTRUMENTID"="INSTRUMENTID" AND "A"."PARTNEREXID"="PARTNEREXID")
      56 - access("B"."BESTEXECSTATUS"="BESTEXECSTATUS")
      57 - filter("SHORTDESC"='BESTEX_REJ')
      60 - filter("MESSAGESEQUENCE"=MAX("MESSAGESEQUENCE"))
      62 - access("PARTICIPANTIDMM"="D"."PARTICIPANTID")
      64 - access("D"."QSID"='QS1')
      65 - access("A"."INSTRUMENTID"="INSTRUMENTID" AND "A"."PARTNEREXID"="PARTNEREXID")
      66 - access("B"."BESTEXECSTATUS"="BESTEXECSTATUS")
      67 - filter("SHORTDESC"='BESTEX_REJ')
      69 - filter("PARTICIPANTID"<>"PARTICIPANTIDMM")
      73 - filter("MESSAGESEQUENCE"= (SELECT MAX("MESSAGESEQUENCE") FROM BILLING_TRD."TIBEX_TSTRADE" "C" WHERE
                  "C"."TSTRADEID"=:B1))
      76 - filter("B"."QSID"='QS1')
      77 - access("A"."PARTICIPANTID"="B"."PARTICIPANTID")
      79 - filter("C"."TSTRADEID"=:B1)
    illing_trd@MIFEX3> SELECT participantid, qsid, count(*) as cnt FROM tibex_ordersbyqsidview  GROUP BY participantid,qsid;
    Execution Plan
    Plan hash value: 2717629353
    | Id  | Operation                           | Name                    | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                    |                         |   141 |  2961 |       |    40M  (1)|135:17:20 |
    |   1 |  HASH GROUP BY                      |                         |   141 |  2961 |       |    40M  (1)|135:17:20 |
    |   2 |   VIEW                              | TIBEX_ORDERSBYQSIDVIEW  |   141 |  2961 |       |    40M  (1)|135:17:20 |
    |   3 |    UNION-ALL                        |                         |       |       |       |            |          |
    |*  4 |     FILTER                          |                         |       |       |       |            |          |
    |   5 |      HASH GROUP BY                  |                         |   140 | 46760 |       |   443K  (1)| 01:28:47 |
    |*  6 |       HASH JOIN                     |                         |    20M|  6488M|       |   442K  (1)| 01:28:36 |
    |   7 |        TABLE ACCESS FULL            | TIBEX_PARTICIPANT       |    28 |   616 |       |     3   (0)| 00:00:01 |
    |*  8 |        HASH JOIN                    |                         |    20M|  6060M|       |   442K  (1)| 01:28:35 |
    |   9 |         INLIST ITERATOR             |                         |       |       |       |            |          |
    |  10 |          TABLE ACCESS BY INDEX ROWID| TIBEX_ORDERSTATUSENUM   |     4 |   104 |       |     2   (0)| 00:00:01 |
    |* 11 |           INDEX RANGE SCAN          | TIBEX_ORDERSTAT_ID_DESC |     4 |       |       |     1   (0)| 00:00:01 |
    |* 12 |         HASH JOIN                   |                         |    20M|  5555M|   733M|   442K  (1)| 01:28:34 |
    |* 13 |          TABLE ACCESS FULL          | TIBEX_ORDER             |    16M|   549M|       |   103K  (1)| 00:20:47 |
    |  14 |          TABLE ACCESS FULL          | TIBEX_ORDER             |    16M|  3818M|       |   104K  (1)| 00:20:49 |
    |* 15 |     FILTER                          |                         |       |       |       |            |          |
    |* 16 |      HASH JOIN                      |                         |  8007K|   450M|       |   104K  (1)| 00:20:50 |
    |  17 |       MERGE JOIN CARTESIAN          |                         |    28 |   672 |       |     5   (0)| 00:00:01 |
    |  18 |        TABLE ACCESS BY INDEX ROWID  | TIBEX_ORDERSTATUSENUM   |     1 |    14 |       |     2   (0)| 00:00:01 |
    |* 19 |         INDEX RANGE SCAN            | TIBEX_ORDERSTAT_ID_DESC |     1 |       |       |     1   (0)| 00:00:01 |
    |  20 |        BUFFER SORT                  |                         |    28 |   280 |       |     3   (0)| 00:00:01 |
    |  21 |         TABLE ACCESS FULL           | TIBEX_PARTICIPANT       |    28 |   280 |       |     3   (0)| 00:00:01 |
    |  22 |       TABLE ACCESS FULL             | TIBEX_ORDER             |    16M|   534M|       |   104K  (1)| 00:20:49 |
    |  23 |      SORT AGGREGATE                 |                         |     1 |    27 |       |            |          |
    |* 24 |       TABLE ACCESS BY INDEX ROWID   | TIBEX_ORDER             |     1 |    27 |       |     5   (0)| 00:00:01 |
    |* 25 |        INDEX RANGE SCAN             | IX_ORDERBOOK            |     1 |       |       |     4   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       4 - filter("A"."MESSAGESEQUENCE"=MAX("C"."MESSAGESEQUENCE"))
       6 - access("A"."PARTICIPANTID"="B"."PARTICIPANTID")
       8 - access("A"."ORDERSTATUS"="ORDERSTATUS")
      11 - access("SHORTDESC"='ORD_CANCEL' OR "SHORTDESC"='ORD_EXPIRE' OR "SHORTDESC"='ORD_FILLED' OR
                  "SHORTDESC"='ORD_OPEN')
      12 - access("A"."ORDERID"="C"."ORDERID")
      13 - filter("LASTINSTREJECTCODE"='OK')
      15 - filter( (SELECT COUNT(*) FROM BILLING_TRD."TIBEX_ORDER" "C" WHERE "C"."ORDERID"=:B1 AND
                  "C"."INSTRUMENTID"=:B2)=1)
      16 - access("A"."PARTICIPANTID"="B"."PARTICIPANTID" AND "ORDERSTATUS"="ORDERSTATUS")
      19 - access("SHORTDESC"='ORD_REJECT')
      24 - filter("C"."INSTRUMENTID"=:B1)
      25 - access("C"."ORDERID"=:B1)Regards
    NM

    Hi,
    Thanks for your help and information.I got the error when i tried to execute your Query.Kindly have look.
    tst_trd_owner@MIFEX3> SELECT  "ORDERID", "USERORDERID", "ORDERSIDE", "ORDERTYPE",
      2            ORDERSTATUS, BOARDID, TIMEINFORCE, INSTRUMENTID,
      3            REFERENCEID, PRICETYPE, PRICE, AVERAGEPRICE,
      4            QUANTITY, MINIMUMFILL, DISCLOSEDQTY, REMAINQTY,
      5            AON, PARTICIPANTID, ACCOUNTTYPE, ACCOUNTNO,
      6            CLEARINGAGENCY, LASTINSTRESULT, LASTINSTMESSAGESEQUENCE,
      7            LASTEXECUTIONID, NOTE, TIMESTAMP, QTYFILLED, MEID,
      8            LASTINSTREJECTCODE, LASTEXECPRICE, LASTEXECQTY,
      9            LASTINSTTYPE, LASTEXECUTIONCOUNTERPARTY, VISIBLEQTY,
    10            STOPPRICE, LASTEXECCLEARINGAGENCY, LASTEXECACCOUNTNO,
    11            LASTEXECCPCLEARINGAGENCY, MESSAGESEQUENCE,
    12            LASTINSTUSERALIAS, BOOKTIMESTAMP, PARTICIPANTIDMM,
    13            MARKETSTATE, PARTNEREXID, LastExecSETTLEMENTCYCLE,
    14            LASTEXECPOSTTRADEVENUETYPE, PRICELEVELPOSITION,
    15            PREVREFERENCEID, EXPIRYTIMESTAMP, matchType,
    16            lastExecutionRole, MDEntryID, PegOffset,
    17            haltReason, lastInstFixSequence, COMPARISONPRICE, b.qsid
    18    FROM (
    19              SELECT  "ORDERID", "USERORDERID", "ORDERSIDE", "ORDERTYPE",
    20                    ORDERSTATUS, BOARDID, TIMEINFORCE, INSTRUMENTID,
    21                    REFERENCEID, PRICETYPE, PRICE, AVERAGEPRICE,
    22                    QUANTITY, MINIMUMFILL, DISCLOSEDQTY, REMAINQTY,
    23                    AON, PARTICIPANTID, ACCOUNTTYPE, ACCOUNTNO,
    24                    CLEARINGAGENCY, LASTINSTRESULT, LASTINSTMESSAGESEQUENCE,
    25                    LASTEXECUTIONID, NOTE, TIMESTAMP, QTYFILLED, MEID,
    26                    LASTINSTREJECTCODE, LASTEXECPRICE, LASTEXECQTY,
    27                    LASTINSTTYPE, LASTEXECUTIONCOUNTERPARTY, VISIBLEQTY,
    28                    STOPPRICE, LASTEXECCLEARINGAGENCY, LASTEXECACCOUNTNO,
    29                    LASTEXECCPCLEARINGAGENCY, MESSAGESEQUENCE,
    30                    LASTINSTUSERALIAS, BOOKTIMESTAMP, PARTICIPANTIDMM,
    31                    MARKETSTATE, PARTNEREXID, LastExecSETTLEMENTCYCLE,
    32                    LASTEXECPOSTTRADEVENUETYPE, PRICELEVELPOSITION,
    33                    PREVREFERENCEID, EXPIRYTIMESTAMP, matchType,
    34                    lastExecutionRole, MDEntryID, PegOffset,
    35                    haltReason, lastInstFixSequence, COMPARISONPRICE
    36               FROM (
    37                       SELECT  "ORDERID", "USERORDERID", "ORDERSIDE", "ORDERTYPE",
    38                                ORDERSTATUS, BOARDID, TIMEINFORCE, INSTRUMENTID,
    39                                REFERENCEID, PRICETYPE, PRICE, AVERAGEPRICE,
    40                                QUANTITY, MINIMUMFILL, DISCLOSEDQTY, REMAINQTY,
    41                                AON, PARTICIPANTID, ACCOUNTTYPE, ACCOUNTNO,
    42                                CLEARINGAGENCY, LASTINSTRESULT, LASTINSTMESSAGESEQUENCE,
    43                                LASTEXECUTIONID, NOTE, TIMESTAMP, QTYFILLED, MEID,
    44                                LASTINSTREJECTCODE, LASTEXECPRICE, LASTEXECQTY,
    45                                LASTINSTTYPE, LASTEXECUTIONCOUNTERPARTY, VISIBLEQTY,
    46                                STOPPRICE, LASTEXECCLEARINGAGENCY, LASTEXECACCOUNTNO,
    47                                LASTEXECCPCLEARINGAGENCY, MESSAGESEQUENCE,
    48                                LASTINSTUSERALIAS, BOOKTIMESTAMP, PARTICIPANTIDMM,
    49                                MARKETSTATE, PARTNEREXID, LastExecSETTLEMENTCYCLE,
    50                                LASTEXECPOSTTRADEVENUETYPE, PRICELEVELPOSITION,
    51                                PREVREFERENCEID, EXPIRYTIMESTAMP, matchType,
    52                                lastExecutionRole, MDEntryID, PegOffset,
    53                                haltReason, lastInstFixSequence, COMPARISONPRICE,
    54                                max(case when LastInstRejectCode = 'OK' then MessageSequence end) over (partition by OrderID) as maxseq
    55                            FROM  tibex_Order
    56                         )
    57                WHERE MessageSequence = maxseq
    58              ) A,  tibex_Participant b
    59             WHERE a.participantID = b.participantID
    60                AND a.OrderStatus IN (
    61                                                 SELECT OrderStatus
    62                                                   FROM  tibex_orderStatusEnum
    63                                                 WHERE ShortDesc IN ('ORD_OPEN', 'ORD_EXPIRE', 'ORD_CANCEL', 'ORD_FILLED')
    64                                               )
    65    UNION ALL
    66    SELECT  ORDERID, USERORDERID, ORDERSIDE, ORDERTYPE,
    67            ORDERSTATUS, BOARDID, TIMEINFORCE, INSTRUMENTID,
    68            REFERENCEID, PRICETYPE, PRICE, AVERAGEPRICE,
    69            QUANTITY, MINIMUMFILL, DISCLOSEDQTY, REMAINQTY,
    70            AON, PARTICIPANTID, ACCOUNTTYPE, ACCOUNTNO,
    71            CLEARINGAGENCY, LASTINSTRESULT, LASTINSTMESSAGESEQUENCE,
    72            LASTEXECUTIONID, NOTE, TIMESTAMP, QTYFILLED, MEID,
    73            LASTINSTREJECTCODE, LASTEXECPRICE, LASTEXECQTY,
    74            LASTINSTTYPE, LASTEXECUTIONCOUNTERPARTY, VISIBLEQTY,
    75            STOPPRICE, LASTEXECCLEARINGAGENCY, LASTEXECACCOUNTNO,
    76            LASTEXECCPCLEARINGAGENCY, MESSAGESEQUENCE,
    77            LASTINSTUSERALIAS, BOOKTIMESTAMP, PARTICIPANTIDMM,
    78            MARKETSTATE, PARTNEREXID, LastExecSETTLEMENTCYCLE,
    79            LASTEXECPOSTTRADEVENUETYPE, PRICELEVELPOSITION,
    80            PREVREFERENCEID, EXPIRYTIMESTAMP, matchType,
    81            lastExecutionRole, MDEntryID, PegOffset,
    82            haltReason, lastInstFixSequence, COMPARISONPRICE, qsid
    83     FROM (
    84               SELECT  ORDERID, USERORDERID, ORDERSIDE, ORDERTYPE,
    85                       ORDERSTATUS, BOARDID, TIMEINFORCE, INSTRUMENTID,
    86                       REFERENCEID, PRICETYPE, PRICE, AVERAGEPRICE,
    87                       QUANTITY, MINIMUMFILL, DISCLOSEDQTY, REMAINQTY,
    88                       AON, PARTICIPANTID, ACCOUNTTYPE, ACCOUNTNO,
    89                       CLEARINGAGENCY, LASTINSTRESULT, LASTINSTMESSAGESEQUENCE,
    90                       LASTEXECUTIONID, NOTE, TIMESTAMP, QTYFILLED, MEID,
    91                       LASTINSTREJECTCODE, LASTEXECPRICE, LASTEXECQTY,
    92                       LASTINSTTYPE, LASTEXECUTIONCOUNTERPARTY, VISIBLEQTY,
    93                       STOPPRICE, LASTEXECCLEARINGAGENCY, LASTEXECACCOUNTNO,
    94                       LASTEXECCPCLEARINGAGENCY, MESSAGESEQUENCE,
    95                       LASTINSTUSERALIAS, BOOKTIMESTAMP, PARTICIPANTIDMM,
    96                       MARKETSTATE, PARTNEREXID, LastExecSETTLEMENTCYCLE,
    97                       LASTEXECPOSTTRADEVENUETYPE, PRICELEVELPOSITION,
    98                       PREVREFERENCEID, EXPIRYTIMESTAMP, matchType,
    99                       lastExecutionRole, MDEntryID, PegOffset,
    100                       haltReason, lastInstFixSequence, COMPARISONPRICE
    101                FROM (
    102                          SELECT  ORDERID, USERORDERID, ORDERSIDE, ORDERTYPE,
    103                                 ORDERSTATUS, BOARDID, TIMEINFORCE, INSTRUMENTID,
    104                                 REFERENCEID, PRICETYPE, PRICE, AVERAGEPRICE,
    105                                 QUANTITY, MINIMUMFILL, DISCLOSEDQTY, REMAINQTY,
    106                                 AON, PARTICIPANTID, ACCOUNTTYPE, ACCOUNTNO,
    107                                 CLEARINGAGENCY, LASTINSTRESULT, LASTINSTMESSAGESEQUENCE,
    108                                 LASTEXECUTIONID, NOTE, TIMESTAMP, QTYFILLED, MEID,
    109                                 LASTINSTREJECTCODE, LASTEXECPRICE, LASTEXECQTY,
    110                                 LASTINSTTYPE, LASTEXECUTIONCOUNTERPARTY, VISIBLEQTY,
    111                                 STOPPRICE, LASTEXECCLEARINGAGENCY, LASTEXECACCOUNTNO,
    112                                 LASTEXECCPCLEARINGAGENCY, MESSAGESEQUENCE,
    113                                 LASTINSTUSERALIAS, BOOKTIMESTAMP, PARTICIPANTIDMM,
    114                                 MARKETSTATE, PARTNEREXID, LastExecSETTLEMENTCYCLE,
    115                                 LASTEXECPOSTTRADEVENUETYPE, PRICELEVELPOSITION,
    116                                 PREVREFERENCEID, EXPIRYTIMESTAMP, matchType,
    117                                 lastExecutionRole, MDEntryID, PegOffset,
    118                                 haltReason, lastInstFixSequence, COMPARISONPRICE,
    119                                 count(*) over (partition by orderid, instrumentID) cnt
    120                         FROM  tibex_Order
    121                       )
    122                 WHERE cnt = 1
    123              ) A,  tibex_Participant b
    124            WHERE a.participantID = b.participantID
    125                AND orderstatus in (
    126                                            SELECT  orderstatus
    127                                               FROM  tibex_orderStatusEnum
    128                                            WHERE ShortDesc = 'ORD_REJECT'
    129                                          )
    130  /
              LASTEXECUTIONID, NOTE, TIMESTAMP, QTYFILLED, MEID,
    ERROR at line 7:
    ORA-00918: column ambiguously defined

  • Never get out of loop

    With the below example, Im never getting to the "Out of loop message".It iterates through loop alrite but never comes out of it.
    Any ideas anyone?
    InputStreamReader isr = new InputStreamReader(is);
    BufferedReader br = new BufferedReader(isr);
    String line = null;
    while ((line = br.readLine()) != null) {
    System.out.println("In loop");
    System.out.println("Out of loop");

    I think it something to do with the fact that the readline method reads to a '/n' and the stream may not have this termination point.

  • Everytime my computer comes out of standby it no longer recognizes the GPIB-USB.

    When the computer comes out of standby or hibernation I get a message saying that there is an unknown device on the USB port. Then I have to unplug the GPIB and plug it back in. Then the New Hardware Found Wizard starts up and I have to install the software again. Can this problem be fixed?

    After a bit of searching through MSDN help, I found the SetThreadExecutionState command in the kernel32.lib. If you invoke SetThreadExecutionState(&H80000001) on entry to your application, you will prevent the OS from entering standby autonomously from an idle state. A user initiated standby, though, will override this. The application should issue a SetThreadExecutionState(&H80000000) on close to ensure for good housekeeping.
    If you want the system to query the user before entering a user-initiated standby, then your application needs to intercept and respond to the WM_PowerBroadcst message fired by the PBT_APMQuerySuspend event. You will need to subclass your main application and respond to the event by returning a BROADCAST_QUERY_DENY from the wind
    ow message loop. Go to this URL for the relevant code fragment in VB: http://www.freevbcode.com/ShowCode.asp?ID=2596
    Larry E."

  • Need help coming out recovery loop.

    Hi. I have an iPod that is stuck in a 'recovery loop'. Several attempts were made to fix this such as the use of TinyUmbrella,RecBoot,Redsn0w and iReb-r7. When the option to exit recovery mode, the device turns off and begins to reboot but once again returns to the loop. Is there any guaranteed way to come out of this loop without having to restore the device on iTunes? Thank you for the help in advanced.

    Not from the device itself
    - If they are in an iPod backup then restore from that backup. See the restore topic of:
    iOS: How to back up
    - If you used PhotoStream then try getting them from your PhotoStream. See that topic of:
    iOS: Importing personal photos and videos from iOS devices to your computer

  • I have bought a film from itunes and the credit has come out of my account, but i can't find the film anywhere, it said it was downloading, then i left the laptop and on return i couldn't find the film. how do i find the film?

    i have bought a film from itunes and the credit has come out of my account, but i can't find the film anywhere, it said it was downloading, then i left the laptop and on return i couldn't find the film. how do i find the film?

    Maybe it is in the Purchased category of iTunes,
    Try going there

  • Where is it at?.....its July 20, and i dont see nada??? what in the ****-o bobby??? umm my iphone os updates the big ones anyway used to come out at midnight

    where is it at?.....its July 20, and i dont see nada??? what in the **** bobby??? umm my iphone os updates the big ones anyway used to come out at midnight.......yea?

    Then, you need to sharpen your search skills. A google search for Lion ships today brings up many hits, with this one mentioning a time: http://isource.com/2011/07/19/confirmed-os-x-lion-ships-tomorrow/

  • Where is it at?.....its July 20, and i dont see nada??? what in the **** bobby??? umm my iphone os updates the big ones anyway used to come out at midnight

    where is it at?.....its July 20, and i dont see nada??? what in the **** bobby??? umm my iphone os updates the big ones anyway used to come out at midnight

    FWIW, this is a user forum. We are all users like you. No Apple employees here and Apple doesn't follow these forums. You aren't speaking to Apple here.

  • Why does my Alesis ioj2 express only come out through one side? When I sing into the microphone, it only comes out one side. I've set everything to stereo and it still has not solved the problem. Please help ASAP.

    Please help with my problem. I need to start recording!!

    Chris Huber wrote:
    Why does my Alesis ioj2 express only come out through one side?
    http://www.bulletsandbones.com/GB/GBFAQ.html#leftspeakeronly
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • I need help getting sound to come out of my TV when using HDMI. Any solutions?

    I'm able to pull up my picture when connecting my HDMI cable to my Macbook pro...however I can't get the sound to come out of my Toshiba TV.  When I go under system preferences, then sound and select my Toshiba TV as an option.  It says it has no output controls.  I fiddled with my sound setting in my TV and stil no luck.   Does anyone know any solutions for this problem.  Help is greatly appreciated.

    Hey jbarwins
    Check to make sure that you are up to date on your computer. Another recommendation would be to try a different cable and also reset the NVRAM on your computer.
    About NVRAM and PRAM
    http://support.apple.com/kb/HT1379
    OS X Mountain Lion: Use a television as a display
    http://support.apple.com/kb/HT1339
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

Maybe you are looking for

  • New CRM implemetation with R/3 4.7 as the backend using vertex

    I am trying to figure out how my new CRM system and my existing R/3 system should be configured to user Vertex.  I spoke to Vertex and they indicated only one of these systems should communicate directly with Vertex.  If that is the case, the existin

  • JTree rendering extra node and leaf icons at the end of the label

    Hi, Does anyone know how to add an icon to a JTree node or leaf in such a way that it will be displayed behind the text label? In an example: - rootnode - childnode [icon] |- leaf + childnode [icon] Where -/+ are the default (un)collapse icons I'd li

  • Error 1200471: Expression Expected Before [)]

    I am trying to create a calc script that converts published capacities from english to metric units, and round the result to the nearest multiple of 5. I have entered the following fix and when I use it the formula verifies, but the calculation does

  • Skew and perspective distortion for video files

    hello forumers. im trying to place a video on the screen of this game station,but i  cant get the corners to snap accordingly to the perspective of the screen, i can scew the object but thats about it like on the b) sample but i want to snap it like

  • Why Does Indesign Server Keep Crashing?

    Hello, I'm using InDesign Server 6 to run a publication with multiple products. I'm using a 3rd party plug-in to automate the process with a XML data file. When I start the script I created to run the publication through InDesign Server it runs fine