Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7999

How to unlock material and batch at MIGO

$
0
0

hi all,

 

My requirement is to post another transaction using BAPI_GOODSMVT_CREATE at MIGO in the background.

 

let say after posting movement type 101..i have to post another transaction of same material in same plant and in same Batch Using BADI,

The problem is, material and batch name were currently lock by movement type 101, So BAPI giving Error that Batch BHEL001 of material 1000000000004 is already locked by user01. i.e. from my ID.

 

Is it possible to remove this lock object?

 

These are the lock objects at SM12.

 

E     MCH1     11000000100000000000400000XXXXX     0     1

E     MCH1     11000000100000000000470206XXXXX     0     1

 

I tried

CALL FUNCTION 'DEQUEUE_EMMCH1E'

'DEQUEUE_all'

i don’t want to consider the wait options..

 

My problem is to remove  lock objects in order to transact another movement type


thanks for your responce..


Pankaj


Viewing all articles
Browse latest Browse all 7999

Trending Articles