SAP 物料主数据MM01 MM02 出口程序

 

出口函数:EXIT_SAPLMGMU_001

出口程序:ZXMG0U02

 

DATA V_FLAG_BRGEW TYPE C  .
DATA V_FLAG_NTGEW TYPE C  .
DATA WA_CDPOS LIKE CDPOS .
DATA V_OBJECTID LIKE CDPOS-OBJECTID .
DATA WA_MARA LIKE MARA .
DATA WA_MEINH LIKE SMEINH .
DATA WA_MARM LIKE MARM .

IF WMBEW-BWKEY+0(1) = '1'.
  IF WMBEW-BKLAS+0(2) = '39' OR WMBEW-BKLAS = '1100' OR WMBEW-BKLAS = '3050'.
    IF WMBEW-MLAST = '2' AND WMBEW-VPRSV = 'V'.
    ENDIF.
  ENDIF.

ENDIF.

 

你可能感兴趣的:(SAP,ABAP)