Skip to Content
-2

ENTER command not working in POPUP window?

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 21, 2017 at 10:07 AM

    Hi!

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

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 21, 2017 at 11:32 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 24, 2017 at 08:39 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded