Regarding how to use index , please give me some example if possible

Hello everybody:
       Thank you all for your help in  advance .
       would you please tell me how to use index, please give me  some example if possible.  couldn't thank you more!
      best regards .
     Frank

Index is used for faster access of data base tables.
An index helps to speed up selection from the database. An index is a sorted copy of selected database table fields.
The primary index is always automatically created in an ABAP-based SAP system. It consists of the primary key fields of the database table. This means, for each combination of the index fields exists a maximum of one record in the table. This kind of index is called a UNIQUE index.
If the primary index cannot be used to determine selection result, (for example, the WHERE condition does not contain any primary index fields), the system searches the whole table. To prevent this, and determine the selection result by searching through a restricted number of database records, you can create a secondary index.
However, you should not define an index for all possible fields in the WHERE condition.
Check this thread..u have more details.
In which situation we can use the reading of  index

Similar Messages

  • Please give me some examples of video chat with adobe flash builder 4 or adobe flex 3.5

    I'm a newbie for flex. I had a project from my college to made a video chat application using Adobe Flash Builder 4 and used Red5.  please help me, give me some examples of video chat source code, so that i may to learn it. thanks a lot friends.

    As you are starting at the beginning you may as well start with FB4. When you install FB4 you will find that its start page has links to documentation tutorials and examples through the tour-de-flex. There are some great blogs that continue to offer advice and examples, nothing beats well written examples for learning. If you are on face book there is an Adobe Flex page that is continually giving links to examples and information about e-seminars.
    And of course there is here. So jump on board and have a bit of fun.
    David

  • How to use Transport Delay VI? Please show me some example.

    I want to delay signal with my selection delay time(example:second,period,number of sample). I saw in LabVIEW have,it have three delay function are 1.Transport Delay 2.Delay Value 3.Unit Delay .Now I take look for Transport Delay VI.I think this function can delay signal with specific time which I want.I tested it by use it to delay sine wavefrom(number of sample=1000,sampling rate =1000Hz),for Transport Delay,I set initize=TRUE,Delay=500. I think the result may sine waveform which same shape of original sine waveform but delay 500 sample after it but the result different from my think. Everyone please recommend me,How to use it?Show me some example.Or please tell me how to delay signal.If can not post picture on the board,mail to me.
    [email protected]
    [email protected]

    Hi TOTSAPORN!
    It sounds like you are trying to alter the timing of a waveform. What I would suggest to you is to look at the Waveform palette to explore the different ways of manipulating the waveform datatype. Also, I put together a small example (written in LV 7.1) to delay the waveform graph by 500 samples (500*dt seconds).
    Hope this helps!
    Travis H.
    National Instruments
    Travis H.
    LabVIEW R&D
    National Instruments
    Attachments:
    Waveform Offset.vi ‏64 KB

  • How to use bex broadcaster   give details screenshots

    how to use bex broadcaster   give details screenshots

    Dear Swain,
    Have a look at this.
    /people/ramkumar.ghattamaneni/blog/2008/02/25/using-variables-while-broadcasting-queries-to-the-portal-in-bi-7
    Regards,
    Ram.

  • How to create infospokes   please  give me details steps screeenshots

    how to create infospokes   please  give me details steps screeenshots

    hi,
    Document on Infospoke with screeshots: [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/eb462104-0701-0010-07ae-d866630e0989]
    [https://websmp209.sap-ag.de/~sapidb/011000358700002201112003]
    [https://download.microsoft.com/download/f/3/7/f371bbba-2341-41bf-822d-2c7dd4174756/IT_SAPBW.ppt ]
    Procedure
           1.      In the main menu of the Data Warehousing Workbench, choose
                Tools ->Open Hub Service ->Edit InfoSpoke
    Enter a technical name for your InfoSpoke.
    You can also select a template.
           2.      Choose  Create InfoSpoke.
           3.      Enter a description for your InfoSpoke
    [http://help.sap.com/saphelp_nw70/helpdata/EN/66/76473c3502e640e10000000a114084/frameset.htm]
    regards,
    NR
    Edited by: N R Pradeep Reddy on Apr 4, 2008 7:36 AM
    Edited by: N R Pradeep Reddy on Apr 4, 2008 7:39 AM

  • I lost my password and i could get into my phone, i tried but it said connect to itune. i did, but i did not get any result. please give me some advises how do i get my password back or reset with a new one?

    Ipjone6, silver, 64GB
    I lost my password and i could get into my phone, i tried but it said connect to itune. i did, but i did not get any result. please give me some advises how do i get my password back or reset with a new one?

    how to reset password:
    https://iforgot.apple.com/password/verify/appleid

  • Hi my name is steve arsenault  i am looking for a short keys for  apple and if someone has one i like to know how to use it please e-mail me has soon has posible thank you

    hi my name is steve arsenaulti am looking for a short keys for  apple and if someone has one i like to know how to use it please e-mail me has soon has posible thank you
    <E-mail Edited by Host>

    It sounds like you are looking for a program like Typinator.
    It isn't free, and the site doesn't specify compatibility with any OS above 10.7.
    As of today, the latest release is dated May 29th, 2012.

  • What primary server problem,fail to connect,how to i resolve ,please give idea

    what primary server problem,fail to connect,how to i resolve ,please give idea

    Hi,
    can you provide more information please? Thank you !

  • HT3775 I'm using version 10.7.5 OSX. I can't play or use the normal AVI recently. Some problem with (codecs version incompatible with OSX) Please give me some help. I'm in Vietnam and to have a real place to have stuffs from Apple is ****-

    I'm using version 10.7.5 OSX. I can't play or use the normal AVI recently. Some problem with (codecs version incompatible with OSX) Please give me some help. I'm in Vietnam and to have a real place to have stuffs from Apple is ****…

    I would recommend that you download and install the excellent and Free "VLCPlayer for Mac", which reads many more types of files for video than Quicktime Player:
                 http://vlc-media-player.en.softonic.com/mac

  • Please give me some suggestions..

    Hi everyone,
    Please give me  some suggestions on the process that i am doing.
    I have to send some data daily in a flat file to a third party vendor.
    The data that i am extracting to a flat file comes from "differnt tables".
    I have a PL/SQL proc which does all the logic and extract to a flat file.
    As per third party vendor requirement we have to send one full file
    (all the data in our database or tables) and after that changes only file
    (records that got modified and New Records).we have Date_modified column
    in every table to see whether that records got modified or not.
    we need something to track what records we are sending
    they dont want to depend only on that "date_modified" column.
    they want to create a separate table to keep track all records that we are
    sending to vendor.
    Process:
    First day: Insert all the records to a ---> log table(for tracking) with
               SEND_REC = 'Y' (there is a column "SEND_REC" that says whether
               to send that record or not) ----> send all the records from the
               log table that has SEND_REC is "Y"
    second day: compare the existing records with log table records --->if
                there is any change update the log table
                and for new records insert into log table --->
                send the records from log table that has "SEND_REC" is
                "Y"
    thrid day:  same as second day..
    Is there any better way to do it? Please post how do you handle this type
    of scenarios ?
    Thanks

    Some thing you can achive with Merge
    merge into ..
    using(select blah blah from xxxx
    minus
    select blah blah from yyyy)
    on(----)
    when matched then
    update set
    when not matched then
    insert ....;Assmuing this will give you difference between your records
    select blah blah from xxxx
    minus
    select blah blah from yyyyEdited by: user5495111 on Aug 6, 2009 7:06 AM

  • I'm trying to downgrade my storage on my ipod but when I chose my new storage i'm not able to complete the choice because the 'done' button doesn't do anything. can someone please give me some advice?

    I'm trying to downgrade my storage on my ipod but when I chose my new storage i'm not able to complete the choice because the 'done' button doesn't do anything. can someone please give me some advice?

    Are you choosing a different plan before tapping Done?
    To downgrade, you should be doing the following:
    Go to Settings > iCloud > Storage & Backup.
    Tap Change Storage Plan.
    Tap Downgrade Options and enter your Apple ID password.
    Choose a different plan to use when your current storage plan expires.
    Tap Done.

  • Please give me some sample program releated BOM

    please give me some sample program releated BOM

    Hi,
    *& Module : PP                                                         |
    *& Application : The program loads the Bill of Material                |
    *&                                                                     |
    *| Modification Log                                                    |
    *| -
                                                        |
    *| Programmer                                                          |
    *|                                                       Change        |
    *| -
    |
    REPORT zpp0120 NO STANDARD PAGE HEADING
                                      MESSAGE-ID z0
                                      LINE-SIZE  132
                                      LINE-COUNT 65(2).
                         Internal Tables                                 *
    *Internal table for the BOM file.
    DATA: BEGIN OF i_bom OCCURS 0,
          matnr(18),
          werks(4),
          stlan(1),
          stlal(2),
          stktx(40),
          bmeng(16),
          menge(16),
          posnr(4),
          postp(1),
          meins(3),
          datuv(10),
          fmeng(1),
          idnrk(18),
          potx1(40),
          ausch(7),
          END OF i_bom.
    Extracting Document and Doc type for POSTP = D.
    DATA : BEGIN OF i_stpo OCCURS 1,
           doknr(25),
           dokar(3),
           posnr(4),
           stlnr LIKE mast-stlnr,
           END   OF i_stpo.
    Local work area
    DATA:  g_my_rec_in   LIKE i_bom.
    Declare internal table for Call Transaction and BDC Session
    DATA: i_bdc_table LIKE bdcdata OCCURS 0 WITH HEADER LINE.
                         Global Variables                                *
    DATA: g_counter(2) TYPE n,
          g_field_name(18) TYPE c,
          zc_yes  TYPE syftype VALUE 'X'.
                         Selection Screen                                *
    SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-001.
    PARAMETERS: p_fname1 TYPE localfile .
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME TITLE text-002.
    PARAMETERS: p_rloc1 AS CHECKBOX  DEFAULT 'X'.
    SELECTION-SCREEN BEGIN OF BLOCK c WITH FRAME TITLE text-005.
    PARAMETERS p_group(12) OBLIGATORY DEFAULT 'ZBOM'.
    SELECTION-SCREEN END OF BLOCK c.
    SELECTION-SCREEN END OF BLOCK b.
    SELECTION-SCREEN END OF BLOCK a.
    **WRITE the report header
    TOP-OF-PAGE.
      INCLUDE zheading.
                         Start of selection                              *
    START-OF-SELECTION.
    Load Input file
      PERFORM f_load_input_file.
    Create BDC records.
      PERFORM create_bdc_records .
    *&      Form  Create_BDC_records
          text:* perform the BDC for the records in the internal table
    -->  p1        text
    <--  p2        text
    FORM create_bdc_records .
      DATA: v_stlnr LIKE mast-stlnr.
      DATA: v_postp(1) VALUE 'D'.
      IF NOT i_bom[] IS INITIAL.
    Open BDC session
        PERFORM open_bdc_session.
        SORT i_bom BY matnr werks posnr.
        SELECT  SINGLE stlnr  INTO v_stlnr
        FROM mast
        WHERE    matnr = i_bom-matnr
         AND     werks = i_bom-werks.
        SELECT doknr dokar posnr stlnr
                    INTO TABLE i_stpo
                    FROM stpo
                    FOR ALL ENTRIES IN i_bom
                    WHERE postp = v_postp
                    AND   posnr = i_bom-posnr
                    AND   stlnr = v_stlnr.
        SORT i_stpo BY posnr stlnr.
        LOOP AT i_bom.
          g_my_rec_in = i_bom.
          READ TABLE i_stpo WITH KEY posnr = i_bom-posnr
                                     stlnr = v_stlnr
                                     BINARY SEARCH.
          AT NEW matnr.
            CLEAR i_bdc_table[].
            PERFORM insert_screen_header.
          ENDAT.
    Setting up counter for 20 line items
          IF g_counter = 20.
            g_counter = 1.
          ENDIF.
          PERFORM bdc_field  USING 'BDC_OKCODE'
                                        '/00'.
    *next screen
          PERFORM bdc_dynpro USING 'SAPLCSDI' '0140'.
          PERFORM bdc_field  USING 'BDC_CURSOR' 'RC29P-FMENG(01)'.
          PERFORM bdc_field  USING 'BDC_OKCODE' '/00'.
          CONCATENATE 'RC29P-POSNR('  g_counter  ')' INTO g_field_name.
          PERFORM bdc_field USING g_field_name i_bom-posnr.
          CONCATENATE 'RC29P-IDNRK('  g_counter  ')' INTO g_field_name.
          PERFORM bdc_field USING g_field_name i_bom-idnrk.
          CONCATENATE 'RC29P-MENGE('  g_counter  ')' INTO g_field_name.
          PERFORM bdc_field USING g_field_name i_bom-menge.
          CONCATENATE 'RC29P-MEINS('  g_counter  ')' INTO g_field_name.
          PERFORM bdc_field USING g_field_name i_bom-meins.
          CONCATENATE 'RC29P-POSTP('  g_counter  ')' INTO g_field_name.
          PERFORM bdc_field USING g_field_name i_bom-postp.
          CONCATENATE 'RC29P-FMENG('  g_counter  ')' INTO g_field_name.
          PERFORM bdc_field USING g_field_name i_bom-fmeng.
    *next screen
          PERFORM bdc_dynpro USING 'SAPLCSDI' '0130'.
          PERFORM bdc_field  USING 'BDC_OKCODE' '/00'.
    Check the Item category to direct the screen flow accordingly.
          CASE i_bom-postp.
            WHEN 'B'.
              PERFORM item_text_insert.
            WHEN 'Z'.
              PERFORM item_text_insert.
            WHEN 'T'.
              PERFORM item_text_insert.
            WHEN 'N'.
              PERFORM bdc_field   USING 'BDC_CURSOR' 'RC29P-AUSCH'.
              PERFORM bdc_field   USING 'RC29P-AUSCH' i_bom-ausch.
    next screen
              PERFORM item_text_insert.
    *next screen
              PERFORM bdc_dynpro  USING 'SAPLCSDI' '0133'.
              PERFORM bdc_field   USING 'BDC_OKCODE' '/00'.
              PERFORM bdc_field   USING 'RC29P-EKORG' ' '.
            WHEN 'D'.
              PERFORM bdc_field   USING 'RC29P-DOKNR' i_stpo-doknr.
              PERFORM bdc_field   USING 'RC29P-DOKAR' i_stpo-dokar.
    next screen
              PERFORM item_text_insert.
    When POSTP = X, L.
            WHEN OTHERS.
              PERFORM bdc_field   USING 'BDC_CURSOR' 'RC29P-AUSCH'.
              PERFORM bdc_field   USING 'RC29P-AUSCH' i_bom-ausch.
    next screen
              PERFORM item_text_insert.
          ENDCASE.
          g_counter = g_counter + 1.
    next screen
          PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
          PERFORM bdc_field       USING 'BDC_CURSOR' 'RC29P-POSNR(01)'.
          PERFORM bdc_field       USING 'BDC_OKCODE' '=FCBU'.
          AT END OF matnr.
            PERFORM insert_bdc_new.
          ENDAT.
        ENDLOOP.
        CLEAR i_bom[].
        PERFORM close_bdc_session.
    Release the BDC sessions created
        PERFORM release_bdc.
      ENDIF.
    ENDFORM.                    " open_group
    *&      Form  bdc_dynpro_start
          Initialize the screen
         -->P_G_PROGRAM_1
         -->P_G_SCREEN
    FORM bdc_dynpro USING    p_g_program_1
                                    p_g_screen.
      CLEAR i_bdc_table.
      i_bdc_table-program  = p_g_program_1.
      i_bdc_table-dynpro   = p_g_screen.
      i_bdc_table-dynbegin = 'X'.
      APPEND i_bdc_table.
    ENDFORM.                    " bdc_dynpro_start
    *&      Form  bdc_field
           Insert field                                                  *
    FORM bdc_field USING f_name f_value.
      CLEAR i_bdc_table.
      i_bdc_table-fnam = f_name.
      i_bdc_table-fval = f_value.
      APPEND i_bdc_table.
    ENDFORM.                    "bdc_insert_field
    *&      Form  open_bdc_session
         Open the BDC session
    FORM open_bdc_session .
    Open BDC session and creat and update condition records
      CALL FUNCTION 'BDC_OPEN_GROUP'
        EXPORTING
          client                    = sy-mandt
          DEST                      = FILLER8
          group                     = p_group
          HOLDDATE                  = FILLER8
          keep                      = 'X'
          user                      = sy-uname
          RECORD                    = FILLER1
          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.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " create_bdc_session
    *&      Form  insert_screen_header
          Insert the Header data into the screens
    FORM insert_screen_header .
      g_counter = 1.
      PERFORM bdc_dynpro USING 'SAPLCSDI' '0100'.
      PERFORM bdc_field  USING 'BDC_CURSOR' 'RC29N-STLAL'.
      PERFORM bdc_field  USING 'BDC_OKCODE' '/00'.
      PERFORM bdc_field  USING 'RC29N-MATNR' g_my_rec_in-matnr.
      PERFORM bdc_field  USING 'RC29N-WERKS' g_my_rec_in-werks.
      PERFORM bdc_field  USING 'RC29N-STLAN' g_my_rec_in-stlan.
      PERFORM bdc_field  USING 'RC29N-STLAL' g_my_rec_in-stlal.
      PERFORM bdc_field  USING 'RC29N-DATUV' g_my_rec_in-datuv.
    next screen
      PERFORM bdc_dynpro USING 'SAPLCSDI' '0110'.
      PERFORM bdc_field  USING 'BDC_CURSOR' 'RC29K-BMENG'.
      PERFORM bdc_field  USING 'BDC_OKCODE' '/00'.
      PERFORM bdc_field  USING 'RC29K-STKTX' g_my_rec_in-stktx.
      PERFORM bdc_field  USING 'RC29K-BMENG' g_my_rec_in-bmeng.
    *next screen
      PERFORM bdc_dynpro USING 'SAPLCSDI' '0111'.
      PERFORM bdc_field  USING 'BDC_CURSOR' 'RC29K-LABOR'.
    ENDFORM.                    " insert_screen_header
    *&      Form  insert_bdc
         Insert the BDC session
    FORM insert_bdc_new .
      CALL FUNCTION 'BDC_INSERT'
         EXPORTING
           tcode                  = 'CS01'
          POST_LOCAL             = NOVBLOCAL
          PRINTING               = NOPRINT
          SIMUBATCH              = ' '
          CTUPARAMS              = ' '
         TABLES
           dynprotab              = i_bdc_table
      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.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CLEAR i_bdc_table[].
    ENDFORM.                    " insert_bdc
    *&      Form  close_bdc_session
          Close the BDC session
    FORM close_bdc_session .
      CALL FUNCTION 'BDC_CLOSE_GROUP'
           EXCEPTIONS
                not_open    = 1
                queue_error = 2
                OTHERS      = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " close_bdc_session
    *&      Form  f_load_input_file
         Load the file into the Internal table
    FORM f_load_input_file.
      IF p_rloc1 = zc_yes.
        CALL FUNCTION 'WS_UPLOAD'
             EXPORTING
                  filename                = p_fname1
                  filetype                = 'DAT'
             TABLES
                  data_tab                = i_bom
             EXCEPTIONS
                  conversion_error        = 1
                  file_open_error         = 2
                  file_read_error         = 3
                  invalid_type            = 4
                  no_batch                = 5
                  unknown_error           = 6
                  invalid_table_width     = 7
                  gui_refuse_filetransfer = 8
                  customer_error          = 9
                  OTHERS                  = 10.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          STOP.
        ENDIF.
      ENDIF.
    ENDFORM.                    " f_load_input_file
    *&      Form  release_bdc
         Release BDC session
    FORM release_bdc.
      SUBMIT rsbdcsub WITH mappe EQ p_group
                      WITH von EQ sy-datum
                      WITH bis EQ sy-datum
                      WITH fehler EQ '.'
                      EXPORTING LIST TO MEMORY
                      AND RETURN.
    ENDFORM.                    " release_bdc
    *&      Form  item_text_insert
          Repetitive code in the screen flow
    FORM item_text_insert.
      PERFORM bdc_dynpro USING 'SAPLCSDI' '0131'.
      PERFORM bdc_field  USING 'BDC_OKCODE' '/00'.
      PERFORM bdc_field  USING 'BDC_CURSOR' 'RC29P-POTX1'.
      PERFORM bdc_field  USING 'RC29P-POTX1' i_bom-potx1.
    ENDFORM.                    " item_text_insert

  • Please show me some examples for using the carray type fields in FML buffer

    How to use Fget and Fchg to access and modify the carray type fields in FML buffer?
    please show me some examples?
    Thanks!

    How to use Fget and Fchg to access and modify the carray type fields in FML buffer?
    please show me some examples?
    Thanks!

  • Please give me some material about Oracle forms..!

    HI All
    This is Narendra ,I did Oracle Certification,now i want to learn Oracle forms also.
    Please give me some material if you have it,which test book is good for starting and what all to learn.Please send me if you have any PDF's
    Best Regards
    Narendra Yarapathineni

    Hi You can go through this url : http://www.oracle.com/pls/db102/portal.portal_db?selected=5
    And also
    http://www.oracle.com/technology/products/forms/htdocs/d2q60.htm
    Message was edited by:
    user539670

  • PLEASE GIVE ME AN EXAMPLE OF A "USER NAME"

    I cannot understand why the user name I tried to register was not accepted. Please give me an example of a "User name"
    == This happened ==
    Every time Firefox opened

    Here I am: Wikiwide, registered today.
    And there is also: TXGuy, who has 3043 posts.
    And: zzxc, 495 posts.
    And: the-edmeister, 27519 posts.
    And: cor-el, 73190 posts.
    So:
    letters, both small and large, are accepted;
    no spaces, no underscores;
    one - can be used;
    username can certainly be from 4 to 13 characters long, maybe longer.

Maybe you are looking for