Posted Under SAP-ABAP-Interview Questions
SAP Internal Tables Interview Questions Answers
What is the difference between internal table and structure?
There are there types of structure:-
1. Flat structure( elementary fields)
2. Nested structure ( type reference to other structure)
3. deep structure ( type reference to database tables)
Can any one give me brief explanation about internal tables, and work area?
*An internal table is a run time instance. It get created when program starts execution. *It get destroyed when program terminates. It has two different parts: HeaderLine(optional) and Body(Compulsory). *Any value that comes to or goes from interanal table, that travels through headerline.
What is Size of the internal tables?
The size of the internal tables are set using the 'occurs n' clause. Here n refers to a integer number that specifies the size. Usually its given as 'occurs 0' which creates an itab with the memmory space of 8kb.
Explain row type and line type concept?
ine type refers to the structure of an internal table,whereas row type is the actual part that contains the data and it refers to the table body.creating internal table using line type and row type concept is for reusability purpose.Line type and Row type are defined at DDIC LEVEL.
Explain Hashed tables in SAP Internal Tables?
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.
Check all articles under SAP-ABAP-Interview Questions