Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Lock problem

Former Member
0 Likes
411

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 = ' '

1 REPLY 1
Read only

former_member156446
Active Contributor