2007 Sep 08 5:08 PM
this is kalyan,
could you tell me the diff between standard , sorted , hashed tables
and give one real time example in usage
2007 Sep 08 6:49 PM
Hi kalyan,
I'm convinced you already studies the help available when searching for "standard , sorted , hashed tables"-
But I do not understand the subject "o/p screen".
standard tables are internal tables as they can be used since long time in ABAP, it is a kind of dynamic array which can be accessed line by line using a loop or directly using READ ...index or searched for matching entry with READ ...WITH KEY.
SORTED tables can be defined I think from release 4.0 upwards. This allows you to specify sorting keys for the table. You can not .APPEND new entries at the end of the table, only INSERT at the position defined by the values defined as KEY.
HASHED tables are similar to sorted tables, they allow only a unique key and the access is faster than with sorted tables especially with growing table size.
Excellent explanation can be found at WIKIPEDIA.
ABAP online help is also very good.
Regards,
Clemens
this is kalyan,
could you tell me the diff between standard , sorted , hashed tables
and give one real time example in usage
2007 Sep 08 6:49 PM
Hi kalyan,
I'm convinced you already studies the help available when searching for "standard , sorted , hashed tables"-
But I do not understand the subject "o/p screen".
standard tables are internal tables as they can be used since long time in ABAP, it is a kind of dynamic array which can be accessed line by line using a loop or directly using READ ...index or searched for matching entry with READ ...WITH KEY.
SORTED tables can be defined I think from release 4.0 upwards. This allows you to specify sorting keys for the table. You can not .APPEND new entries at the end of the table, only INSERT at the position defined by the values defined as KEY.
HASHED tables are similar to sorted tables, they allow only a unique key and the access is faster than with sorted tables especially with growing table size.
Excellent explanation can be found at WIKIPEDIA.
ABAP online help is also very good.
Regards,
Clemens