ABAP:MM01物料主数据增强

SMOD:MGA00001

*&---------------------------------------------------------------------*
*& 包含               ZXMG0U02
*&---------------------------------------------------------------------*
*物料主数据增强触发同步TSFC
*建议做增强开发限制 防止上线起初数据量过大


"检查采购订单增强开关
DATA ls_zexit TYPE zexit.
SELECT SINGLE * INTO CORRESPONDING FIELDS OF ls_zexit FROM zexit WHERE znum = '003'.
IF sy-uname  <> 'IT006' AND
   sy-uname <> 'IT003' AND
   sy-uname <> 'FICO013'.
  IF ls_zexit-zflag = 'X'.

    CALL FUNCTION 'ZSRM_ISCM2S_EXIT'
      EXPORTING
        is_mara  = wmara
        iv_werks = wmarc-werks.

  ENDIF.
ENDIF.

 

posted @ 2023-07-13 08:17  阿胖的阿多  阅读(383)  评论(0编辑  收藏  举报