‎2006 Nov 10 1:45 PM
Hi Experts,
I have a module pool program. When this program starts through a transaction code, I want to display a popup screen.
I used CALL SCREEN ______ STARTING AT 10 10. But then I'm not able to close this screen when I click over it.
Please help me.
Regards,
Saurabh.
‎2006 Nov 10 1:47 PM
are you calling a different screen in the PAI of the pop up screen? This should then close this screen and take you to the new screen.
Cheers
‎2006 Nov 10 1:48 PM
You need to have a GUI status created and call that PF-STATUS to the pop up screen. You can do the same using SET PF-STATUS 'xxxx' in the PBO of the pop up screen.
Also, you will have to handle the function codes of the menu (pf-status) in the PAI of the pop up screen.
Regards,
Ravi
Note - Please mark all the helpful answers
‎2006 Nov 10 1:51 PM
hi,
u can do the following in PBO of first screen.
CALL FUNCTION <b>'POPUP_TO_CONFIRM_WITH_MESSAGE'</b>
EXPORTING
defaultoption = 'Y'
diagnosetext1 = 'Hi'
DIAGNOSETEXT2 = ' '
DIAGNOSETEXT3 = ' '
textline1 = 'Good Morning'
TEXTLINE2 = 'Wishes'
titel = p_title
START_COLUMN = 25
START_ROW = 6
CANCEL_DISPLAY = 'X'
IMPORTING
answer = p_answer .
hope that helps...
please reward if useful....
‎2006 Nov 10 2:11 PM
hi
good
to close that pou-up status you can create the menu bar using the menu painter and give the appropriate functionality for each button whatever you want to place in the pop up screen.
thanks
mrutyun^
‎2006 Nov 10 4:14 PM
In the PAI of the new popup screen you need to code for the EXIT button.
case OK_CODE.
When 'EXIT'.
LEAVE SCREEN.
SET SCREEN <Initial screen #>
endcase.
Hope this helps, if so reward me points!
Sudheer.
‎2006 Nov 10 5:01 PM
if you want to pass some values in your popup then use this function mocule
POPUP_GET_VALUES.
If not then
POPUP_TO_CONFIRM_WITH_MESSAGE
Depends on what you want to do.
But both should solve your issue
Prince