on 02-08-2012 4:29 PM
I have a workflow for purchase requisition approval triggered by: BUS2105-ReleaseStepCreated.
This means that the approval is item-wise.
I have a requirement that in the case of a cost center registered on more lines than one, these should be summed up and sent to the correct approver.
Example:
Purchase requisition with items:
10 CC 123 Amount 2000EUR
20 CC 765 Amount 1500EUR
30 CC 123 Amount 4000EUR
In this case item 10 and 30 are to be summarized since they have the same cost center (123) to 6000EUR and there should in this case only be started 2 workflows. One with item 20 - amount 1500EUR and one with items 10 & 30 for the approval amount 6000EUR.
Is this at all possible??
Hello,
Anything's possible, it just depends on how much effort you put into it.
In this case you could have an event for each item and they all trigger a workflow. Each workflow then checks to see if it is the highest numbered item for a certain CC and if not then stop. The ones that remain add up the values of the lower-numbered items and create a workitem for the user.
regards
Rick Bakker
hanabi technology
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Rick!
Of course everything is possible, but I have the intention of keeping the solution less complex and as close to standard as possible.
The problem as I see it in your description is that the release strategy actually is written down to the table when the purchase requisition is created. Therefore it could very well have the wrong strategy written when all cost centers that are the same are added to each other inside the workflow. In such a case you need to redetermine the release strategy again inside the workflow...?
Hello,
if the Business wants to have one release strategy for a PR and then different release strategies for groups of items then the logic has to be built in somewhere. They could make it easier by having a policy of one CC per PR.
You should ask them if they really want to do item-level approval; people soon get tired of doing multiple approvals for one level for one PR.
regards
Rick Bakker
hanabi technology
I am sorry... I mean BUS2009-ReleaseStepCreated.
BUS2009 is the purchase requisition item...
No, I dont think that will help me in this case.
This event is triggered from standard customizing around release strategies...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you try using t-code SWB_COND? (transaction for initiate wf with conditions).
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.