2010 Jun 17 10:11 AM
Hi frnds,
I want to display the error mesg or success msg in a dialogbox with ok button through module pool,
Pls help me any one.
Thanks in advance.
2010 Jun 17 10:17 AM
Try this code snippet:
For success message:
MESSAGE 'Success' TYPE 'I' DISPLAY LIKE 'S'.For error message:
MESSAGE 'Error' TYPE 'I' DISPLAY LIKE 'E'.
LEAVE TO SCREEN 0.Else you can use the FM 'POPUP_DISPLAY_MESSAGE'. Details can be found on SDN.
Hi frnds,
I want to display the error mesg or success msg in a dialogbox with ok button through module pool,
Pls help me any one.
Thanks in advance.
2010 Jun 17 10:17 AM
Try this code snippet:
For success message:
MESSAGE 'Success' TYPE 'I' DISPLAY LIKE 'S'.For error message:
MESSAGE 'Error' TYPE 'I' DISPLAY LIKE 'E'.
LEAVE TO SCREEN 0.Else you can use the FM 'POPUP_DISPLAY_MESSAGE'. Details can be found on SDN.
2010 Aug 26 8:02 PM
2010 Jun 17 10:26 AM
Hi,
You can also try using the FM POPUP_TO_DISPLAY_TEXT , POPUP_TO_CONFIRM.
Goto SE37 and give POPUP_TO* and find the similar FM
Regards
2010 Jun 17 11:57 AM
Hi,
Check this example in SAP:
DEMO_MESSAGES -
> This is a good example of displaying messages given by SAP.
For more information on messages please visit this link:
http://help.sap.com/saphelp_nw04/helpdata/en/91/dec863880411d194cb0000e8353423/content.htm
This will tell you the complete status of each messages in the ABAP with its displaying position on the screen.
May this information helps you.
Thanks
Deepak Sharma
2010 Jun 17 12:03 PM
2010 Jun 17 12:16 PM
Thanks for u'r replays,
Hi,
What is RF programs and explain
Thanks in advance.
2010 Jun 17 12:49 PM