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: 

Program exits after clicking on any button twice (OO ALV)

Former Member
0 Kudos

Hi, I'm using OO ALV buttons and whenever the user clicks on any button for the second time, the whole program just exits and the user is presented with the main menu screen. Here's an example.

    1) The user clicks on the custom made Print button:

     2) Then, the user closes the Print popup window:

    

     3) The user then tries to use any button for the second time (The button they click doesn't matter at this point):

        

     4) The user is now surprised that he's presented with the main menu screen instead of whatever the button they clicked is supposed to show:

            

            

     I tried using the debugger, but it seems like the program doesn't even run through the code when you click any button for the second time. It just quits out of nowhere. Any suggestions?

Thanks.

6 REPLIES 6

Former Member
0 Kudos

Hi,

A very quick thought is that it is your SAPGui installation.  Does this happen for all users or just specific ones?  Does it only happen on specific machines or all of them?

If it happens for all users, on all devices then it probably isn't the GUI!

Cheers,

G.

0 Kudos

I just tried it with another user and the same thing happens.

0 Kudos

On the same machine, or a different one?

0 Kudos

On a different one. I don't think it matters though, because we use Citrix to work on SAP anyway.

Former Member
0 Kudos

Ok.  I assume it only happens with this one report?

I still wonder if it is an issue with the GUI, especially as its over Citrix but you probably need to do a bit more investigation to see how common it is.

0 Kudos

It was the error messages. Every time an error or warning message is triggered, the next button you click is gonna get you out of the program. Is that supposed to happen?