‎2007 Jul 18 9:26 PM
Hi,
I am usfng this but i am getitn this runtime error ?
how do i correct this ?
FIELD-SYMBOLS: <ITAB> TYPE STANDARD TABLE,
DATA: LT_TAB TYPE TABLE OF mara,
LS_TAB LIKE LINE OF LT_TAB.
LOOP AT <ITAB> INTO LS_TAB.
APPEND LS_TAB TO LT_TAB.
ENDLOOP.
I get a runtime error that, in unciode these two have to be of same structure.
I dont want to assign each and every component of field symbol to my structure
is there a direct way of doing it ?
‎2007 Jul 18 9:53 PM
Hi
Have you tried declaring <ITAB> as
FIELD-SYMBOLS: <ITAB> TYPE ANY TABLE
How are you assigning <ITAB>?
Regards
Shounak
‎2007 Jul 18 10:00 PM
Hello,
Try assigning valid values to <ITAB> beforte looping on it. In case you need to loop over it.
bye
Gabriel
Message was edited by:
Gabriel Fernando Pulido V.