Thanks for the suggestion Paul. The mentioned link helped me to understand the weekend calculation process and I achieved it with the following code:
PdmSeconds(PdmDownTime('BRM','Mon - Fri { 12:00 am - 12:00 am }',cr.open_date,PdmToday()))
I felt it much easier while using CABI library functions to use.
Thanks
ArunavaS