Hi Have develop a workflow for PR approval, I created a asynchronous method approverPR with teriminating events like release step created, released etc.
Now we are approving and rejecting PR through webdinpro. when user clicks on approve pr in dynproscreen, we are calling a function module to approve PR and complete workitem , so that notification and workitem go to next level.
to complete the workitem i am using SAP_WAPI_WORKITEM_COMPLETE . but getting error as below.
Error when defining successor for node 0000000018
Please provide your input.