REPORT zdmo02.
DATA:gv_monat TYPE bkpf-monat,
gs_faglflext TYPE faglflext,
gv_tsl TYPE faglflext-tsl01,
gv_sum TYPE faglflext-tsl01.
SELECT SINGLE * INTO gs_faglflext FROM faglflext
WHERE tsl01 NE 0.
gv_monat = 12.
DO gv_monat TIMES VARYING gv_tsl
FROM gs_faglflext-tsl01 NEXT gs_faglflext-tsl02.
gv_sum = gv_tsl + gv_sum.
ENDDO.
WRITE gv_sum.
阅读(2874) | 评论(0) | 转发(0) |