01-05-2009 9:12 PM
Hi Gurus ,
I have to create a program that has to retrieve daya for the last day of the previous month from the database. Now the conditions are that if the last day for example is 31st falls on a Saturday or Sunday or a holiday then the day previous to that should be chosen and so on . I have implemented the logic to choose fridays in case of the last day falling on a weekend , but I am not able to check for the holidays.( National public)
Any clues on how to bring in the holiday list into my program ...
Thank you
Edited by: Krish M on Jan 5, 2009 10:13 PM
01-05-2009 9:38 PM
01-05-2009 9:27 PM
There is a Factory calendar, I dont remember the name which directly gives the last working day of the month. Check in Tcode SCAL other wise search forum you will get lots of replies for the same query.
01-05-2009 9:35 PM
01-05-2009 9:38 PM
01-05-2009 9:57 PM
Hi Krish,
Consider using FM HOLIDAY_GET , which will provides a table of all the holidays based upon a Factory Calendar &/ Holiday Calendar.
Best Regards,
Krishna