differences between the sorted ,standard, hashed tables.
Answers were Sorted based on User's Feedback
Answer / ektagalani
1.Standard Internal Tables: These tables have a linear index
and can be accessed using the index or the key. The response
time is in linear relationship with number of table entries.
These tables are useful when user wants to address
individual table entries using the index.
2.Sorted Internal Tables: These tables also have an index
and the key. But, the response time is in logarithmic
relationship with number of table entries, since it uses
binary search algorithm instead of linear search. These
tables are useful when user wants the table to be sorted
while additional entries have to be added.
3.Hashed Internal Tables: These tables have no index, but
have the key. The response time is constant irrespective of
number of table entries, since it uses a Hash algorithm.
These tables are useful when user wants to access the
entries with key only.
Is This Answer Correct ? | 22 Yes | 4 No |
Answer / madhana mohan
INTERNAL TABLE TYPES, ATTRIBUTES IN VER. 4.X
============================================
A N Y T A B L E
| |
INDEXED NON INDEXED
TABLES TABLES - HASHED TABLES
| |
STANDARD SORTED
TABLES TABLE
SY-TABIX SY-TABIX SY-TABIX INOPERTIVE (NO
INDEXED
OPERATIONS)
L SEARCH B SEARCH HASHED ALGO FOR SEARCH
B SEARCH
IF SORTED
& SPECFIED
ACCESS TIME DEPENDS ACCESS TIME INDEPENDENT OF
ENTRIES
ON NO OF ENTRIES
S,D KEY D KEY DEFINED KEY
N UNIQUE N UNIQUE UNIQUE KEY
UNIQUE
RESORT NO RESORT RESORT
Is This Answer Correct ? | 12 Yes | 3 No |
Can we use Session method & Call transaction both in one BDC if yes please give me example and scenario where we use this ?
There is a file in application server. How can you upload it and separate it as per different fields?
How to write long-text in SAP scripts? EX: I want to write text like below: * Terms and Conditions: 1>.... 2>.... 3>....
3. What is table maintaince generator ? How do u do it ? Use of it ?
What are the different types of laws. What are they?
In material report output,if i click on any material i have to open MM01 with that material in the field how?and from mm01 screen i have to come out what i have to do?
How to create a button in selection screen ?
how to Implement a BADI in which it restricts the access when purchase order is created against contract using definition ME_PURCHDOC_POSTED. please tell me the answers if any one knows. thanks in advance. :ravikiran
How to move the even records of one internal table to other
6) Difference between a table and smartform?
Explain the difference between open_form and close_form?
Suppose, we are creating one table. at that time we are mention table space and size category. Generally size category is from 0 to 6 is available. suppose if we are declare size category as 0(zero). For 0 (zero) the size of rows is from 0(zero) to 19000. I have 25000 records to insert into table. but table size is declared as 0(zero). i.e 19000 records. what about remaining 6000 records. shall i insert in to table or not? if insert how can i do? if not insert what can i do? Please answer me? i faced this one in TCS interview.