This action might not be possible to undo. Are you sure you want to continue?
We Never Compromise in Quality. Would You ? _______________________________________________________________________ _ 1.What are the Types of internal tables ? 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. 2.what is the basic difference between internal tables and database tables? how can we differentiate by looking at the tables? And how Handling of internal tables ? The basic difference is database tables are stored in db server and the internal tables are virtual tables these r created run time only. 3.What is the Size of the internal tables ? Internal table have 2 gigabytes of memeory space.n the initialize size is of 8 kb can be extend further. 4.Difference between Field groups and internal tables ? Field group holds single value and internal tables holds multiple values 5.How to eliminate duplicate entries in internal tables ? DELETE ADJACENT DUPLICATES 6.WHAT IS COLLECT STATEMENT.? Collect statement is used to summerize the records. If an entry with the same key already exists, the COLLECT statement does not append a new line, but adds the contents of the numeric fields in the work area to the contents of the numeric fields in the existing entry. which
Page 1 of 3
Prepared By : Ganapati Adimulam eMAX Technologies,AmeerPet,Hyderabad Ph : +91 40 65976727.
INSERT LINES OF ITAB1 FROM <INDEX1> TO <INDEX2> INTO ITAB2 INDEX <n>. WRITE ITAB. . Write itab. Note : Generally We Use KNA1 in Module Pool Programming to refer the Fields from Data Dictionary.Hyderabad Ph : +91 40 65976727. ENDIF. Page 2 of 3 Prepared By : Ganapati Adimulam eMAX Technologies. IF SY-TABIX = 3. 9. Would You ? _______________________________________________________________________ _ 7. OR APPEND LINES OF ITAB1 TO ITAB2 FROM <INDEX1> TO <INDEX2>. (Recommended) OR LOOP AT ITAB. Defines a Work Area(Field String) with the Same NAME(KNA1) with all the fields from KNA1 in the Same Order. How to Transfer Data From ITAB1 to ITAB2 whose structure is same. What is TABLES Keyword ? TABLES KNA1. Note : If you want INSERT the specific records from ITAB1 into Specific Location in ITAB2. ENDLOOP. How to Print the 3rd record from the ITAB. ? LOOP AT ITAB FROM <N1> TO <N2>. ITAB2 = ITAB1. Ignore the INDEX Range. 11. ENDLOOP. READ TABLE ITAB INDEX 3. Can We Sort the Sorted Internal Tables ? NO. 8.INTERNAL TABLES We Never Compromise in Quality. NOTE : To Transfer all the records . 10.AmeerPet. How to Print records from 5(N1) to 10(N2) from ITAB.
Page 3 of 3 Prepared By : Ganapati Adimulam eMAX Technologies. Would You ? _______________________________________________________________________ _ 12. .AmeerPet.INTERNAL TABLES We Never Compromise in Quality.Hyderabad Ph : +91 40 65976727.