I Have created a subroutine that will increase the value of my variable of Ypos for my dynamic box. for the first page, it works perfectly however in the second page the boxes are not properly placed. I tried to refresh the variable to again start the Ypos to Zero every next page.. however teh dynamic boxes in the next pages are not correct. Can anyone instruct how should I correctly code my subroutine and where in sapscript should I place the perform? thanks!