Hi,
Upon GR i need to carry out GI also. Hence I did configure output type for GR that would trigger a program as part of output determinatioin procedure. Here in this program i'm using bapi call for doing GI. Now, the problem is when i execute it and check in debug mode the bapi call is returning error message "Batch XXXX of material XXXX83 is already locked by <MY UID>".
The lock object corresponding to this as checked in SM12 is EMMCH1E. But when using the dequeue function, i couldnt still see the lock in sm12. is there a way to sort it out?