Skip to Content
Former Member
Nov 14, 2005 at 01:01 PM

What will be the Structure of itab created with "LIKE TABLE OF sy-ucomm"


Data fcode like table of sy-ucomm

The table thus created will have one column but it will not have any structure.

How can I write a code with this effect:

LOOP AT fcode.
  WRITE:/ fcode-????.

This question is just out of my curiosity I undertsand that by altering the declaration like

Data begin of fcode occurs 0,
data ucomm like sy-ucomm,
end of fcode.

I will be able to name it. But out of the academic interest I want to know that without altering the decalation part can we do it