So the challenge I have will sound easy but I've been struggling to figure out how to solve it.
On ECC there is a function module 'DATE_CONVERT_TO_FACTORYDATE', this function module is used to figure out valid working days. If you input the date in the module it will export whether it's a holiday or not, and basically calculate based on that. It seems a holiday can be entered manually and this functional module captures it. Also, factory calender can be viewed using tcode SCAL on HANA side.
I need to calculate dates by replicating the function module.
Anyone know which tables store factory dates which I can create views off of? And I'm assuming I have to do some SQL coding in calculation view (maybe a loop).
If anyone has any insight on how to do this in HANA it will be very helpful.
Thanks in advance.