cancel
Showing results for 
Search instead for 
Did you mean: 

decision type in process chain

anuja_s
Participant
0 Kudos

Hi

I have added decision type in process chain with below formula.

WORKINGDAY_MONTH( SYST-DATUM, 'US', '' ) <= 7

now, i want to run this same process for last working day of the month as well,,

How can i add that here.

Please guide.

Thanks

Anuja

Accepted Solutions (1)

Accepted Solutions (1)

former_member182998
Active Participant
0 Kudos

Hello Anuja,

You can try with below formula !

DATE_MONTH( SYST-DATUM + 1 ) <> DATE_MONTH( SYST-DATUM )

This will check  if today is the last day of current month, means this code will check if today's month is equal to tomorrow's month . If not then this is last working day of the month.

And on every lst working day it will be successful.

Secondly you can try writing the ABAP Code ( Customer Exit) for this.

Hope this helps !

Regards

YN

Answers (0)