Hi Mack
I would approach it this way
Company code - you can have it in General Data Selection
In the 3rd column, assign local variable for PERIO as PER_ TO and PER_FROM
In the 1st column, assign same local variable PER_TO.
In the 2nd column, assign local variable as PER_TO-1 (minus 1)
that will do the trick
Br. Ajay M