130 likes | 146 Views
We are SAP ABAP training and placement institute in Pune. Learn ABAP programming with industry expert and start your SAP career. Attend the first lecture as Free Demo.<br>
E N D
How to create internal table ? ABAP Training www.aspireit.net
Definition : - Internal tables fulfill the function of arrays. It stores data extracted from database tables. • Internal Tables Has 2 Categories. • 1. Internal Body • 2. Header Line • Work area : - To change or output the contents of internal table, we need a work area. www.aspireit.net
www.aspireit.net Steps to create internal tables : -Enter tcode SE38. Give program name and click on create. www.aspireit.net
www.aspireit.net www.aspireit.net
www.aspireit.net Give program description and select executable program in type. www.aspireit.net
www.aspireit.net Click on save and save it in your own package. www.aspireit.net
www.aspireit.net Firstly we have to define structure for the definition of internal table and work are. www.aspireit.net
www.aspireit.net Then we have to define internal table and work area as structure type. www.aspireit.net
www.aspireit.net We have to insert records one by one into work area and then append work area record to internaltable using APPEND or INSERT keyword. www.aspireit.net
www.aspireit.net To extract the records from internal table, we have to use work area to get records one by one using LOOP AT statement. www.aspireit.net
Then save program using Ctrl + S, compile using Ctrl + F2 and activate using Ctrl + F3. www.aspireit.net
www.aspireit.net Execute program using f8. www.aspireit.net
Thank You Learn SAP ABAP at best SAP training institute in Pune Online / Classroom training with Placement Visit www.aspireit.netor call us on 9960935965 / 9960935600