Hi,
A simple option would be to wrap your Convert statements for the date with an isnull(<value>,<default>) and provide a default value for nulls.
e.g. if you wanted all dates returned if the date fields are null you could use e.g. for the from date : ISNULL(Convert(varchar,@Begindate,112), '19000101')
this would default the from date to be the 1st Jan 1900.
For the TO Date the default could be today : ISNULL(Convert(varchar,@EndDate,112), convert(varchar, getdate(), 112)
PS: I have used 112 in the convert statements in my examples above as this produces an ISO date in the form YYYYMMDD which will be independent of regional settings