Skip to Content
0
Former Member
Dec 11, 2008 at 08:12 PM

Lock problem

31 Views

I have two locks in SM12 that I want to unlock

MATNR_LOCK

MATNR_LOCK_INT

MODE is E for both

I am trying to unlock as follows but the locks do not get removed?

CALL FUNCTION 'DEQUEUE_E_MATNR_LOCK'

EXPORTING

MODE_MATNR_LOCK = 'E'

MANDT = SY-MANDT

MATNR_EXT = wa_matnr-material_external

MATNR_VERS = wa_matnr-MATERIAL_VERSION

X_MATNR_EXT = ' '

X_MATNR_VERS = ' '

_SCOPE = '3'

_SYNCHRON = 'X'

_COLLECT = ' '.

CALL FUNCTION 'DEQUEUE_E_MATNR_LOCK_INT'

EXPORTING

MODE_MATNR_LOCK_INT = 'E'

MANDT = SY-MANDT

MATNR_INT = wa_matnr-material

X_MATNR_INT = ' '

_SCOPE = '3'

_SYNCHRON = 'X'

_COLLECT = ' '