Page History
If you need to force a pop-up window to front (for example if you absolutely have to present a 5250 pop-up window as a destination screen), using FORCE_POPUP_REFRESH Function will not help you because it only turns the automatic force-to-front logic off or on. It does not change when the logic is used.
...
If you want to force a pop-up which is triggered by a button click or function key press to front, do it like this:
SENDKEY(KeyF10);
VF_SY120_FORCE_POPUP_REFRESH();