How to Traverse a VO for all rows more efficiently

Hi,
I have populated VO for which i want to traverse through all rows. what is most efficient way?

I would suggest to use hasNext method in a while loop. Othe methods are looping making use of for statement but they will require to call getFetchedRowCount or getRowCount which is not suggested.
--Shiv                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How to force SQL*Loader to assign the same SYSDATE for all rows?

    I want to use SQL*Loader to load some rows and a "SYSDATE" generated column, but making sure this date is THE SAME for all rows. I have seen that if I load HUNDREDS of rows there is a little difference between them (in terms of seconds). I guess it is "the moment each row entered the DB", but I need the same value for all rows (preferably, "the moment SQL*Loader was launched"). Is there any way to achieve this?
    Thank you very much.

    Hello user2393320.
    Given some thought, using a date value to identify all records from a single load isn't very wise.
    Are you able to create a procedure on the database that could be executed during SQL*Loader's execution? If so, you could develop the procedure to take in the record number of the row being loaded as an input parameter and output this unique date value for all rows loaded. The procedure would need to store the date value in a table when the first row is being loaded and return the stored date value as its output. This obviously assumes that only one sqlldr session is running at any time.
    I highly recommend using a numeric sequence in the control file instead of a date to identify each file load:
    , file_load_seq SEQUENCE(MAX, 1)
    Another approach would be to load the record number being loaded in addition to the sysdate:
    , record_number RECNUM
    Hope this helps,
    Luke

  • How get values of columns for selected rows in SortingTable

    Hi,
    is possible to get values of more columns for selected rows? I have SortingTable that have 1st column loaded from list and 2nd and 3rd columns are text areas where user must write some text. I need way how to get values from all three columns for selected rows.
    My table looks like this:
    System name I User Account I  User Password
    system1 ...............jblack ............. passw1
    system2 ...............pdowe..............p@ssw
    system3 ...............ekie................. pas123
    Column System name is loaded from list, columns User Account and User Password are Text class. How can I get values for all three columns in case that I select e.g. system1 or system1 & system2?
    I read [this post|http://forums.sun.com/thread.jspa?forumID=764&threadID=5220609] but there is described selection only for one column.
    Code of my SortingTable is following:
    <Field name='tblDalsiSystemy'>
                   <Display class='SortingTable'>
                       <Property name='align' value='center'/>
                       <Property name='sortEnable' value='false'/>
                       <Property name='selectEnable' value='true'/>
                       <Property name='pageSize' value='5'/>
                       <Property name='pageButtonAlign' value='center'/>
                       <Property name='columns'>
                           <List>
                               <String>System name</String>
                               <String>User Account</String>
                      <String>User Password</String>
                           </List>
                       </Property>
                   </Display>
                   <FieldLoop for='y' in='lstSystemList'>               
                     <Field name='SystemName'>
                         <Display class='SortingTable$Row'>
                             <Property name='key'>
                                 <ref>lstSystemList</ref>
                             </Property>
                         </Display>
                         <Display class='Label'>
                             <Property name='align' value='center'/>
                             <Property name='value'>
                                 <ref>y</ref>                            
                             </Property>
                         </Display>
                     </Field>
                     <Field name='UserAccount'>
                         <Display class='SortingTable$Row'>                        
                         </Display>
                         <Display class='Text'>
                             <Property name='size' value='10'/>
                             <Property name='value'>                            
                             </Property>
                         </Display>
                     </Field>
               <Field name='UserPassword'>
                         <Display class='SortingTable$Row'>                        
                         </Display>
                         <Display class='Text'>
                             <Property name='size' value='10'/>
                             <Property name='value'>                            
                             </Property>
                         </Display>
                     </Field>
                   </FieldLoop>              
               </Field>Getting value is performed by:
    <ref>tblDalsiSystemy.selected</ref>Any help?
    Thanks
    Petr

    Hi Ivan,
    thanks for your advice - it works.
    Here is my final code:
    <Field name='tblDalsiSystemy'>
                   <Display class='SortingTable'>
                       <Property name='align' value='center'/>
                       <Property name='sortEnable' value='false'/>
                       <Property name='selectEnable' value='true'/>
                       <Property name='pageSize' value='5'/>
                       <Property name='pageButtonAlign' value='center'/>
                       <Property name='columns'>
                           <List>
                               <String>System name</String>
                               <String>User Account</String>
                      <String>User Password</String>
                           </List>
                       </Property>
                   </Display>
                   <FieldLoop for='y' in='lstSystemList'>               
                     <Field name='SystemName'>
                         <Display class='SortingTable$Row'>
                             <Property name='key'>
                                 <ref>lstSystemList</ref>
                             </Property>
                         </Display>
                         <Display class='Label'>
                             <Property name='align' value='center'/>
                             <Property name='value'>
                                 <ref>y</ref>                            
                             </Property>
                         </Display>
                     </Field>
                     <Field name='Account[$(y)].login'>
                         <Display class='SortingTable$Row'/>
                         <Display class='Text'>
                             <Property name='size' value='10'/>
                             <Property name='value'>                           
                             </Property>
                         </Display>
                     </Field>
                     <Field name='Account[$(y)].passwd'>
                         <Display class='SortingTable$Row'/>
                         <Display class='Text'>
                             <Property name='size' value='10'/>
                             <Property name='value'>
                             </Property>
                         </Display>
                     </Field>
                   </FieldLoop>              
               </Field>Maybe it could be helpful for somebody another :-)
    Petr

  • How to query opening balance for all customer or Vendor for an speci. date

    Hi,
    How to query opening balance for all customer or Vendor for an specific date?
    Example:
    put any date and query will show all customer/ Vendor  that date opening/current balance.
    Regards,
    Mizan

    Hi mizan700 ,
    Try this
    SELECT T0.[DocNum] As 'Doc No.', T0.[CardCode] As 'Customer Code',
    T0.[CardName] As 'Customer Name',(T0.[DocTotal]-T0.[PaidSys]) As 'O/S Balance'
    FROM OINV T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    INNER JOIN OCRG T2 on T1.GroupCode = T2.GroupCode
    INNER JOIN INV1 T3 ON T0.DocEntry = T3.DocEntry
    WHERE T0.[DocStatus] ='O'
    AND
    (T0.[DocDate] >='[%0]' AND T0.[DocDate] <='[%1]')
    Regards:
    Balaji.S

  • How to change a color for a row in ALV grid display

    Hi,
       how to change a color for a row in ALV grid display based on a condition.Any sample code plz

    Hello Ramya,
    Did you check in [SCN|How to color a row of  alv grid]
    Thanks!

  • How to hide edit link for  some rows in report? (according to value of col)

    Helo,
    How to hide edit link for some rows in report? (according to value of column)
    regards
    siyavuş

    Hi siyavuş
    You can do this by taking the edit link off the report and putting it into your report SQL.
    Use something like Select CASE WHEN (condition)  THEN
    'Put your edit link in here as an html Anchor like<a href="(target)">Edit</a>'
    ELSE
    tt.value
    END edit_link
    FROM test_table tthope it helps,
    Gus..
    You can reward this reply (and those of other helpers) by marking it as either Helpful or Correct.
    This allows forum users to quickly find the correct answer.
    ;-)

  • HT201304 How do I set password for all in app purchases?

    How do I set password for all in app purchases? xx

    In-App purchases cannot be made without entering your iTunes store account password.

  • In mdx how to get max date for all employees is it posible shall we use group by in mdx

    in mdx how to get max date for all employees is it posible shall we use group by in mdx
    example
    empno  ename date
    1         hari        12-01-1982
    1         hari        13-06-2000
    by using above data i want to get max data

    Hi Hari3109,
    According to your description, you want to get the max date for the employees, right?
    In your scenario, do you want to get the max date for all the employees or for each employee? In MDX, we have the Max function to achieve your requirement. You can refer to Naveen's link or the link below to see the details.
    http://www.sqldbpros.com/2013/08/get-the-max-date-from-a-cube-using-mdx/
    If this is not what you want, please provide us more information about the structure of you cube, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • SNR License Issue. How Can I Disable SNR for all Users?

    Hi,
    I Have an issue with SNR on CUCM 10.5 and with assignement of license type
    I have a cluster with 400 users.
    200 users use ip phone 3905 and should be use an Essential License.
    When system check for assignement of license type , itassign a Basic License instead of an Essential License, because it see that users have SNR Enabled.
    All users in my system have SNR enabled, and I can not disable it. All my user have Enable Mobility unchecked, and all my phone have Device Mobility Off, but system however see SNR enable.
    How can i disable SNR for all users? This is a feature that client don't need.
    I dont' have a sufficent number of licenses for support all 3905 in Basic License.
    thanks for help.
    Andrea

    Well actually, Mobile Identity wouldn't apply to a 3905 unless those phones had another line on a Dual-Mode device like an iPhone or Android phone.  So unless you have either of those in your system you can scratch that idea.  Someone else may chime in here and try to help a bit more as RD/RDP are the main SNR culprits.

  • How to create delivery device for all users ?

    hi
    help needed ...
    i activated delivery tool
    but i dont know how to create email devices for all users
    is there any api / manual action
    obiee version : Oracle Business Intelligence 10.1.3.4.1
    thanks
    yuval

    Yuval..u need to setup SA System in RPD..
    refer http://oraclebizint.wordpress.com/2008/04/25/oracle-bi-ee-101332-sa-system-subject-area-autoloading-profiles-and-bursting/

  • I want to make a CD that is NOT in alphabetical order, not in artist alphabetical order and not in album alphabetical order... I want to make it the order I want.  Can this be done? How?  thanks in advance for all your help.  Mona

    I want to make a CD that is NOT in alphabetical order, not in artist alphabetical order and not in album alphabetical order... I want to make it the order I want.  Can this be done? How?  thanks in advance for all your help.  Mona

    cjam732 wrote:
    Ed - by sequence of numbers, are you talking about the rectangle with the arrow that sorts by track number?  I've tried to follow your directions to Mona but my playlist still gets burned to CD in alpha order.  driving me crazy.  any other suggestions?   thanks, Chris
    Chris, The sequence number is the first column of numbers, to the left of the Name column.  It always goes 1, 2,3  etc.  It is not the same as the Track Number, which has its own column.
    As a precaution before burning, make sure that Shuffle is tunred off, and that you right-click the playlist name and choose 'Copy to Play Order"  (although technically they should not affect the burn).

  • Please tell me how can I put Bookmarks for all pages opened in Firefox.There was an option ("bookmark all pages") which vanished.

    Please tell me how can I put Bookmarks for all pages opened in Firefox.There was an option ("bookmark all pages") which vanished.

    It moved to tab contextual menu :
    Right-click on any tab -> Mark all tabs (or something close, my FF is not in english).

  • How to install plugin globaly (for all users) in Firefox13?

    How to install plugin globaly (for all users) in Firefox13?

    See also:
    *https://developer.mozilla.org/en/Gecko_Plugin_API_Reference/Plug-in_Development_Overview#Installing_Plug-ins

  • How to block a website (for all devices) on an EA6900

    I'm trying to figure out how to block a website for all devices connected to my router. The only thing I can find is blocking websites by device. Please tell me that they did not take this feature away.

    welcome to the 'smart' world.  I think one of the best improvements Belkin could do is to give us back the option of the old gui. so much more useful.

  • How to define WE20 partner for all outb deliveries

    Hello, I would like to create an outbound delivery DELVRY05 IDoc for every delivery.   When the warehouse (LIKP-LGNUM) is a certain value, and the packing status is 'C', we'd like to produce the IDoc and save to a file port.   I have setup most of this, but am stuck on the partner function settings.   In NACE, I have defined a new output type 'ZAWB' under V2.  I have select 'EDI' for the medium.  But on the Default Values tab, what should the partner function be?   I want this for all customers.  I can't go and create a WE20 entry under 'KU' for every single customer.  Also in NACE, does an entry need to exist in the Partner Functions screen?  And how would the WE20 partner be defined?

    Requirement:
    Produce an outbound IDoc containing delivery data.  When the delivery
    header packing status = 'C' AND the warehouse is 'SHN' 'SRV' or 'OCE',
    the output should appear in the Extras -> Delivery Output -> Header screen
    as a new entry.  The output will produce a DELVRY05 IDoc, message type DESADV.
    It will be saved as a file on the SAP server, formatted in XML format.
    Setup to get this to work:
    Since the warehouse number LIKP-LGNUM was not available in the standard
    communication structure KOMKBV2, the field needed to be added so we can
    use it in an output condition record.
    1.  Structure ZAKOMKBZ4, added field ZZLGNUM for warehouse number.
        This structure is an include in communication structure KOMKBV2.
    2.  Added field ZZLGNUM to structure ZAKOMBZ, which is included in
        structures KOMB and KOMBZ.  Needed to update the Field Catalog.
    3.  Edited program RVCOMFZZ, Form USEREXIT_KOMKBV2_FILL
        to move the warehouse value from LIKP into the communication structure.
        Insert the code:   COM_KBV2-ZZLGNUM = COM_LIKP-LGNUM.
    4.  Add field ZZLGNUM to Field Catalog, table V_T681F.  Use SM30
        Usage: B    Appl: V2    Field Group: 001
        This will also add an entry to table T681F
    5.  v/59   V/60   v/61   Create/Change/Display Condition Table (Output Shipping)
        With SE11, see what table number is avail, put B9* and hit F4. 923 wasn't being used yet.
        Used v/59 to create new condition table 923.   
        Warehouse should appear on the right side now if you did steps above.
        Add field to the left side: Warehouse  (just dbl-click Warehouse on the right side and it should
    appear on the left)
        Pressed 'Generate' button and it created table B923
    6.  Txn NACE.  Select row V2, then click  Access Sequence button.
        Created new Access Sequence Z005 'Warehouse'
        Select row Z005 and dbl-click Access, Add new row: Access Nbr: 10  Table: 923   Hit Save.
        Hit Back once and select row Z005 again and dbl-click Fields, which should
        automatically fill in a new row showing the new ZZLGNUM field.  Hit Save.
    7.  Txn NACE.  Select row V2, then click  Output Types  button
        Created new output type ZAWB which will be used to produce the DELVRY05 IDoc
        Tabs:                    Field:                Value:
          General Data             Access Sequence       Z005
                                   Access to Conditions  checked
          Default Values           Dispatch time         Send immediately                   
                                   Transmission Medium   EDI
                                   Partner Function      SH    (Ship-To Party)
        Processing Routines:
          Program:       RSNASTED
          Form Routine:  EDI_PROCESSING
        Partner functions:  (1 entry)
          Medium   : EDI      Function:  SH  
    8.  Txn BD54.  Created new Logical System 'IEDHL'  for Ireland DHL 3PL Warehouse (Non-SAP)
        This is not really a 'system'.  The plan is to save the IDoc files to a folder on the
        SAP filesystem.
    9. VV21  VV22  VV23   Output - Condition Records : Shipping
        But we can get to this as well via txn NACE.
        Create 3 new entries in the condition table.
        Output type     :  ZAWB   (our new output type)
        Key Combination :  Warehouse  (is the only selection)
        Warehouse number:  SHN   (do same for SRV and OCE)
        Function        :  LS
        Partner         :  IEDHL  (this will be populated in the output screen in VL02N)
        Medium          :  6  - EDI
        Date/time       :  4  - Immediate
        Language        :  EN
        Notice the entries appears in the table B923 now, created in step 5.
    10.  Output the IDoc in XML format.  In WE21, define a port under XML file.  I will
         call it DEV_XML.  On the Outbound file tab, you can specify a function module
         that is used to create the filename.  For example, EDI_PATH_CREATE_CLIENT_DOCNUM.
    11. Txn WE20.  Under Partner Type  'LS', Add partner 'IEDHL'.
        Then create an outbound parameter for DESADV as follows:
        Partner No.   :  IEDHL
        Partner Type  :  LS
        Partner Role  :  LS
        Message Type  :  DESADV
        Tabs:                    Field:                 Value:
          Outbound Options         Receiver Port          DEV_XML  (Define with WE21)
                                   Transfer IDoc Immed.   (selected)
                                   Do not start subsys    (selected)
                                   Basic Type             DELVRY05
                                   Canc Proc after Err    (checked)
                                   Segm. Release in IDoc  700
          Message Control          Application            V2
                                   Message Type           ZAWB
                                   Process Code           DELV
          Perm. Agent              Type                   O         (or US)
                                   Agent                  50000079  (or your username)
                                   Language               EN

Maybe you are looking for

  • Problem in searching the document

    Hi Experts, We've uploaded a ppt file into our KM repository. Similarly we've uploaded some other files (txt, doc, etc..) at the same location. But the problem here is, when we are searching the ppt document with search option the document (ppt) is n

  • Still having problem with this sql select... any suggestions!  tx

    The following code has a result, I need to modify the select somehow which only gives me the rows which are common between all PLSTS. Any suggestions? Thank you SELECT DISTINCT P.PLST, P.MENU, I.PNL, P.ACCESS FROM AUTHITEM P, I.MENUITEM WHERE P.MENU

  • ADF with Shale

    Is anyone using ADF with Shale, I am having the following (short version of) errors: Error exercising tag : <tag name> java.lang.IllegalStateException: No AdfRenderingContext      at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd

  • Help Needed Importing XML into a Database

    Hi: I'm new to Appleworks databases. I would like to create a database by importing records from a large XML file containing thousands of records. Is there a user's guide (or something else) I could read to help me do this? I have the schema for the

  • CONVERTIR ARCHIVOS PDF A WORD O EXCELL

    no puedo convertir archivos pdf a word o excell