on 05-15-2016 10:20 PM
Hello Experts:
How are you doing. I have created a master process chain which uses an if then condition to run 2 different process chains based off different days of the week. It executes one process chain from Wednesdays to Sundays and executes another one on Mondays and Tuesdays.
The process chain Decision box was created based off as shown below.
For the formula I have used the following conditions for days of the week by using variables "SYST-FDAYW". The pic below shows the formula for deciding if the day of the week is either Wednesday, Thursday, Friday, Saturday or a Sunday. I created a similar formula for Monday and Tuesday with SYST-FDAYW =1 or 2.
I am getting an error when I execute this process chain.
Could you experts help in determining what is wrong ?
Sucheta:
Thank you for your inputs. I tried that first but the process chain failed the consistency check since the process chain needs a separate path for error. This was highlighted in other discussions as well.
I figured what was causing the issue based off the following link.
http://scn.sap.com/docs/DOC-51341
The numbering of the days starts from 0 to 6 ie Monday to Sunday whereas in my condition I used the numbering from 1 to 7. So that's what caused the failure on a Sunday.
Thanks
Jagdish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
8 | |
8 | |
7 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.