【SAP】ABAP——获取采购订单行项目
程序员文章站
2022-05-18 07:54:55
...
CALL FUNCTION 'ME_READ_HISTORY'
EXPORTING
ebeln = ls_po-ebeln
ebelp = ls_po-ebelp
webre = ls_po-webre
i_bypassing_buffer = 'X'
i_refresh_buffer = 'X'
TABLES
xekbes = it_ekbes.
IF it_ekbes[] IS NOT INITIAL.
LOOP AT it_ekbes WHERE zekkn EQ space.
ADD it_ekbes-wemng TO lv_wemng.
ENDLOOP.
ENDIF.
推荐阅读