How to declare an internal table in three different ways

DECLARATION OF INTERNAL TABLE OF TYPE (DATABASE TABLE) DATA It_internal_table TYPE STANDARD TABLE OF ztt_db_table1. DATA Is_structure LIKE LINE OF It_internal_table. DO’s DATA Is_structure TYPE ztt_db_table1 DON’TS One common mistake observed from beginners: please declare the internal type explicitly like below ‘TYPE STANDARD TABLE OF’. Otherwise it will consider as structure. DATA ls_struct_instead_of_internal_table TYPE ztt_db_table1. …

How to declare an internal table in three different ways Read More »