常用来做会计区间累积
DO 6 TIMES VARYING V_DARXX FROM P0041-DAR01 NEXT P0041-DAR02
"工作时间
VARYING V_DATXX FROM P0041-DAT01 NEXT P0041-DAT02.
IF V_DARXX = '03'.
ITAB-DAT03 = V_DATXX."年休假起算日
ENDIF.
ENDDO.
常用来做会计区间累积
DO 6 TIMES VARYING V_DARXX FROM P0041-DAR01 NEXT P0041-DAR02
"工作时间
VARYING V_DATXX FROM P0041-DAT01 NEXT P0041-DAT02.
IF V_DARXX = '03'.
ITAB-DAT03 = V_DATXX."年休假起算日
ENDIF.
ENDDO.
转载于:https://www.cnblogs.com/eric0701/p/5195425.html