on 02-23-2011 9:40 PM
Hello All,
We are implementing SRM 7.0. We have workflow approval process for few of the procurement documents and one of them being Contracts.
Our approver determination and fallback agent determination are through custom tables. During testing, one of our workflow instance for Contracts went into Error status. The reason being the custom tables were not maintained. The User, despite knowing the table was not maintained, still went ahead and released for approval. The Document status shows as Awaiting approval but the workflow status is in Error. As a result of this we are not able to re-call the document to re-release after maintaining the approvers in custom table. We are not able to re-start the wokflow as well.
Is it not possible to re-start the WF? I have read somewhere that it is not possible to re-start an Error WF in a Process controlled scenarios. Is it true? Also, can you give some suggestions on how to tackle these kind of situations? We could run into these kind of situations quite often.
Thanks in Advance,
Reji
Hi ,
try to restart through T.Code SWPR..find the header workitem id and restart..
Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The another option is to delete the contract version.. you can do this calling the BBP_PD_CTR_DB_DELETE & BAPI_TRACTION_COMMIT by sequential. get the change version guid from BBP_PD and pass the GUID to BBP_PD_CTR_DB_DELETE. make sure you have put 'X' for iv_save_on_db flag... this is not good way to do.. but the worst case this might help..
or try to release the contract via SWO1 - BUS2000113 - SETRELEASED method..
Saravanan
Thanks for the suggestions. Unfortunately, the Business owners may not have access to SE37 nor to swo1 in a live system. I will propose the swo1 solution to them so that they can coordinate with the WF admin if error occurs.
For now I have changed the process schema to work in such a way that the document goes to an Automatic Rejection if there are no agents.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.