09-10-2007 12:07 PM
Hi
I 'm going to create dialog program and I need to create another screen for dialog box and use this below code to pop up the dialog box. This dialog box is required for summary data .
CALL SCREEN 200 STARTING AT 1 1 ENDING AT 80 8.
After the dialog box show in the screen , I can't use close at right up corner of dialog box . I don' t know why . Please help me .
Regards
Wiboon
09-10-2007 12:10 PM
09-10-2007 12:12 PM
Hi Srihari
I don't understand what you mean. It 's like the standard sap doesn't provide or I need to create button to cancle .
Regards
Wiboon
09-10-2007 12:13 PM
09-10-2007 12:17 PM
Hi grub089
It's only dialog box , I don't want application toolbar or something like that , I would like to use close button in standard (on the top right corner of dialog box) .
Regards
Wiboon
09-10-2007 12:22 PM
Hi Wiboon,
try it
Set Screen 0 before the "Call Screen"
SET SCREEN 0.
CALL SCREEN 200 STARTING AT 1 1 ENDING AT 80 8.
Regards
Allan Cristian
09-10-2007 12:27 PM
09-10-2007 12:34 PM
Hi Wiboon
set "Gui Status" to screen, if it's no work, try to use a "POPUP";
Regards
Allan Cristian
09-10-2007 12:44 PM
Hi Wiboon,
look this example to call a popup.
REPORT ZEXIT .
DATA: POP(1) TYPE C.
CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
EXPORTING
TITEL = 'Excluir'
TEXTLINE1 = 'Unsaved data will be lost.'
TEXTLINE2 = 'Do you want to log off?'
if you want to display the button Cancel set CANCEL_DISPLAY as 'X'
CANCEL_DISPLAY = ''
IMPORTING
ANSWER = POP.
IF POP = 'Y' OR POP = 'J'.
message i398(00) with 'YES'.
...
ELSEIF POP = 'N'.
message i398(00) with 'NO'.
...
ELSEIF POP = 'A'.
message i398(00) with 'CANCEL'.
...
ENDIF.
09-10-2007 4:21 PM
Hi Wiboon,
In the GUI Status for the Screen 200 add EXIT function. This should solve your issue.
Please reward if useful.
Regards,
Lijo Joseph