SELECT ryear ,racct , rbukrs , tslvt ,
tsl01 ,tsl02 , tsl03 , tsl04 ,...tsl05 ,tsl06 , tsl07 , tsl08 ,
tsl09 ,tsl10 , tsl11 , tsl12 ,
tsl13...,tsl14 , tsl15 , tsl16
FROM faglflext
WHERE rbukrs = '1000'
AND ryear = '2020'
AND..."循环累加计算总金额
DATA(lv_sum) = REDUCE wertv12( INIT x = 0 FOR wa2 IN lt_fag NEXT x = x + wa2-tslvt + wa2-tsl01...+ wa2-tsl02 ).