Skip to Content
Former Member
May 28, 2010 at 02:00 PM

Purchase order locking issue


Hi ,

We are processing IDoc. The IDoc FM does GR of STO by using MIGO transaction via BDC , then FM also does GR of STO Delivery number by using VL02N transaction . MIGO transaction is successful but while doing GR of STO Delivery number via VL02N we are getting an error like ' Purchase order XXXXXXXXXX is currently locked by user XXXXXX .

This happens if we process the IDoc in background . If I process the IDoc in foreground by putting breakpoint at MIGO and VL02N , it executes successfully .

I feel it is a locking issue . I tried using FM DEQUEUE_ALL , MM_DEQUEUE_DOCUMENT after MIGO but it did not work out .

Please suggest for any pointers on this locking issue .