cancel
Showing results for 
Search instead for 
Did you mean: 

Handle Process Finish (TS40007947) step of WS40000014 ending in error

Former Member
0 Kudos

Hi,

We have implemented a process-controlled workflow for purchasing contracts (BUS2000113) on SRM 7. Schema evaluation and corresponding process level configuration has been done, including the responsible resolver and the enhancement implementation.

When a contract is released, it goes to the approver however after the approval process the "Handle process Finish" (TS40007947) step of workflow template WS40000014 is ending in error because of the following:

Work item 000000026346: Object /SAPSRM/CL_WF_PROCESS_MGR_SBWF method FINISH_PROCESS cannot be executed

Termination triggered in '' - Rollback required

Error handling for work item 000000026346

Termination triggered in '' - Rollback required

Note the same workflow is working fine for shopping cart and purchase orders.

I have checked the binding between the task and the class method, its fine. I am not sure what could be the problem.

Could you please assist?

Thanking you in advance.

Regards,

Nkonzo

Accepted Solutions (0)

Answers (4)

Answers (4)

sunil_kokane2
Explorer
0 Kudos


Hello All,

I am also facing the same issue. Do we have root cause and solution to this problem.

Thanks

Sunil Kokane

Former Member
0 Kudos

Hello Sunil,

Did you solve this issue?

Tks,

Diego

laurent_burtaire
Active Contributor
0 Kudos

Hello,

follow this KBA and all others being referenced:

1625513 - Workflow without approval is Awaiting approval status

Regards.

Laurent.

YayatiEkbote
Contributor
0 Kudos

Hello Nkonzwenhle,

We are also facing this same issue. Our system is SRM 7 EHP3.

Have you found the solution to this problem?

I understand, I am adding my comment in 3 years old conversation, but as this question is yet unanswered and not closed, i think i can get some clue to my problem as well.

@ Saravanan.. I also debugged by putting sy-uname as WF-BATCH in /SAPSRM/CL_WF_PDO_CTR~HANDLE_PROCESS_FINISHED and also the the import parameter iv_agent as WF-BATCH, but i did not get any error or exception. But still the workitem is in error state in transaction SWIA.

Have you found the solution meantime?

Regards,

Yayati

mike_bohammer
Explorer
0 Kudos

Hello Yayati,

we have the same issue, but with the PO.

In SWIA we have also the last step TS40007947 which has the status error and I have no idea why.

If I try the debugging with class /SAPSRM/CL_WF_PDO_PO I get the exception CX_SY_NO_HANDLER.

I have no more ideas what I can check.

Regards,

Mike

YayatiEkbote
Contributor
0 Kudos

Hello Mike,

At least in your case, you get an exception. You need to debug line by line to identify why the exception is coming. But in my case, i get no exception

Regards,

Yayati

former_member227141
Active Participant
0 Kudos

Hi Mike,

Did you solve the issue?

I'm getting cx_pdo_status_change exception and I don't have a clue why.

Former Member
0 Kudos

Thanks, i get the CX_BO_ABORT exception. What could be the cause of this?

Former Member
0 Kudos

Hi,

There could be so many reasons, ask your workflow consultant to debug.. Sorry..

Saravanan

Former Member
0 Kudos

Hi,

This is nothing to do with task.. you have to debug the class /SAPSRM/CL_WF_PDO_CTR~HANDLE_PROCESS_FINISHED method.. just provide the contract guid.. so that system will create an instance for it.. make sure you change the sy-uname to WF-BATCH. while you debug the method....

Saravanan

Former Member
0 Kudos

Thank you for quick response, I have executed the method "/SAPSRM/CL_WF_PDO_CTR~HANDLE_PROCESS_FINISHED" via debugging. And the method ends without any issue.

Former Member
0 Kudos

Hi,

you won't see the error until you change the SY-UNAME to WF-BATCH.. YOU HAVE TO CHANGE TO WF-BATCH the moment you enter into debugging screen..

Saravanan