Hi Pawan,
you need to add one more condition, if the date is sunday, then populate the same date as print date.
for eg:-
pass the date to the below FM, and if the day is 7 i.e Sunday,
then zWkcom = Zprint_dt
CALL FUNCTION 'DATE_COMPUTE_DAY'
EXPORTING
date = w_first_date (pass your print date here)
IMPORTING
day = w_day.
Regards,
Sakthi.