Problem with LOCK in Transaction MBRL
I have a problem with locks in T. Code MBRL.
The problem is as follows:
I am creating Reverse Delivery through T.Code MBRL, using Material Doc No. I did recording on this tcode and calling this in loop for creating more than 1 deliveries using Call Transaction.
Inside this T.Code its using a FM "ME_READ_ITEM_GOODS_RECEIPT" which locks the Purchasing Doc and its Item. For the first record its working fine, when next record comes with same Mat Doc No & P O Number, then its displays error message that PO is lock by user(my userid).
Can anybody guide how to unlock the tcode for smooth execution of the program.
I have tried FMs like GN_DELIVERY_CREATE but it requires lot of other data which i dont have in my problem.
Thanks n Regards