‎2014 Aug 16 7:13 AM
Hi Experts,
i am little confused abut non-unique key?
how to create and call with internal table?
please brief me with example.
Thanks
vikash
‎2014 Aug 16 8:09 AM
Hi Vikash,
We can use NON-Unique key tag on Standard and sorted internal tables... Name shows that key should not be unique..
Regards,
Venkat
‎2014 Aug 16 10:56 AM
hi,
When we use key internal table it faster the searching process at the read process.So the key may be unique or non unique.You can specify whether the key should be UNIQUE or NON-UNIQUE. Internal tables with a unique key cannot contain duplicate entries. The uniqueness depends on the table access method.
The user-defined key can contain any columns of the internal table that are not references or themselves internal tables. Internal tables with a user-defined key are called key tables. When you define the key, the sequence of the key fields is significant. You should remember this, for example, if you intend to sort the table according to the key.
Internal tables (SAP Library - ABAP Programming (BC-ABA))
ABAP Internal Table Secondary Key Performance comparison | ABAP Help Blog