‎2008 Nov 12 11:40 AM
Hi all
this is the problem: I have to show an error popup and block a program like it appens when I use a "message .. type 'E'" instruction.
I already found a function module to show the popup with error icon, but I can't find the way to block the program in that point.
anyone can help me?
Thanks
‎2008 Nov 12 11:47 AM
Hi Riccardo,
We can do that. But it depends on at which point you are calling the pop-up. If you are calling that pop-up before displaying any details on list, then you can use STOP or EXIT key words to stop processing and come out of that program. otherwise try to use Leave Program ..etc.
Thanks,
Jyothi
‎2008 Nov 12 12:04 PM
If you want to validated the selection screen input the validate in event
AT SELECTION-SCREEN OUTPUT trigger an error message by pop-up MESSAGE e'error message' display like 'I'
else trigger the message when your require in the program flow.
Thanks,
PS: Messages Behave differently in different to know about that hit f1 on message
‎2008 Nov 12 12:05 PM
Hi,
After displaying the popu-up you can use the keywords EXIT or RETURN if you are processing in the main program otherwise use the code: LEAVE SCREEN. or LEAVE TO SCREEN 0. or LEAVE PROGRAM.
Regards,
Saba
‎2008 Nov 12 2:11 PM
thanks all!
I'm trying this two alternatives:
- message e'num_messate' display like 'I'
- RETURN after the popup message
now I have to understand what is better solution in my program
‎2008 Nov 13 11:07 AM
throw a Status or an Information message and use statement "Leave List-processing"
cheers
ran