SAP ABAP
Other, , Prof. Pete Moxon
Updated On 02 Feb, 19
Other, , Prof. Pete Moxon
Updated On 02 Feb, 19
4.1 ( 11 )
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 thats 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 httphelp.sap.comsaphelp_nw04helpdataenfceb35de358411d1829f0000e829fbfeframeset.htm
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 httpwww.saptraininghq.com
SAP Academy Courses httpacademy.saptraininghq.com
SAP Training on Twitter httpstwitter.competermoxon
SAP Training on Google + httpsplus.google.comu0+PeteMoxon
STHQ on Linked-In httpuk.linkedin.cominpetermoxon
STHQ on YouTube httpwww.youtube.comuserpcmoxon
More SAP Resources
SAP site httpwww.sap.com
SAP community netwrok httpscn.sap.com
About SAP httpen.wikipedia.orgwikiSAP_AG
About ABAP httpen.wikipedia.orgwikiABAP
Various YouTube channels on SAP
SAP InnoJam httpswww.youtube.comchannelUCbkywtePppACE646Kw8wSUg
SAP on YouTube httpswww.youtube.comchannelUCVnIv2xF2wyMMCSKv1qF3pA
SAP TV on YouTube httpswww.youtube.comchannelUCy4kQ_03bhe5PQZVJvCkTKA
SAP SCN on YouTube httpswww.youtube.comchannelUC3We5qK8jkxH8yBc0SugKEQ
httpwww.w3schools.comsqlsql_primarykey.asp
Sam
Sep 12, 2018
Excellent course helped me understand topic that i couldn't while attendinfg my college.
Dembe
March 29, 2019
Great course. Thank you very much.