on 06-01-2015 3:49 PM
Hi,
Overall Purchase Requisition workflow is resulted with error message in Return " Purchase requisition blocked " and not released but workitem is completed.
I am using Business object BUS2105 Method release. and not used any terminating event for this task.
When PR not released, work item should not get completed so that they can execute again.
Please guide me.
Thanks & Regards,
Priya
Hello,
So the requirement here is -
"When PR not released, work item should not get completed so that they can execute again."
First debug the method from SWO1 to see why PR is blocked. Check with functional consultant the reason why PR is blocked and how it should be handled in Workflow.
I assume this is not a "Locking" scenario . If so check SM12 for locked entries.
If you refer to BUS2105 Method release in SWO1, you will notice that there is no "EXCEPTIONS" coded for this method. You can create a subtype of the BUS2105 and code in the exception(temporary or application) when the PR is blocked . In this way, you can stop the completion of release method in workflow when PR is blocked.
Regards
Sandy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to make sure the PR is unlocked while you are running the Release functionality.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.