on 2010 Jul 15 11:37 AM
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.
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.