Skip to Content
0

Workflow Design suggestion

Apr 16 at 08:08 AM

44

avatar image

Hi,

I have to develop a workflow which has two level of approval process. First level again divided into multiple sub level of approvers. No. of approvers at this level could be variable but maximum of 4. Respective IDs are being stored in a Z table. Second level has only one approver. At any stage if anybody rejects it, WF should stopped. its like:

Level1: Approval A --> Approval B --> Approval C --> Approval D

if all above four approved level 2 starts

Level2: Approval E

Could you please help me how would i design this. Should i be using Loop Until, Condition or multiple condition.

please advise.

Thanks

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Rob Dielemans Apr 16 at 09:55 AM
1

Hi,

this is a rather basic question. How does your process flow model look like and what difficulties are you having in mapping the model with SAP business workflow?

Kind regards, Rob Dielemans

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Yes Rob, this is basic question only. I want to know best way to achieve this. I'm confused with the conditions. First i have to check if i have any approver for level 1. If not then i have to move to level 2 and if i have more approver (for level 1) i have to go with them as well. Along with this i have to proceed only if it gets approved at each level.

Thanks

0

Hi,

If you're confused with the condition,then your first step as an SAP professional is to get the requirements clear. My next step would be to model those requirements in a process flow diagram en then after understanding the process flow I can easily model it in SAP workflow.

To control parallel processing you can use your own events and wait for events in a 1:2 fork. And for variable parallel approver handling you just use the multiline element container option in the miscellaneous tab.

Kind regards, Rob Dielemans

1
Anas Abdulla Apr 18 at 04:29 AM
1

Hi,

Depends on your requirement,

You have A,B,C,D in Level 1. Can they approve in any order. Eg. B->A->D->C ?

If Yes, U may need a fork in Level 1 with necessary branches set as 4.

If No, U better use loop in Level 1.

Regards,

Anas

Show 1 Share
10 |10000 characters needed characters left characters exceeded

i guess i don't have to put loop as i anyway have to send to all providing they exist. If there are 3 i have to send to all three irrespective of waiting for any one of them. yes, it is quite basic and for now im just using IF condition only.

0
Himanshu Gupta
Apr 18 at 04:38 AM
0

Hi,

I will advise you to have a loop at level1 approver and determine the number of approvers in there.

then put a condition to check a variable , let say approved ='X' then go to second level else workflow finished.

it is simple and basic.

regards

Himanshu

Share
10 |10000 characters needed characters left characters exceeded