cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

getting error "Document is locked by other user, please try again later"

Former Member
0 Likes
2,905

Hi Sap gurus,

We have one invoice which is in approver's list. The approver is not able to neither approve this nor reject this invoice, the error message he gets is "Document is locked by other user, please try again lateru201D. We have checked SM12 and we could not find ant lock on this object for the user.

We have tried few function modules indicated below to unlock the work item, to change the status, to complete the work item, to forwarding this work item by another user and finally even to delete the work item.

SAP_WAPI_SET_WORKITEM_STATUS

SAP_WAPI_WORKITEM_DELETE

SAP_WAPI_UNLOCK_WORKITEM

SAP_WAPI_WORKITEM_COMPLETE

SAP_WAPI_FORWARD_WORKITEM

We have also tried deleting this invoice from the system, but still we get the same error. Can any body please help us providing the any other function modules by which we can unlock an invoice or to delete the invoice from the SRM system.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

If the lock does not disappear after a long time, it is likely a workflow lock. Try to follow the instruction in the following note:

Note 820040 - Canceling a workflow lock in the BBP_WFLOCK table

Former Member
0 Likes

Hi Jay Yang ,

Thanks you very much. This has resolved my issue.

Thanks & Regards

psamp1

Answers (1)

Answers (1)

lisa_sheil
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

Please review note 1277002 Wrong error message "Document is locked..." for Invoice. And also note 1178295 BBPAPPROVAL: Document gets locked by the User.

These notes should resolve this issue.

Kind Regards,

Lisa

Ask a Question
Top Q&A Solution Author