on 04-28-2010 1:32 PM
Hi,
I created a process schema for PO and everything is working correctly.
However, when the PO is in approval state, then the value of the PO is changed, it does not restart the approval process.
The approver is retrieves by Product Category.
Even when the product category is changed, it will not retrieve the new list of approvers.
May I know what am I missing?
Isn't changing the value will automatically restart the workflow by default?
Thanks
Jack
Hi,
BADI Implementation is required for restart.
IMG document:
The BAdI is called after a document has been changed and saved. Use method VALIDATE_RESTART of the BAdI interface /SAPSRM/IF_EX_WF_PROC_RESTART to define whether a process restart is to take place (EV_RESTART = ABAP_TRUE) or not. The input parameters of this method contain the document type and GUID, the process schema of the running approval process, the expected process schema for the revised document, and the default setting.
Regards,
Masa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Masa,
So, there isn't any standard behaviour for restarting the approval process?
I'm figuring out on how to use this VALIDATE_RESTART.
Unfortunately, it only return me the GUID of the PO.
How do I control/check if certain fields are changed, then only restart the approval process?
Thanks
Jack
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.