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

tables

Former Member
0 Likes
420

Hi,

What are the performance difference between the internal table declared with and without header line?

Why should internal tables be declared without header line?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
393

Hi,

Main difference is the usuage of the memory allocated for internal table.

Internal table with headerline will allocates the memory as 8k,16k,32k,64k,128k,256k,512k,1024k,2048k.....etc.

Suppose one internal table has the data of capacity 1026k then system allocates 2048k memory to internal table. Half the amount of memory is not useful.

Internal table without headerline memory consumption is less compare to internal table with header line.

In ABAP WAS 6.20 after onwards internal table without headerline is obsolete.

Internal table without headerline requires an explicit workarea

2 REPLIES 2
Read only

Former Member
0 Likes
394

Hi,

Main difference is the usuage of the memory allocated for internal table.

Internal table with headerline will allocates the memory as 8k,16k,32k,64k,128k,256k,512k,1024k,2048k.....etc.

Suppose one internal table has the data of capacity 1026k then system allocates 2048k memory to internal table. Half the amount of memory is not useful.

Internal table without headerline memory consumption is less compare to internal table with header line.

In ABAP WAS 6.20 after onwards internal table without headerline is obsolete.

Internal table without headerline requires an explicit workarea

Read only

Former Member
0 Likes
393

thx u,