cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow Design suggestion

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

anasabdulla
Participant

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

Former Member
0 Kudos

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.

former_member186746
Active Contributor

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

Former Member
0 Kudos

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

former_member186746
Active Contributor

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

former_member564522
Active Participant
0 Kudos

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