It's very easy. Just every end of month, you assign 1 into 1 time type: assuming it's Time Type 9ABC. and setup configuration to accumulate in V_T555A (active all accumulate).
after that just checking
HRS=D9ABC
HRS+M9ABC
HRS?12
*
=
=> here it mean full 1 year in your cycle, continue with HRS=FR...
I already mentioned there logic in my documents already (of course not same 100%, but similar), plz try your best to do it.
Regards,
Woody