on 12-23-2012 6:34 AM
Hello Experts,
I have a requirement to trigger a workflow when ever a certain field gets change in Purchase Order.
Only after the Approver review the change and approves it then actual change should happend. Till that time it should not allow any other user to
change the PO.
I can trigger the Workflow when PO gets change, But I am stuck to lock the PO for the time until changes are not approved.
Please suggest me how we can achive this.
-Priyanka
Hi Priyanka,
Not sure but you can also use fm (http://scn.sap.com/thread/472209) to reset release back to 'unreleased/ blocked state' Implement the PO release fm in the exit or badi (http://scn.sap.com/thread/1624098).
Or else if you do not want to implement a FM in an exit, you can simply use exit
(http://scn.sap.com/thread/1624098) and whenever a field is changed (compare current and screen values) you can pass a toggle flag to any of USRC1 USRC2 USRN1 USRN2 fields. You will need slight functional knowledge of how class and characteristics are implements in release strategy.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Priyanka, you need to use the application's functionality itself. You don't mention whether the PO is created in ECC or SRM or in what release/support pack? It's generally helpful to include that information in forum posts.
Taking an enqueue lock is probably not the best approach here - those are just temporary update locks, and a system refresh could throw them away without warning.
You want to look for a way to place a block on the Purchase Order that the Purchase Order application itself uses to prevent further changes i.e. you want to talk to someone in logistics about this. Perhaps try the Materials Management forum or the SRM forum, rather than the workflow forum.
Hope that helps.
Regards,
Jocelyn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You can't do that without locking it.
regards
Rick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any suggestion for the above questions, will be appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.