Application Development and Automation 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: 
Read only

diff

Former Member
0 Likes
472

difference between data & types

1 ACCEPTED SOLUTION
Read only

ferry_lianto
Active Contributor
0 Likes
455

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
Read only

ferry_lianto
Active Contributor
0 Likes
456

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