Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

o/p screen

Former Member
0 Likes
407

this is kalyan,

could you tell me the diff between standard , sorted , hashed tables

and give one real time example in usage

1 ACCEPTED SOLUTION
Read only

Clemenss
Active Contributor
0 Likes
385

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

1 REPLY 1
Read only

Clemenss
Active Contributor
0 Likes
386

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