Question:
What is the size of the internal tables?
Answer:
The size of the internal tables are set using the 'occurs n' clause. Here n refers to a integer number that specifies the size. Usually its given as 'occurs 0' which creates an itab with the memmory space of 8kb. Source: CoolInterview.com
The size of the internal table is the product of width and number of lines of the internal table. We can set the estimated number of lines of internal table in the occurs parameter. When first table entry is filled the runtime system allocates suitable memory to hold the whole table.<br>if the memory allocated is not sufficient then again a block of memory is allocated(in case of number of lines more than estimated lines).<br>Therefore the occurs parameter does not affect the actual size of the internal table but the performance of the internal table operations. So if you are not able to estimae the lines, then give occurs parameter to zero. Then system automatically do it for you. Source: CoolInterview.com
Answered by: kamala | Date:
| Contact kamala
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|