11-21-2007 4:22 PM
Hi,
I have a declaration like this :
data : begin of itab occurs 0,
a type i,
b type i,
end of itab.
data : itab2 type itab.
My doubt is whether itab2 would be a internal table or just a structure.
Regards,
Vishu.
11-21-2007 4:24 PM
sorry typo.........
it refer to a structure not to an internal table
11-21-2007 4:26 PM
Itab2 will not be internal table, it is just a structure.
Regards,
Satish
11-21-2007 4:31 PM
Hi,
ITAB2 is neither structure or internal table.
Please try this.
data: begin of itab occurs 0,
a type i,
b type i,
end of itab.
data: itab2 like itab. "ITAB2 is structure
or
types: begin of itab,
a type i,
b type i,
end of itab.
data: itab2 type table of itab. "ITAB2 is an internal table
data: wa_itab2 like line of itab2. "WA_ITAB2 is a structure
Regards,
Ferry Lianto