Application Development and Automation 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: 
Read only

ENTER command not working in POPUP window?

kirankumark2
Participant
0 Likes
1,750

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?

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
Read only

former_member400468
Active Participant
0 Likes
1,215

Hi!

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

Read only

Former Member
0 Likes
1,215

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

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,215

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.