like standard table of和type standard table of有什么区别.下面的程序用前面就对,用后面就错.DATA :BEGIN OF line,num TYPE i,sqr TYPE i,END OF line,itab like STANDARD TABLE OF line with KEY TABLE_LINE.DO 5 TIMES.line-num = sy-index.li
来源:学生作业学帮网 编辑:学帮网 时间:2024/06/02 14:51:38
like standard table of和type standard table of有什么区别.下面的程序用前面就对,用后面就错.
DATA :BEGIN OF line,
num TYPE i,
sqr TYPE i,
END OF line,
itab like STANDARD TABLE OF line with KEY TABLE_LINE.
DO 5 TIMES.
line-num = sy-index.
line-sqr = sy-index ** 2.
APPEND line to itab.
ENDDO.
LOOP AT itab INTO line.
write:/ line-num,line-sqr.
ENDLOOP.
CLEAR itab.
TYPE与LIKE区别:
TYPE后面跟随的只能是某种类(型),而LIKE后面可以跟实例对象,参照结构体对象生成内表时只能用LIKE,不能用TYPE,因为结构体对象不是类型,只是一种实例对象,参照结构类型生成内表时可以用LIKE也可以用TYPE.其中通过LIKE定义的内表直接拥有参照结构类型的元素结构,而通过TYPE定义的内表只能间接拥有被参照结构类型的元素结构,结构类型不能作为内表的工作区,只有结构体对象才可以.
like standard table of和type standard table of有什么区别.下面的程序用前面就对,用后面就错.
like standard table of和type standard table of有什么区别.下面的程序用前面就对,用后面就错.DATA :BEGIN OF line,num TYPE i,sqr TYPE i,END OF line,itab like STANDARD TABLE OF line with KEY TABLE_LINE.DO 5 TIMES.line-num = sy-index.li
itab like STANDARD TABLE OF line with KEY table_line.在下面程序中这段话为什么like不能换成type.DATA :BEGIN OF line,num TYPE i,sqr TYPE i,END OF line,itab like STANDARD TABLE OF line with KEY TABLE_LINE.DO 5 TIMES.line-num = sy-index.li
I like table tennis
standard
standard
standard
ABAP内表定义1.DATA: T_XXXX LIKE XXXX OCCURS 0 WITH HEADER LINE.2.TYPES:BEGIN OF TMP,AUFNR LIKE AAAA-AUFNR,END OF TMP.TYPES:T_TMP TYPE STANDARD TABLE OF TMP.DATA: T_YYYY TYPE T_TMP WITH HEADER LINE.我想问一下:两种内表定义方式有何
Many girls like table tennis同义句
according to standard table tennis rules...according to standard table tennis rules if at any time a player uses his non racket bearing hand to touch the playing surface he or she forfeits the point.bearing
table
table
table
table
table
table
Do you like playing table tennis?(同义句转换)Do you( )( )table tennis?
they the color of the table very they like the table,but it is dear for