I can give you a suggestion but am not sure its gonna work or not.
Create a customer exit variable on calday.
If your report is built on DSO then in cmod do a look up on this dso and select the max calday value and append to the variable.
You might give it a try to see how it behaves.
Regards,
AL