Skip to Content
0
Former Member
Jan 01, 2008 at 08:18 AM

EPC Error in Program

28 Views

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?