Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

WORKDAYS_BETWEEN function

Hi folks,

I'm looking for a way to calculate workdays between two dates and I don't want to include holidays (I want holidays to be considered normal days).  I noticed in our new SPS8 HANA we have this new function for WORKDAYS_BETWEEN which works great as I've tested but the problem is we dont seem to have a factory calendar setup that has zero holidays in it.  So obviously we could easily create a new factory calendar but i wasn't sure if that's the best thing to do in this case because we'd always have to maintain it OR perhaps somebody has a code snippet that works equally as well to just exclude weekends between two dates. 

Thanks,

-Patrick

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question