Hello Raghu.
* You can make use of 4 variables: start_month,end_month,start_year and end_year.
* start_month = dt_da+4(2)
end_month = dt_a+4(2)
start_year = dt_da+0(4)
end_year = dt_a+0(4)
* SELECT * FROM zrmm_076
WHERE zcodleg = 2_v_zcodleg
AND zper BETWEEN start_month AND end_month
AND zese BETWEEN start_year AND end_year
AND causmov IN s_caus
AND datvis_ent BETWEEN starting data
AND ending date
AND zmovdoppi = space.
Regards.