07-21-2007 6:30 PM
07-21-2007 7:34 PM
<b>Hashed tables</b>
This is the most appropriate type for any table where the main operation is key access. You cannot access a hashed table using its index. The response time for key access remains constant, regardless of the number of table entries. Like database tables, hashed tables always have a unique key. Hashed tables are useful if you want to construct and use an internal table which resembles a database table or for processing large amounts of data.
Syntax of hashed table is :
DATA: ITAB LIKE HASHED TABLE OF MARA INITIAL SIZE 0 WITH HEADER LINE.
Reward if useful
Regards
Prax
07-21-2007 7:44 PM
DATA: <internal table name> LIKE HASHED TABLE OF <work area/table name> INITIAL SIZE 0 WITH HEADER LINE.
Rgds,
Sai