判断当前一个物料被其他人锁定

  • 方法一:

   t-code:sm12

  • 方法二:

  call function 'ENQUEUE_EMMARCE'

   exporting
   matnr = itab-matnr
   werks = itab-werks
   _wait = ' '
   exceptions
   foreign_lock = 2
   system_failure = 3.

 

posted @ 2013-02-03 17:28  hanmos  阅读(406)  评论(0编辑  收藏  举报