‎2012 Feb 22 4:40 AM
Hi,
I have used 4 tabstrips inside one main screen and created 4 subscreens for those 4 tabs. Now when i show an error message using MESSAGE SXXX , it just shows the message in info format and continues with the further code. If i use the format MESSAGE EXXX then it freezes the subscreen right there.
My requirment is that to show an error message which wont execute the further code and will retain the values filled by user.
I cant use MESSAGE SXXX TYPE 'E' and LEAVE TO SCREEN SY-DYNNR as they are subscreens and not screens.
Please help.
‎2012 Feb 22 5:54 AM
Hi,
Error messages always stops the execution and freezes the screen. Instead you display the message in this format.
MESSAGE ID 'ZDM_MESSAGE_GENERIC' TYPE 'S' NUMBER 001 DISPLAY LIKE 'E'.
or use type W
thanks and regards.
Aswath.
‎2012 Feb 22 5:54 AM
Hi,
Error messages always stops the execution and freezes the screen. Instead you display the message in this format.
MESSAGE ID 'ZDM_MESSAGE_GENERIC' TYPE 'S' NUMBER 001 DISPLAY LIKE 'E'.
or use type W
thanks and regards.
Aswath.
‎2012 Feb 22 6:24 AM
Hi,
Try using message class.
MESSAGE e<msg_no> (<msg_class_name>).
Regards,
Sharin
‎2012 Feb 22 6:36 AM