Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ENTER command not working in POPUP window?

kirankumark2
Participant
0 Kudos

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?

3 REPLIES 3

former_member400468
Active Participant
0 Kudos

Hi!

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

former_member182550
Active Contributor
0 Kudos

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

raymond_giuseppi
Active Contributor
0 Kudos

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.