cancel
Showing results for 
Search instead for 
Did you mean: 

Process Chain Decision Maker Step

Former Member
0 Kudos

Hi,

Decision Making is required to find the current day is not a 4rth Work Day of the Month. I have written a formula in the Decision Maker which looks like below. Can some one validate?

WORKINGDAY_MONTH( RIGHT( 2, Current Date ), SUBSTRING( Current Date, 4, 2 ), LEFT( 4, Current Date ) ) <> 4

If something is missing, please correct.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

I have found the right formula and it is

WORKINGDAY_MONTH( Current Date, 'FR', '+' ) = '04'

Thanks all.

Former Member
0 Kudos

Hi Nilesh,

I have a problem with a decision step in my process chain. Also using 'WORKINGDAY_MONTH' However I don't understand what it is doing. Here is the formula;

1st Line

Command -> IF

Formula -> WORKINGDAY_MONTH( Current Date, 'IE', '' ) = 1

then

Event - > Option 1

2nd Line

Command -> Else IF

Formula -> WORKINGDAY_MONTH( Current Date, 'IE', '' ) 1

then

Event -> Option 2

3rd Line

Command -> Else

then

Error.

I would expect that on 1st day of each month it would trigger event option 1. This has been working sucessfully in previous months, however in Jan, it has triggered event option 1 for each of the following days, 1st, 2nd, 3rd, 4th & 5th Jan(today).

Following this decision point, it triggers Dataloads, only required at month end, ie 1st of each month. Everyday this week I had reverse the process.

Can you help me to understand what is happening? What transaction can I use to view logic of this function WORKINGDAY_MONTH.

Thanks very much,

Michelle

Former Member
0 Kudos
Former Member
0 Kudos

Hi

I think its correct. But still I will suggest to check the following link which provides the more information regarding process chain using decision step.

http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/705aefe8-8a27-2d10-7b8e-88017ee9158c

I think this will help you.

Thanks

Amol