Is there any way ( any Function Module OR Class Method ) to change the approver of particular Process Level. My requirement is as below:
We have a custom Table from where approval agents are determined and Process levels are created.
Now if today I replace the approver in custom table with some other approver then our customer wants that it should be effective for all SCs which are pending for approval.
We can change the approver if workitem is pending with that approver ( Though workitem forwarding using FM SAP_WAPI_FORWARD_WORKITEM ).
But is there any way to replace the approver if SC has not reached to particular level yet for approval.
SC is created with 4 levels of approval ( Level A, Level B, Level C, Level D)
SC is pending with Level B.
I need to replace the approver of Level D. ( without restarting the Workflow)