|
How many ways can we create
internal table and process it?
We can create internal table in 3 ways. 1) Creation of internal table with a new structure. Example: *TO CREATE ITAB WITH NEW STRUCTURE.****** DATA : BEGIN OF ITAB OCCURS 10,
Begin of with OCCURS creates table with HEADERLINE. To create TABLE OCCURS SIZE is must in this SYNTAX. 2) Creation of internal table referring to structure. *****TO CRAETE STRUCTURE**** TYPES : BEGIN OF STRUCT1,
********CREATE ITAB REFERING TO ABOVE STURUCTURE********* DATA ITAB TYPE STRUCT1 OCCURS 10. ***********HEADER LINE NOT CREATED.*******
DATA WA TYPE STRUCT1. 3) Creation of internal table referring to another table. DATA ITAB TYPE TABLE OF MARA WITH HEADERLINE. |
|
Read Also
ABAP Books List
Smart Forms
ABAP Menu:
Return to Index:-
(c) www.gotothings.com All material on this site is Copyright.
|