on 04-16-2015 5:10 PM
Hi Experts,
We got an requirement to retrigger the BRF with PO with the custom button on the screen. When the PO will be in awaiting approval status, user can click on Retrigger button of PO screen (Custom button on screen), that should close/delete tha previuos started WF logicaly and restart the new WF.
Any idea for this is appreciated. Let me know if not clear.
Regards
Chandan
Hi Chandan,
Try using the BADI /SAPSRM/BD_WF_PROCESS_RESTART, and for the implementation class, use the method /SAPSRM/IF_EX_WF_PROC_RESTART~VALIDATE_RESTART.
Here you can write your code for restarting the workflow.
Rewards points if helpul.
Regards,
Aakash Awasthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Aakash for your reply. But how BADI Method will be called from the action event of custom FPM button as this is the standard one.
Can you simulate the block of code, which can call the given BADI method from button action. This will be a great help to me. Please let me know if I am wrong.
Thanks in advance.
Chandan
Dear Experts
I got to know that /SAPSRM/CL_WF_PROCESS_MANAGER~DETERMINE_PROCESS_RESTART
is used to call while Restarting the WF. But not aware of exact process to be done.
Can any one help me on this...
Thanks
Chandan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.