2007 Dec 10 7:21 AM
WE know that the OCCURS clause in the internal table statement creates the internal <b>table object</b>
In the following statement is this possible:-
TYPES <mt> TYPE| LIKE <linetype> OCCURS<n> .If not what else?
WE know that the OCCURS clause in the internal table statement creates the internal <b>table object</b>
In the following statement is this possible:-
TYPES <mt> TYPE| LIKE <linetype> OCCURS<n> .If not what else?
2007 Dec 10 7:28 AM
see this syntax:
data<f> <type/like><d>[oocurs n][with header line].
data<f> like <type> occurs <n>[with header line].
if its helpful plz reward me.
2007 Dec 10 7:42 AM
Hi abaper learner,
The OCCURs Clause is used for declaring the SIZE of the Internal Table..
For EG:
Data: begin of itab occurs 0, means this will create an internal table with 8KB of memory.
But if you are specifrying
data:begin of itab occurs 10, this will create an internal table with 10 rows(according to the structure of the internal table)...
<b>Kindly Reward points if you found the reply helpful.</b>
Cheers,
CHAITANYA.
<b></b>