How to control number of records in batch insert by eclipselink

Hi,
We are using eclipselink(2.2) to persist objects and we use following configuration -
<property name="eclipselink.jdbc.batch-writing" value="Oracle-JDBC" />
<property name="eclipselink.jdbc.batch-writing.size" value="5" />
however the number of records inserted is much more than 5( I have seen 5000 records being inserted ). How can we control the number of records inserted once?
Thanks.

Binding can be configured using the "eclipselink.jdbc.bind-parameters" property, and is on by default - it should be on for jdbc batch writing.
Batch writing defaults to 100 statements, so I am not sure why it would include all statements in one batch unless it is not batching at all. If you set the logs to finest or all it should print of the values it is using for each property, and also show the SQL and statments it is executing. Can you turn on logging and post portions of the logs, particularly the part showing the transaction in question (though maybe only 6 lines of consecutive inserts).
Logging is controlled through the "eclipselink.logging.level" properties.
Best Regards,
Chris

Similar Messages

  • CRM Web UI :- How to Control number of session of Web UI for a user

    Hello Experts,
    We do have very specific requirement which SAP doesn`t recommend in terms of multi-sessioning for a user.So we are little worried upon the challeges.Could you please share your ideas/Experience on following?
    1.How to Control number of Internet explorer session for the web UI (may be 2 or 3).?
      Though SAP doesn`t recommned more than one but our client requires 2 or more than that but we need to fix it either 
      2 or 3.
      So we are looking for specific setting for this.
    2.What are the challenges we need to face if we implement option 1?
    3.Specially in interaction record management
        a. Is there chance of loosing the data if agent has opened more than two session.
        b. In which session interaction record data will get stored,the one on which agent picked up the call or in the latest 
            one?
    Please let me know if I am not clear enough on any point.
    Thanks in advance,
    Shailendra Tolambiya

    Hi Shailendra,
    The following wiki page might be useful in this respect:
    http://wiki.sdn.sap.com/wiki/x/gxdKDQ
    Best Regards,
    Shiromani

  • How i get number of record in repet frame?

    Hi,
    How i get number of record in repet frame?
    Regards
    Jomar

    Jomar,
    you can use Summary Columns in the Data Modell. Create them on group higher that your wished group (so on the pane for an first group of a query), use as Source the primary column and as reset at the group, where the summary column is located.
    If you hide some instances via format triggers, that you could use a counter inside the format triggers to count the rows.
    Regards
    Rainer

  • How to control the result of  a batch input

    Hi everyone,
    We have a program that update the item category in the sales orders, after that using a batch input the system executes the va02 transaction to update the order, after the order has been updated we have to make the materials movement.
    Th eproblrm is that I need to know how can I control if the batch input has been executed correctly or not, because in that case the materials movement must not be executed.
    If help, the code is the following:
    FORM Batch_VA02.
      data: begin of bdcdata occurs 0.
        include structure bdcdata.
      data: end of bdcdata.
      data: campo(20) type c.
      data: campopos(20) type c.
      data: campomarcar(20) type c.
      data: campocambiar(20) type c.
    loop at PA1 where sel = 'X'. "ya está en un loop, al estar en en
    LANZAR_BATCH
        refresh bdcdata.
      Primera pantalla, introducir número pedido y enter.
        perform p TABLES BDCDATA using 'SAPMV45A' '0102' .
        perform c TABLES BDCDATA using 'VBAK-VBELN' pa1-pedid.
        perform c TABLES BDCDATA using 'BDC_OKCODE' '/00'.
      Segunda pantalla. Pulsar "Aprovisionamiento".
        perform p TABLES BDCDATA using 'SAPMV45A' '4001'.
        perform c TABLES BDCDATA using 'BDC_OKCODE' '=T05'.
      Antes de la tercera pantalla hay que posicionarse.
        perform p TABLES BDCDATA using 'SAPMV45A' '4001'.
        perform c TABLES BDCDATA using 'BDC_OKCODE' '=POPO'.
      Introducir número de posición
        campo = '01'.
        perform posicion changing campo.
        perform p TABLES BDCDATA using 'SAPMV45A' '0251'.
      Inicio modificación Chema Campos 28.06.2007 (CAU  58283)
      perform c TABLES BDCDATA using 'RV45A-POSNR' pa1-posic.
        if global_pos_nueva is initial.
          perform c TABLES BDCDATA using 'RV45A-POSNR' pa1-posic.
        else.
          perform c TABLES BDCDATA using 'RV45A-POSNR' global_pos_nueva.
        endif.
        clear global_pos_nueva.
      Fin modificación Chema Campos 28.06.2007 (CAU  58283)
        perform c TABLES BDCDATA using 'BDC_OKCODE' '=POSI'.
        move 'VBAP-BEDAE(01)'       to campopos.
        move 'RV45A-VBAP_SELKZ(01)' to campomarcar.
        move 'VBAP-BEDAE(01)'       to campocambiar.
      Antes de la tercera pantalla hay que posicionarse.
       campo = '01'.
       perform posicion changing campo.
       do.
         if campo > '10'. "hay que paginar.
           perform p TABLES BDCDATA using  'SAPMV45A' '4001'.
           perform c TABLES BDCDATA using  'BDC_OKCODE' '=P+'.
           campo = campo - 10.
         endif.
         condense campo.
         if campo+1(1) eq space.
           concatenate '0' campo into campo.
         endif.
         if campo <= '10'.
           exit.
         endif.
       enddo.
       condense campo.
       clear: campopos, campomarcar, campocambiar.
       concatenate 'VBAP-BEDAE(0' campo ')' into campopos.
       concatenate 'RV45A-VBAP_SELKZ(0' campo ')' into campomarcar.
       concatenate 'VBAP-BEDAE(0' campo ')' into campocambiar.
      Tercera pantalla.  Introducir valor ZRES y grabar.
        perform p TABLES BDCDATA using  'SAPMV45A' '4001'.
        perform c TABLES BDCDATA  using  'BDC_CURSOR' campopos.
          "posicionamos
        perform c TABLES BDCDATA using  campomarcar 'X'.
          "marcamos
        perform c TABLES BDCDATA using  campocambiar 'ZRES'.
          "actualizamos valor
        perform c TABLES BDCDATA using  'BDC_OKCODE' '=SICH'.
        CALL TRANSACTION 'VA02' USING bdcdata  UPDATE c_update
             MESSAGES INTO messa MODE  modo.
                         "A" temporalmete visible pra pruebas en integración
        COMMIT WORK AND WAIT.
        WAIT UP TO 2 SECONDS.
    endloop.
    ENDFORM.                    " Batch_VA02
    Thanks everyone

    hi,
    after executing va02 check for sy-subrc, if it is not equal to 0 .
    catch the errors into BDCmsg of structure BDCMSGCOLL and there open session for error records and u can transfer them into file aslo.
    ex:
    REPORT  zsr_report
    NO STANDARD PAGE HEADING
                            LINE-SIZE 255
                            MESSAGE-ID ZRASH.
    *--Internal Table for Data Uploading.
    DATA : BEGIN OF IT_FFCUST OCCURS 0,
             KUNNR(10),
             BUKRS(4),
             KTOKD(4),
             ANRED(15),
             NAME1(35),
             SORTL(10),
             STRAS(35),
             ORT01(35),
             PSTLZ(10),
             LAND1(3),
             SPRAS(2),
             AKONT(10),
           END OF IT_FFCUST.
    *--Internal Table to Store Error Records.
    DATA : BEGIN OF IT_ERRCUST OCCURS 0,
             KUNNR(10),
             EMSG(255),
           END OF IT_ERRCUST.
    *--Internal Table to Store Successful Records.
    DATA : BEGIN OF IT_SUCCUST OCCURS 0,
             KUNNR(10),
             SMSG(255),
           END OF IT_SUCCUST.
    *--Internal Table for Storing the BDC data.
    DATA : IT_CUSTBDC LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
    *--Internal Table for storing the messages.
    DATA : IT_CUSTMSG LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    DATA : V_FLAG1(1) VALUE ' ',
    "Flag used for opening session.
           V_TLINES LIKE SY-TABIX,
           "For storing total records processed.
           V_ELINES LIKE SY-TABIX,
           "For storing the no of error records.
           V_SLINES LIKE SY-TABIX.
           "For storing the no of success records.
    SELECTION-SCREEN BEGIN OF BLOCK B1.
    PARAMETERS : V_FNAME LIKE RLGRAP-FILENAME,
                 V_SESNAM  LIKE RLGRAP-FILENAME.
    SELECTION-SCREEN END OF BLOCK B1.
    START-OF-SELECTION.
    *-- Form to upload flatfile data into the internal table.
      PERFORM FORM_UPLOADFF.
    TOP-OF-PAGE.
      WRITE:/ 'Details of the error and success records for the transaction'
      ULINE.
      SKIP.
    END-OF-SELECTION.
    *-- Form to Generate a BDC from the Uploaded Internal table
      PERFORM FORM_BDCGENERATE.
    *--To write the totals and the session name.
      PERFORM FORM_WRITEOP.
    FORM FORM_UPLOADFF .
    *--Variable to change the type of the parameter file name.
      DATA : LV_FILE TYPE STRING.
      LV_FILE = V_FNAME.
    *--Function to upload the flat file to the internal table.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                      =  LV_FILE
        FILETYPE                      = 'ASC'
          HAS_FIELD_SEPARATOR           = 'X'
        HEADER_LENGTH                 = 0
        READ_BY_LINE                  = 'X'
        DAT_MODE                      = ' '
      IMPORTING
        FILELENGTH                    =
        HEADER                        =
        TABLES
          DATA_TAB                      = IT_FFCUST
        EXCEPTIONS
          FILE_OPEN_ERROR               = 1
          FILE_READ_ERROR               = 2
          NO_BATCH                      = 3
          GUI_REFUSE_FILETRANSFER       = 4
          INVALID_TYPE                  = 5
          NO_AUTHORITY                  = 6
          UNKNOWN_ERROR                 = 7
          BAD_DATA_FORMAT               = 8
          HEADER_NOT_ALLOWED            = 9
          SEPARATOR_NOT_ALLOWED         = 10
          HEADER_TOO_LONG               = 11
          UNKNOWN_DP_ERROR              = 12
          ACCESS_DENIED                 = 13
          DP_OUT_OF_MEMORY              = 14
          DISK_FULL                     = 15
          DP_TIMEOUT                    = 16
          OTHERS                        = 17
      IF SY-SUBRC = 0.
    *--Deleting the headings from the internal table.
        DELETE IT_FFCUST INDEX 1.
    *--Getting the total number of records uploaded.
        DESCRIBE TABLE IT_FFCUST LINES V_TLINES.
      ENDIF.
    ENDFORM.                    " form_uploadff
    FORM FORM_BDCGENERATE .
    *--Generating the BDC table for the fields of the internal table.
      LOOP AT IT_FFCUST.
        PERFORM POPULATEBDC USING :
                                    'X' 'SAPMF02D' '0105',
                                    ' ' 'BDC_OKCODE'  '/00' ,
                                    ' ' 'RF02D-KUNNR' IT_FFCUST-KUNNR,
                                    ' ' 'RF02D-BUKRS' IT_FFCUST-BUKRS,
                                    ' ' 'RF02D-KTOKD' IT_FFCUST-KTOKD,
                                    'X' 'SAPMF02D' '0110' ,
                                    ' ' 'BDC_OKCODE'  '/00',
                                    ' ' 'KNA1-ANRED'  IT_FFCUST-ANRED,
                                    ' ' 'KNA1-NAME1' IT_FFCUST-NAME1,
                                    ' ' 'KNA1-SORTL'  IT_FFCUST-SORTL,
                                    ' ' 'KNA1-STRAS' IT_FFCUST-STRAS,
                                    ' ' 'KNA1-ORT01' IT_FFCUST-ORT01,
                                    ' ' 'KNA1-PSTLZ' IT_FFCUST-PSTLZ,
                                    ' ' 'KNA1-LAND1' IT_FFCUST-LAND1,
                                    ' ' 'KNA1-SPRAS' IT_FFCUST-SPRAS,
                                    'X' 'SAPMFO2D' '0120',     
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0125',     
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0130',     
                                    ' ' 'BDC_OKCODE'  '=ENTR',
                                    'X' 'SAPMF02D' '0340',     
                                    ' ' 'BDC_OKCODE'  '=ENTR',
                                    'X' 'SAPMF02D' '0360',
                                    ' ' 'BDC_OKCODE'  '=ENTR',
                                    'X' 'SAPMF02D' '0210',     
                                    ' ' 'KNB1-AKONT'  IT_FFCUST-AKONT,
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0215',
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0220',     
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0230',     
                                    ' ' 'BDC_OKCODE'  '=UPDA'.
    *--Calling the transaction 'fd01'.
        CALL TRANSACTION 'FD01' USING IT_CUSTBDC MODE 'N' UPDATE 'S'
        MESSAGES INTO IT_CUSTMSG.
        IF SY-SUBRC <> 0.
    *--Populating the error records internal table.
          IT_ERRCUST-KUNNR = IT_FFCUST-KUNNR.
          APPEND IT_ERRCUST.
          CLEAR IT_ERRCUST.
    *--Opening a session if there is an error record.
          IF V_FLAG1 = ' '.
            PERFORM FORM_OPENSESSION.
            V_FLAG1 = 'X'.
          ENDIF.
    *--Inserting the error records into already open session.
          IF V_FLAG1 = 'X'.
            PERFORM FORM_INSERT.
          ENDIF.
    *--Populating the Success records internal table.
        ELSE.
          IT_SUCCUST-KUNNR = IT_FFCUST-KUNNR.
          APPEND IT_SUCCUST.
          CLEAR IT_SUCCUST.
        ENDIF.
    *--Displaying the messages.
        IF NOT IT_CUSTMSG[] IS INITIAL.
          PERFORM FORM_FORMATMSG.
        ENDIF.
    *--Clearing the message and bdc tables.
        CLEAR : IT_CUSTBDC[],IT_CUSTMSG[].
      ENDLOOP.
    *--Getting the total no of error records.
      DESCRIBE TABLE IT_ERRCUST LINES V_ELINES.
    *--Getting the total no of successful records.
      DESCRIBE TABLE IT_SUCCUST LINES V_SLINES.
    *--Closing the session only if it is open.
      IF V_FLAG1 = 'X'.
        PERFORM FORM_CLOSESESS.
      ENDIF.
    ENDFORM.                    " Form_bdcgenerate
    FORM POPULATEBDC  USING    VALUE(P_0178)
                               VALUE(P_0179)
                               VALUE(P_0180).
      IF P_0178 = 'X'.
        IT_CUSTBDC-PROGRAM = P_0179.
        IT_CUSTBDC-DYNPRO = P_0180.
        IT_CUSTBDC-DYNBEGIN = 'X'.
      ELSE.
        IT_CUSTBDC-FNAM = P_0179.
        IT_CUSTBDC-FVAL = P_0180.
      ENDIF.
      APPEND IT_CUSTBDC.
      CLEAR IT_CUSTBDC.
    ENDFORM.                    " populatebdc
    *&      Form  FORM_OPENSESSION
          Form to Open a session.
    FORM FORM_OPENSESSION .
    *--Variable to convert the given session name into reqd type.
      DATA : LV_SESNAM(12).
      LV_SESNAM = V_SESNAM.
    *--Opening a session.
      CALL FUNCTION 'BDC_OPEN_GROUP'
       EXPORTING
         CLIENT                    = SY-MANDT
         GROUP                     = LV_SESNAM
         HOLDDATE                  = '20040805'
         KEEP                      = 'X'
         USER                      = SY-UNAME
         PROG                      = SY-CPROG
    IMPORTING
       QID                       =
       EXCEPTIONS
         CLIENT_INVALID            = 1
         DESTINATION_INVALID       = 2
         GROUP_INVALID             = 3
         GROUP_IS_LOCKED           = 4
         HOLDDATE_INVALID          = 5
         INTERNAL_ERROR            = 6
         QUEUE_ERROR               = 7
         RUNNING                   = 8
         SYSTEM_LOCK_ERROR         = 9
         USER_INVALID              = 10
         OTHERS                    = 11
      IF SY-SUBRC <> 0.
        WRITE :/ 'Session not open'.
      ENDIF.
    ENDFORM.                    " FORM_OPENSESSION
    *&      Form  FORM_INSERT
          fORM TO INSERT ERROR RECOED INTO A SESSION.
    FORM FORM_INSERT .
    *--Inserting the record into session.
      CALL FUNCTION 'BDC_INSERT'
        EXPORTING
          TCODE                  = 'FD01'
        POST_LOCAL             = NOVBLOCAL
        PRINTING               = NOPRINT
        SIMUBATCH              = ' '
        CTUPARAMS              = ' '
        TABLES
          DYNPROTAB              = IT_CUSTBDC
        EXCEPTIONS
          INTERNAL_ERROR         = 1
          NOT_OPEN               = 2
          QUEUE_ERROR            = 3
          TCODE_INVALID          = 4
          PRINTING_INVALID       = 5
          POSTING_INVALID        = 6
          OTHERS                 = 7
      IF SY-SUBRC <> 0.
        WRITE :/ 'Unable to insert the record'.
      ENDIF.
    ENDFORM.                    " FORM_INSERT
    *&      Form  FORM_CLOSESESS
          Form to Close the Open Session.
    FORM FORM_CLOSESESS .
      CALL FUNCTION 'BDC_CLOSE_GROUP'
        EXCEPTIONS
          NOT_OPEN    = 1
          QUEUE_ERROR = 2
          OTHERS      = 3.
      IF SY-SUBRC <> 0.
      ENDIF.
    ENDFORM.                    " FORM_CLOSESESS
    *&      Form  FORM_FORMATMSG
          Form to format messages.
    FORM FORM_FORMATMSG .
    *--Var to store the formatted msg.
      DATA : LV_MSG(255).
      CALL FUNCTION 'FORMAT_MESSAGE'
        EXPORTING
          ID        = SY-MSGID
          LANG      = SY-LANGU
          NO        = SY-MSGNO
          V1        = SY-MSGV1
          V2        = SY-MSGV2
          V3        = SY-MSGV3
          V4        = SY-MSGV4
        IMPORTING
          MSG       = LV_MSG
        EXCEPTIONS
          NOT_FOUND = 1
          OTHERS    = 2.
      IF SY-SUBRC = 0.
        WRITE :/ LV_MSG.
      ENDIF.
      ULINE.
    ENDFORM.                    " FORM_FORMATMSG
    *&      Form  form_writeop
          To write the totals and the session name.
    FORM FORM_WRITEOP .
      WRITE :/ 'Total Records Uploaded :',V_TLINES,
               / 'No of Error Records :',V_ELINES,
               / 'No of Success Records :',V_SLINES,
               / 'Name of the Session :',V_SESNAM.
      ULINE.

  • How to control number of rows displayed in a report  by user?

    Hi All!
    I have provided a select list called 'Number of rows' in my report page.User can choose any number in the list, and accordingly he should be able to see so many number of rows in that report page.
    For example: if user selects 50 from the list, he will be able to see 50 records at a time out of say 2000 records retrieved. I want to control number of rows displayed per page dynamically. And if he selects 25 in the select list, he should be able to see 25 records at a time out of 2000.
    How to do it? Please give me ideas.
    Thanking in advance.
    Regards,
    Deepika.

    Hi Deepika,
    If you have a Select List with Submit called, say "P1_ROWS", you just enter P1_ROWS into the Report Attribute's "Number of Rows (Item)" setting.
    Regards
    Andy

  • How to count number  of records for a field based on condition?

    Hi guys,
    I want to know how to find count of records coming from the database for a particular field based on some condition.
    I need to use this count to suppress some headers. Because of this i am not able to use running totals. Is there any other way?
    Ex scenario:
    I have account number and currency fields, those are coming from database. And i need to count the number of accounts whose currency is not Euro.
    Thanks in advance,
    Vijay.

    A simple formula can do that:
    //Formula begin
    if {your account field}<>"Euro" then 1
    //Formula end
    This formula can be summarized. (by group or report)
    Bryan Tsou@Taiwan

  • How to find number of records in a cube and ODS....

    Hi,
    How do we find total number of records in a cube and ODS?
    Is there any Tcode for this ?
    From the content it is difficult to get the number of records, if it is more in number.
    Thanks,
    Jeetu

    Hello ,
              Please check the following thread,
    Number of records in a infocube
    hope it helps,
    assign points if helpful.

  • How to get number of records in all user tables in one select

    Please advise how to retrieve the number of records in all user tables in one select. I would likt to extract the data to excel file.
    Many thanks,
    Andrew

    You could always analyze the tables:
    declare
    begin
      for X in (select owner, table_name from all_tables
                 minus
                select owner, table_name from all_external_tables) LOOP
          dbms_stats.Gather_Table_Stats(X.Owner, X.Table_Name) ;
      end loop;
    end;
    /Then: Select Owner, Table_Name, Num_Rows from All_Tables ;

  • How to determine number of records in recordset returned by stored procedure?

    In TestStand 3.0 I am calling an SQL stored procedure where the stored
    procedure returns a recordset. Everything appears to work (I can
    iterate through the recordset and see that the data is valid).
    However, I can not figure out how to easilly determine how many
    records are actually in the recordset. Unlike the 'Open SQL
    Statement' step, in the 'Data Operation' step that actually invokes
    the stored procedure, there is no 'Number of Records Selected' option
    to specify a TestStand variable to accept this value. I know I could
    iterate through the returned recordset incrementing a counter until a
    Fetch fails, but for larger recordsets, traversing the table multiple
    times would be quite time consuming
    . I am hoping to avoid this if
    possible. Is there an easier way to get the number of records in a
    recordset returned from a stored procedure call?
    Bob

    Bob -
    The cursor type of the ADO Recordset object affects whether the number of records can be determined. The Recordset.RecordCount property will return -1 for a forward-only cursor; the actual count for a static or keyset cursor; and either -1 or the actual count for a dynamic cursor, depending on the data source.
    Because ADO does not let me set the cursor type for command objects which is what a stored procedure requires, it is up to the data source to determine the type of cursor and the support for record count.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • How to Control with Maximum Record per Page

    Hi Every one
    how can I control with maximum record per page with parameter sending from Form
    ex.
    if I set parameter with value=15 the report will run 15 rows per page ?
    Can anyone help me Please ASAP ?
    Thankx

    PLay around with SRW.SETMAXROW , from memory that should do the trick.
    Cheers.
    N.

  • Hi Gurus! how to count number of records in any column of ALV Grid report

    Hi Guys!
    I want to know how can we count the number of records in any column selected by the user. Like for oe customer there might be 20 sale order that means for 10 customer there will be 200 Sale order. So if i select cutomer number column ti should give 10 out put and whern select sale order it should give 200 as output.
    -Anurag Jain

    Hi,
    Either you can use the hotspot_click event or double_click to show the Pop-up info of the Sales Order count or customer Count depending on the selection.
    In the hotspot_click event  method you have E_ROW_ID E_COLUMN_ID..using these you can find the Sales Ordert or customer Number.. Loop the internal table and find the Count.
    In the double_click event  method you have E_ROW E_COLUMN..using these you can find the Sales Ordert or customer Number.. Loop the internal table and find the Count.

  • How to find number of records retrieved

    hi everyone,
    suppose you made tap canvas and 2 tab page one for dept table and one for emp table and you make non database text item in the emp tab page. i need when i press in row on dept page navigate to emp page and display the number of records retrieved in this text item
    any help i greatly appreciated
    thanks

    Hello,
    What happens if you create one text item (non database) with numeric datatype in the emp block and set the property No. of display records to 1.
    Then set the Calculation Mode to Summary.
    Then Set the Summary Function to Count.
    Then Choose the Summarized Block from list as EMP block and choose any column from the Summarized Items list.
    The run the form.
    -Ammad

  • Controlling number of records to be processed

    Hello -
    I have a procedure which eventually processes about 100 records. Our team wants to process only 50 records at a time. And they want to look at the 50 before being processed.
    Procedure functionality is as follows:
    - cursor fetches all qualified records for the process (100)
    - creates record in order header and detail tables for all the qualified records
    - then, checks for another criteria
    - creates another detail record for the same header record
    I have tried 'where rownum < 50' at the cursor itself. But, it anyways is processing all 100 records when it is creating records into orders tables.
    Could you please suggest how I can select and process only those particular 50 orders? Thanks,

    Thanks for the response.
    I am essentially generating an excel spread sheet of records that are part of the first batch and sending them out. But, when I try to execute the complete procedure, it is executing all of them in one single batch.
    Here is how my code is...in its simplified format:
    PROCEDURE p_r_1 IS
    p_ref_cur package.p_ref_cur;
    CURSOR c1 IS
    SELECT max(sal)
    FROM emp
    WHERE deptno = 20;
    c_eligible_rec c1%rowtype;
    v_sal emp.sal%TYPE;
    v_test number := 0;
    BEGIN
    OPEN c1;
    LOOP
    FETCH c1 INTO c_eligible_rec;
    EXIT WHEN c1%NOTFOUND;
    OPEN p_ref_cur FOR
    SELECT grade
    FROM salgrade
    where v_sal >= losal and v_sal <= hisal;
    LOOP
    FETCH p_ref_cur INTO rec;
    v_test := rec.sal;
    EXIT WHEN p_ref_cur%NOTFOUND;
    END LOOP;
    close p_ref_cur;
    dbms_output.put_line(v_test);
    END LOOP;
    END;

  • How to change number of records displayed in Web service: Query_view_data

    Hi experts
    I´m using webservice Query_view_data to fill a Xcelsius model with data.
    The Bex Query contains appr. 300 records but the webservice returns only 50 records. When I test it it says "displaying 50 of 312 records".
    When I tried ABAP FM RRW3_GET_QUERY_VIEW_DATA it gave all 312 records.
    Does anyone know how I can change this setting so that all 312 records are displayed in the webservice?
    Best Regards
    Kenneth

    Mani,
    I have changed the properties of the chart as you said and gave 4 decimal places. If my actual data value is 0.787989, i would expect it to result 0.7879 but the outcome is 0.7800. It is replacing the other two decimal places with 0's rather than the actual number. Is this a bug in OBIEE or am i doing anything wrong?? Is there any other way to do this. Please let e know...
    Thanks,
    vnk
    Edited by: user8708843 on Aug 18, 2010 8:03 AM

  • How to control number of concurrent threads in SOAP Adapter (Receiver)

    Hi all,
    I have an interface:
    File -> XI -> SOAP
    The file contains multiple records, and for each record, 1 SOAP request is sent out.
    My question is:
    1. How many concurrent outgoing SOAP requests are being sent out to the external system from XI? Is this configurable?
    Please help.
    Thanks.
    Ron

    Hi experts,
    still no answer to my question.
    But I will really like to know how can I throttle the number of outgoing messages from XI when the external system cannot handle such a high load.
    Please help.
    Thanks.
    Ron

Maybe you are looking for