Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the diferent types of internal table available? How
can we know the size of the internal tables?

Answer Posted / kumarm17

Internal Tables are:

STANDARD table : Key access to a standard table uses a
linear search. This means that the time required for a
search is in linear relation to the number of table entries.
You should use index operations to access standard tables.

SORTED table: Defines the table as one that is always saved
correctly sorted. Key access to a sorted table uses a binary
key. If the key is not unique, the system takes the entry
with the lowest index. The runtime required for key access
is logarithmically related to the number of table entries.

HASHED table: Defines the table as one that is managed with
an internal hash procedure You can only access a hashed
table using the generic key operations or other generic
operations ( SORT, LOOP, and so on). Explicit or implicit
index operations (such as LOOP ... FROM oe INSERT itab
within a LOOP) are not allowed.

INDEX table:
A table that can be accessed using an index. Index table is
only used to specify the type of generic parameters in a
FORM or FUNCTION. That means that you can't create a table
of type INDEX. Standard tables and sorted tables are index
tables.

Syntax : DATA itab TYPE table type of line type [WITH
UNIQUE/NON-UNIQUE KEY ] [Iinitial size n] [WITH HEADER LINE]

How do I get the row count of an internal table?
Ans : DESCRIBE TABLE <itab-Name> LINES <variable>
After the call, variable contains the number of rows of the
internal table

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the three components of a work process?

1071


i have cleared my technical round and manager round in cts but they told me u will get a call with in couple of days now i dont know about my status

8955


What is the syntax for call transaction? : abap bdc

1036


What does an exec sql statement do in abap? What is the disadvantage of using it?

1195


What are subroutines? : abap modularization

1053


Hi my dear friends,Please give the answers for the following link http://www.saptechnical.com/InterviewQ/interviewQ.htm

2113


What is a development class? : abap data dictionary

1188


Explain about interactive report?

997


What are the different types of views and their definition?

1064


Can we include customizing include or an append structure with pooled or cluster tables? : abap data dictionary

1284


Difference between BDC vs Direct Loads?

1085


If a table that is to be extended contains a long field, we cannot use append structures why? : abap data dictionary

1116


Explain the difference between cluster tables and pool table?

1064


Exception handling and how does it transfer from called method to calling method?

1462


What do you mean by cluster tables in sap abap? Also explain what do you mean by table cluster? : abap data dictionary

991