Skip to Content
Jan 21, 2009 at 05:07 AM

Which is faster, sorted table or hashed table...


Moved to correct forum by moderator. Though I suspect this has been answered quite a few times...

Hello Experts,

We are having a confusion here as to what table type to use. The other abaper said that it is better to use

sorted table then read with table key or standard table, sort it then read using binary search. The other said

it is better to use hashed table since the tables that we are getting from are either master tables or we can use the exact

key for example in MSEG where we know the values of MBLNR, MJHAR and ZEILE.

Please enlighten me on this.

Thank you guys and take care!

Edited by: Matt on Jan 21, 2009 5:36 PM