Workflow for purchase requisition?
I would like to know if there is any standar workflow for MM that can map this requeriment: user A creates a purchase requsition, the WF sends a mail to the user B to release it, user B releases it and then the WF sends a mail to user A to let him know the event.
The WF should know how many approvals (if any) the purchase has, so it can adapt to any type of purchase
Thank you very much!
Glauco souza replied
Workflow don't need a design with a loop because it is created a new workflow to each step of aproval. Standard program will trigger other workflow to next level and will trigger terminator event to already running.
It's automatic and transparent to user and you. This follow the sequence of each aproval sequence depending of functional configuration about it.
To get it ready to start and be triggered, ask to functional fill field in SPRO, with 1 (users of viwl T16FW) or 9 (EXIT). --> SPRO --> Materials management --> Purchasing --> Purchasing req. --> Release procedure ... --> Define Release procedure for PR...Release Codes --> Field workflow = 1 or 9.
Configure the same number in rule PFAC in workflow step task to 20000027 and it will get automatic depending on configuration in 1 or 9. 1 is automatic and needs previous functional configuration and 9 needs that you encode some line codes in user exit EXIT_SAPLEBNF_005 (enhance M06E0005 in CMOD).
I need to do the same here (for PO, contract and requisition), but here will be type 9 and I need to get users by profile in user exit.
Edited by: Glauco Kubrusly on Jun 14, 2011 9:58 PM