ABAP开发中 TYPE TABLE OF TYPES:BEGIN OF t_address,no(5) TYPE n,street(30) TYPE c,END OF t_address.DATA itab_add TYPE TABLE OF t_address.
问题描述:
ABAP开发中 TYPE TABLE OF
TYPES:BEGIN OF t_address,
no(5) TYPE n,
street(30) TYPE c,
END OF t_address.
DATA itab_add TYPE TABLE OF t_address.
答
TYPE TABLE OF = TYEP STANDARD TABLE OF
意思是定义一个内表itab_add,内表的结构是跟类型t_address是一致的.也就是说:将来内表itab_add的每条记录都有no和street这两个字段.