Yes I was saying "in the program itself" and a good point about "immortalizing" logic into programs. I was hoping it would pass over without anyone thinking hard about it for 2 weeks.. :-)
In this case it must be a report so you can park some things on the selection screen to save them into screen variants. For fields which support dynamic variables (such as date and time), you can instead of giving fixed values to the variant, give it a variable setting instead.
OK.. this is more useful to get the same job with the same variant to do different things for different time intervals without changing the code - I was thinking that one of those things could be EXIT.
If the requirement were a bit more complicated than last day of the month (e.g. on the second Friday of each month as long as it is not the 13th) then something like dynamic variables or even the factory calendar could come into play.
Anyway.. the guru found his answer (despite it being a real pity that things are done simply when one can also make them super complicated as well... :-)
ENDIF.
* Julius