I need the function module to release the locked IDOC,
after the Idoc close.
Actually i am using the below function module for update the segment value through report program.
4) IDOC_STATUS_WRITE_TO_DATABASE. To update Idoc status.
After using this fn. mod., i can't able to release the IDOC lock.
I was used the fn. mod. EDI_DOCUMENT_DEQUEUE_LATER to release the lock but it is getting released.
I need help to solve this problem.