Hi Haritha,
Please ensure that you maintain different DWS class for each shift.
Once you have done that, you can write different rules in table V_T510S and generate wage types as per the DWS class.
Please refer the below document on configuration of T510S and DWS class.
Pre-approved Overtime Using IT2007
Public Holiday Calendar and Work Schedule Rules
I hope this information is helpful for you to design your solution. Let me know if you get stuck anywhere.
Regards,
Vivek