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

Displaying a pop up on clicking window close button in module pool program

Rocky1
Product and Topic Expert
Product and Topic Expert
0 Likes
1,333

Hi,

My requirement is to display a closure confirmation pop up on clicking the window close button(top right corner) in a module pool program. Since the close button does not trigger any PAI, I can't code anything in pai. There must be some events that will help me trigger my code somehow. Please suggest. <<removed by moderator>>

Thanks & Regards

Rocky Agarwal

Edited by: kishan P on Nov 8, 2010 9:31 AM

Hi,

My requirement is to display a closure confirmation pop up on clicking the window close button(top right corner) in a module pool program. Since the close button does not trigger any PAI, I can't code anything in pai. There must be some events that will help me trigger my code somehow. Please suggest. <<removed by moderator>>

Thanks & Regards

Rocky Agarwal

Edited by: kishan P on Nov 8, 2010 9:31 AM

2 REPLIES 2
Read only

venkat_o
Active Contributor
0 Likes
720

Hi Rocky,

It is not in our control whether we are in the middle of the program development, or in the middle of the transaction. SAP has to come up with some solution for your question. Only once pop up comes, when there is only one session opened and we are trying to close that session.

Regards,

Venkat.O

Read only

Former Member
0 Likes
720

Hi,

This can be done in the Screen.

i think the pop up screen is made by you . if it just create a gui status for that pop up screen .

In the Application just create a button cancel or close. As per the reuirement you can show or hide this button.

The same function code has to be given in the Function keys close part.

Then in the PAI write the code for the Cancel ( leave to screen o )

Hope this would solve your problem.

With Regards,

Sumodh.P