If you use SFLRCDNBR(CURSOR) you should stay on the same page when you press enter. Is this what you need?
You’re DSPF control record might look a little like this
A SFLCSRLOC 5S 0H
A REC# 4S 0H SFLRCDNBR(CURSOR)
and in RPG like this
rec# = SFLCSRLOC;
The SFLCSRRRN is one way to capture the RRN number of the location of the cursor when returning to the RPG program and the SFLRCDNBR is used for placing the cursor on return to the screen.