MM MIRO發票校驗增強 也可以定義MIRO的螢幕增強
阿新 • • 發佈:2019-01-05
LMR1M001 在後勤發票校驗中使用者退出
*&---------------------------------------------------------------------*
*& 包括 ZXM08U16
*&---------------------------------------------------------------------*
DATA: lifnr LIKE e_trbkpv-lifnr,
mytab LIKE e_tdrseg.
IF sy-tcode EQ 'MIRO'.
IF e_trbkpv-xware EQ
ELSE.
CLEAR: mytab,lifnr.
READ TABLE e_tdrseg INTO mytab INDEX 1.
SELECT SINGLE ekko~lifnr INTO lifnr
FROM ekko
WHERE ekko~ebeln = mytab-ebeln.
IF
MESSAGE '注意:供應商和發票方不是同一個公司!' TYPE 'E'.
ENDIF.
ENDIF.
ENDIF.