Internal Table Declaration
DATA :< ITAB> TYPE TABLE OF < DBTABLE> .
Example :
DATA : IT_ITAB TYPE TABLE OF MARA . Example Explanation : Here IT_ITAB is the name of Internal table and MARA is the Database table name, after declaring, IT_ITAB will be the instance of table MARA.
An internal Table declaration with user defined types
DATA :< ITAB> TYPE TABLE OF < userdefinedtype>.
Example is : TYPES : BEGIN OF TY_TABLE,
MATNR TYPE MARA-MATNR,
MTART TYPE MARA-MTART,
MEINS TYPE MARA-MEINS,
END OF TY_TABLE.< br>
DATA : IT_ITAB TYPE TABLE OF TY_TABLE .
Serkan AKKAVAK
Computer Engineer BSc
Head of SAP & Software Department
Contact : serkurumsal@yandex.com

0 Comments