Skip to Content
0
Former Member
Jul 12, 2007 at 07:08 AM

Internal table.

14 Views

Hi,

Iam not able to create an internal table.

Plz correct this.

TYPES:

BEGIN OF TY_EMP,

EMPID(4) TYPE N,

ENAME(20) TYPE C,

SALARY TYPE I,

END OF TY_EMP.

DATA:

FS_EMP TYPE TY_EMP,

IT_EMP TYPE TABLE OF TY_EMP initial size 0.

*TABLE TYPE:

TYPES:

IT_EMP TYPE TABLE OF TY_EMP OCCURS 0.

FS_EMP-EMPID = 1000.

FS_EMP-ENAME = 'ANIL'.

FS_EMP-SALARY = 10000.

APPEND FS_EMP TO IT_EMP.