itab like STANDARD TABLE OF line with KEY table_line.在下面程序中这
来源:学生作业帮 编辑:大师作文网作业帮 分类:数学作业 时间:2024/11/15 19:16:42
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.
line-sqr = sy-index ** 2.
APPEND line to itab.
ENDDO.
LOOP AT itab INTO line.
write:/ line-num,line-sqr.
ENDLOOP.
CLEAR itab.
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.
我调试了一下,发现如果用Like,后面的line是前面定义的结构体.
如果用type,后面的line则是系统里面的表.
比如写成itab tpye STANDARD TABLE OF line with KEY TABLE_LINE ,则itab是用表line生成的内表.如果用Like,则itab是用上面的结构体line生成的内表.
这个可能是SAP里面规范的写法吧.记着怎么用就行了
如果用type,后面的line则是系统里面的表.
比如写成itab tpye STANDARD TABLE OF line with KEY TABLE_LINE ,则itab是用表line生成的内表.如果用Like,则itab是用上面的结构体line生成的内表.
这个可能是SAP里面规范的写法吧.记着怎么用就行了
itab like STANDARD TABLE OF line with KEY table_line.在下面程序中这
read table itab with table key k1 = f1 read table itab with
like standard table of和type standard table of有什么区别.下面的程序用前面就
请问在下面的c程序中while (q)
Find the equation of a line in standard form given:
在下面这句话中:‘But secondly,the great endeavor of the Metropolitan
在下面这句话中suggestion是什么意思?
with consideration 在下面这句话里是什么意思
在下面程序中STATUS ListInsert(List *L,int i,ElemType e) {struct ST
在下面的mathematica程序中添加什么样的语句输出数据
many people don't agree with this line of thinking句子中with 和o
With the elevation of people's standard of living,cosmetics