DATA:LV_INDEX TYPE SY-INDEX,
LV_STR TYPE TEXT10.
"遍历3组数据 DO 3 TIMES. LV_INDEX = LV_INDEX + 1. CASE LV_INDEX. WHEN 1. LV_STR = '01'. WHEN 2. LV_STR = '02'. WHEN 3. LV_STR = '03'. WHEN OTHERS. EXIT. ENDCASE.
"执行
PERFORM DETAIL_DATA USING LV_STR. ENDDO.