01-19-2009 2:41 PM
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.
01-19-2009 2:45 PM
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
01-19-2009 3:06 PM
Is it defined as an exit command in the GUI and programmed that way in the PAI?
Rob
01-19-2009 5:20 PM
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