我想将记录添加到内部表中 . 当我试图添加时,t显示错误
The field "ITAB_EMPLOYEE" is unknown, but there is a field with the similar name "ITAB_EMPLOYEE_I". .
REPORT zitab_siddhi.
TYPES: BEGIN OF EMPLOYEE,
EMPID TYPE C,
EMPNAME TYPE string,
EMPADDRESS TYPE c,
EMPEMAIL TYPE c,
EMPDEPT TYPE c,
EMPROLE TYPE string,
EMPCONT TYPE C,
END OF employee.
TYPES ITAB_EMPLOYEE TYPE STANDARD TABLE OF EMPLOYEE.
DATA: ITAB_EMPLOYEE_I TYPE EMPLOYEE.
ITAB_EMPLOYEE_I-EMPID = '123'.
ITAB_EMPLOYEE_I-EMPNAME = 'JOHN DOE'.
ITAB_EMPLOYEE_I-EMPADDRESS = 'BANGALORE'.
ITAB_EMPLOYEE_I-EMPEMAIL = 'JOHN@BANGALORE.COM'.
ITAB_EMPLOYEE_I-EMPDEPT = 'SALES'.
ITAB_EMPLOYEE_I-EMPROLE = 'MANAGER'.
ITAB_EMPLOYEE_I-EMPCONT = '1234567890'.
APPEND ITAB_EMPLOYEE_I TO ITAB_EMPLOYEE.