test
作者:互联网
types:begin of ty_data,
zny type char6,"年月
ZBLX TYPE CHAR4, "指标类型
ZVALUE TYPE DMBTR , "值
end of ty_data.
data:lt_data type table of ty_data,
ls_data type ty_data,
lt_datab type table of ty_data,
ls_datab type ty_data.
loop at lt_data assign field symbols(<fs_data>).
append ls_data to lt_datab.
move corresponding ls_data to ls_datab.
at new zny.
ls_datab-zblx = '当季'.
collect ls_Datab to lt_datab.
end at.
endloop.
标签:ty,type,datab,lt,ls,test,data 来源: https://www.cnblogs.com/WACBZWY/p/15397538.html