Skip to Content
3
Former Member
Jul 11, 2007 at 07:36 AM

regarding select stm

16 Views

hi experts,

when im executing this code it is giving me runtime error but the same with standard table is working.why...

please explain me.

DATA: WA TYPE SPFLI,

ITAB TYPE sorted TABLE OF SPFLI with unique key carrid .

SELECT connid FROM SPFLI INTO CORRESPONDING FIELDS OF TABLE ITAB.

LOOP AT ITAB INTO WA.

WRITE: / WA-CARRID,wa-connid.

ENDLOOP.

SKIP 1.