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: 

The 'X' in the upper right corner will not work. (Dynpro)

Former Member
0 Kudos

Hi, ALL

I make an dynpro program with POPUP screen.

a POPUP screen has the 'X' button(cancel button) in the upper right corner.

But it doesn't work.

How can I do that it will work?

please help.

thanks.

3 REPLIES 3

former_member203305
Active Contributor
0 Kudos

Hi,

u need to write the code in the PAI of the screen, so when u clic on the X, the tx will finish.

the code will be sth like this

form command.

case ok_code

when 'cancel'. the name of the botton X

leave program.

end form.

regards

Former Member
0 Kudos

Is it defined as an exit command in the GUI and programmed that way in the PAI?

Rob

Former Member
0 Kudos

Hi Rie,

As it is a custom module pool program, you need to write the code for the action performed in PAI event. If 'X' is selected u need to leave the screen or exit should be written.

Let me know if more details are required.

Regards

Anki