Internal Tables In ABAP - What Is The Purpose Of Internal Tables
Today I am going to answer the question of what is the purpose of an internal table.
In the ABAP Beginners course I do go through internal tables and show you how to create them and different types of internal tables we can create, but to answer this question of "What is the purpose of an internal table"
well think of it as a database table, a normal database table. A database table will store records in the we can later access and manipulate. Well internal tables are more or less exactly the same thing, but we create them inside our program and the big benefit of an internal table is it gives us really fast access to the data.
So what we normally do is read data from a database table bringing it into an internal table and process that data there. Ensuring our programs run really fast.
Now that's not the only purpose of an internal table, they also allow us to create internal tables of our own design.
So we can structure them however we like.
So think of it this way, if we have a database table containing 50 fields we might only be interested in five fields of that database table, so we can create an internal table in our program consisting of those five fields.
Read data from the database into that internal table and then for the rest of our program just access that internal table time, to manipulate and may be output the data to the screen.
If you want some further reading about internal tables, take a look at this webpage http://help.sap.com/saphelp_nw04/help...
it is from the SAP Help documentation. Just do a Google search and you will find this page and it tells you about internal tables, introduces you to them and the different types of internal tables you can create.
If you have any more questions please post them in the comments box and I will do my very best to respond.
Websites and Profiles:
SAP Training Courses http://www.saptraininghq.com
SAP Academy Courses http://academy.saptraininghq.com
SAP Training on Twitter: / petermoxon
SAP Training on Google + https://plus.google.com/u/0/+PeteMoxon
STHQ on Linked-In / petermoxon
STHQ on YouTube / pcmoxon
More SAP Resources:
SAP site http://www.sap.com
SAP community netwrok http://scn.sap.com
About SAP http://en.wikipedia.org/wiki/SAP_AG
About ABAP http://en.wikipedia.org/wiki/ABAP
Various YouTube channels on SAP:
SAP InnoJam / channel
SAP on YouTube / @sap
SAP TV on YouTube / @saptv
SAP SCN on YouTube / @sapcommunity
http://www.w3schools.com/sql/sql_prim...
Смотрите видео Internal Tables In ABAP - What Is The Purpose Of Internal Tables онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь PM 07 Февраль 2014, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 15,752 раз и оно понравилось 64 людям.