Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

diff

Former Member
0 Kudos

difference between data & types

1 ACCEPTED SOLUTION

ferry_lianto
Active Contributor
0 Kudos

Hi,

1. TYPES statement defines the structure without allocation of memory, DATA statements allocate the memory at runtime.

2. Create a structure by using types statement and refer it by using the DATA statement.

3. In order to avoid the internal table declaration without header line, we are declaring a structure by types statemnet and declaring an internal table with reference to the structure.

Regards,

Ferry Lianto

2 REPLIES 2

ferry_lianto
Active Contributor
0 Kudos

Hi,

1. TYPES statement defines the structure without allocation of memory, DATA statements allocate the memory at runtime.

2. Create a structure by using types statement and refer it by using the DATA statement.

3. In order to avoid the internal table declaration without header line, we are declaring a structure by types statemnet and declaring an internal table with reference to the structure.

Regards,

Ferry Lianto