‎2008 Jan 01 8:18 AM
Hi
I have written following coding
tables: t163g.
DATA: BEGIN OF ls_xt163g.
INCLUDE STRUCTURE t163g.
DATA: END OF ls_xt163g.
DATA : LT_XT163g like STANDARD TABLE OF ls_xt163g INITIAL SIZE 0.
SELECT * FROM t163g INTO TABLE lt_xt163g.
loop at lt_xt163g into ls_xt163g.
endloop.
But following error occured in EPC
The current ABAP command is obsolete
Within classes and interfaces, you can only use "TYPE" to refer to ABAP Dictionary
types (not "LIKE" or "STRUCTURE").
Internal Message Code: MESSAGE G/B
How can i solve?
‎2008 Jan 01 8:53 AM
HI,
try like this
DATA : LT_XT163g type STANDARD TABLE OF ls_xt163g INITIAL SIZE 0.
rgds
Umakanth