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. o 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 INTERNAL TABLE 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.net or call us on 9960935965 / 9960935600