变态的10号,总爱玩些诡异的写法,哈哈:
data: it_vbfa LIKE vbfa-vbeln OCCURS 0 WITH HEADER LINE.
IF it_vbfa[] IS NOT INITIAL.
SELECT ebeln
banfn
loekz
ebelp
FROM ekpo
INTO TABLE it_ekpo
FOR ALL ENTRIES IN it_vbfa[]
WHERE ebeln = it_vbfa-table_LINE.
ENDIF.
DATA: IT_VBELN LIKE VBAP-VBELN OCCURS 0 WITH HEADER LINE.
.......
LOOP AT IT_EKPO.
READ TABLE IT_VBELN WITH KEY TABLE_LINE = IT_EKPO-VBELN.
ENDLOOP.
阅读(4814) | 评论(0) | 转发(0) |