11-04-2013 9:50 AM
Hello Experts,
I have a requirement where we are calling a subscreen from a normal screen and the in that subscreen we are calling a model dialog box.
I have created one custom button in that model dialog box i,e CANCEL.We are calling model dialog box from subscreen.
Once user see the model dialog box and want to close it,he will press close button,in that case we want to user back in the subscreen and the model dialog box should be closed.
Can u please help me how to do this.
Thanks
Mahesh
11-04-2013 2:16 PM
11-05-2013 3:48 AM
Hi Mahesh-
If I understand correctly you want to display a pop-up and once user press close window button, you want to display previous screen.
For logic you can check source code written in FM : 'TERM_CONTROL_EDIT' statement '
CALL SCREEN 100 STARTING AT 5 5.'
-Venkat
11-04-2013 11:02 PM
Maybe I do not understand the problem, but it seems to me that you are describing exactly how it would work normally. Is it acting different from the way you describe?
Also if you are simply needing to display a message or a small amount of data, there are SAP written function modules to display messages and data. You can find many of them by searching for function modules that start with POPUP_TO*