Modal Dialog box in Dialog Programe
I have create one Modal Dialog Box in Module Pool.
when i click on the 'X' on the top right side of that screen the Dialog box is not closed.
Can any one help on this?
Vijay Dudla replied
For the Modal Dialog box you need to create the Status, while creating the status Choose the Status for Dialog box. that time you it will show different Status Options.
you need to set the status to the CANCEL(X) button , Then handle the Function in the PAI user_command module.
CASE sy-ucomm. when 'CANCEL'. leave to screen 0. endcase.