cancel
Showing results for 
Search instead for 
Did you mean: 

BUS2105-ReleaseStepCreated

Former Member
0 Kudos

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??

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member185167
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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...?

former_member185167
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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...

encarrero
Participant
0 Kudos

Hi,

Did you try using t-code SWB_COND? (transaction for initiate wf with conditions).

Regards,