2010 Apr 13 10:04 AM
Hi All,
I need to create a popup screen with some input fields in it.
For this I have created a 'Modal Dialog Box' screen and called this screen(using below syntax) when the corresponding action is triggered.
CASE sy-ucomm.
WHEN '<fun. code>'.
CALL SCREEN <screen number> STARTING AT 5 5 ENDING AT 30 10.
How to handle the buttons in the bottom of the dialog box ? Actualy I need to have only two buttons - one for OK and other for cancel, but both of them are not available. Is there any way to disable those buttons. Is there any other way to achive the above mentioned requirement.
Thanks & Regards,
Sabu
2010 Apr 13 10:12 AM
In PBO module set pf status for modal dialog window and if u want to disable them fill a internal table(itab) with one field of type sy-ucomm and pass as
set pf status excluding itab.
will disable buttons.
u can also create push button in layout of dialog window.
in the PAI of mdal dialog window in module
at user command
case sy-ucomm.
when 'CANCEL'.
leave to screen 0.
when 'OK'.
*do what ever action u want to erform on ok.
hope this will help u post for fuirther queries.
Thanks
Gaurav.
Edited by: gaurav.singh on Apr 13, 2010 11:13 AM
2010 Apr 13 10:12 AM
In PBO module set pf status for modal dialog window and if u want to disable them fill a internal table(itab) with one field of type sy-ucomm and pass as
set pf status excluding itab.
will disable buttons.
u can also create push button in layout of dialog window.
in the PAI of mdal dialog window in module
at user command
case sy-ucomm.
when 'CANCEL'.
leave to screen 0.
when 'OK'.
*do what ever action u want to erform on ok.
hope this will help u post for fuirther queries.
Thanks
Gaurav.
Edited by: gaurav.singh on Apr 13, 2010 11:13 AM
2010 Apr 13 10:41 AM
Hi Gaurav,
Thanks for your input.
Can you pls explain some more in the button dissabling part.
Thanks,
Sabu
2010 Apr 13 10:47 AM