Skip to main content

What are the types of internal tables in SAP ABAP

Three types of internal tables are in SAP ABAP.

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.

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 users 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.

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.

Comments

Popular posts from this blog

The importance of forests

Man has been cutting down forests indiscriminately and today the trend is not only to save natural forests but to create artificial ones. Deserts are made to bloom! The Imperial Valley of the Sonoran desert in southern California has been converted into a green patch which yields crops all the year round. Forests are not to be considered merely as a direct source of wealth; they are to be considered in relation to the national economy and geography. Forests serve many purposes. They hold together the soil and prevent or minimize soil erosion. The oxygen in the air is replenished by forests and plankton in the sea. Trees and plants, during photosynthesis, absorb carbon dioxide and release oxygen. Scientists fear that if forests are destroyed indiscriminately, there will be an increase in carbon dioxide and eventually the sun's rays will become hotter, the polar caps will melt and the ocean level rise and submerge much of our land. Vegetable mould that forests supply increases the fe...

The importance of water

Introduction  Life, both animal and plant, is impossible without water. Without water men die of dehydration About 70% of the human body is water. Of the total surface of the earth, 75 % is water and just below the surface of the land in most areas there is a saturated layer known as the water table. Animals and plants have large percentages of water in their make-up and some animals regulate their movements according to the water sources. Water: If there is no water there can be no life. The moon is a sterile desert because there is no water in it. It is to be remembered that it was water that determined the location of human settlements and without the Nile the Egyptian Civilization would not have developed The Nile provided the Egyptians facilities for irrigation and transport. As Herodotus said, Egypt is the "Gift of the Nile". Importance of water: The urban man rarely thinks of the importance of water. When he needs water, all he has to do is to turn on the tap. The only...