Skip to Content
-2

ENTER command not working in POPUP window?

Apr 21, 2017 at 09:50 AM

57

avatar image

I have created a POPUP window with OK button using POPUP_FOR_INTERACTION. popup is triggering as expected and i have written logic for OK button also. now issue is "If i click on OK button it is calling some other screen(logic implemented) whereas if click on ENTER button it is not moving to any screen". my requirement is if click on ENTER button it should call another screen. what is the user command for ENTER button in POPUP?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Evgeny Gubenko Apr 21, 2017 at 10:07 AM
0

Hi!

By default you have a command "Continue" in GUI-status for Popup, so if you set it, it should work


capture.png (3.2 kB)
Share
10 |10000 characters needed characters left characters exceeded
Richard Harper Apr 21, 2017 at 11:32 AM
0

You say you have written logic for the OK button and it is working. You then introduce the 'ENTER' button but you have not mentioned that you have created an 'ENTER' button nor written any logic for it. If you have not done any of this how can you click it, or are you referring to a standard button in the parent window tool bar such as the ONLI (Online) button ??

Rich

Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
Apr 24, 2017 at 08:39 AM
0

Look at the FM source and called screen/status, only the three functions codes BUT1, 2, 3 will end the pop-up display, look at module d0100_pai_01 , neither the Enter nor the Escape key will exit the pop-up as they won't set any of those three values for ok_code, either space or error invalid fuction.

If I didn't understand your requirement, then elaborate on it, which values did you pass to the FM Button parameters, etc.

Share
10 |10000 characters needed characters left characters exceeded