cancel
Showing results for 
Search instead for 
Did you mean: 

how can i know the default initial size for an internal table

sivapalani10
Explorer
0 Kudos

hi,

how can i know the default initial size for an internal table.all your answers will be appreciated.

Thanks,

siva.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Siva

Just add the length of each field defined in your internal table to get the default initial size.

another way is to go to debugger and do the following.

a. Setting->Memmory display on/off

b. Click on tables

c. Enter Internal table name

You will see the details of the memory usage.

You dont need to worry of the initial size as the internal table is free to grow till the memory allocation gets full.

Do reward points if this helps.

Answers (1)

Answers (1)

Former Member
0 Kudos

hi

The size does not belong to the data type of the internal table and does not affect the type check.you can specify occurs <n> when you declare.Note when this initial size is full the system makes twice as much extra space avialabe <b>up to a limit of 8KB</b>. Further memory areas of <b>12 KB</b> each are allocated. you can leave <n> on system , the first time you fill the table , little memory is used , <b>the sapce used depends on the line width ie 16 <= <n> <=100</b>

thanks

abhai

sivapalani10
Explorer
0 Kudos

hi,

Thanks for your answer,its really an effective answer.thanks a lot.

hope my further queries also have solution frm u.

regards,

siva.