2009 Nov 10 6:23 AM
Dear All,
I have 3 error messages i have to display all messages.
like in migo we get messages like Popup.
how to get that one.
2009 Nov 10 7:43 AM
HI
if u want to get as the MIgo u need to use the class as their is method available with cl_alv_grid* class.
if u want just like pop-up need to show as error then us the FM: POPUP_DISPLAY_MESSAGE.
and if the status found as error stop the process.
HI
if u want to get as the MIgo u need to use the class as their is method available with cl_alv_grid* class.
if u want just like pop-up need to show as error then us the FM: POPUP_DISPLAY_MESSAGE.
and if the status found as error stop the process.
2009 Nov 10 6:40 AM
Hi Karthik,
We can display all messages as you like...
Could you elobrate your requirement, are you developing any Report or Any Enhancements in Standard programs...?
You can display error messages as per your requirement....
However I will explain one scenario...
If the data is not available for specified conditions then it will display an error message 'Data is not avialble for selected criteria '
SELECT GUID_PRCTSC "Primary Key as GUID in "RAW" Format
GUID_PR "Primary Key as GUID in "RAW" Format
STCTS "Numbering Scheme for Customs Tariff System
DATAB "Definitive Date (Valid-From Time)
GUID_CTSNUMC "Primary Key as GUID in "RAW" Format
FROM /SAPSLL/PRCTSC
INTO TABLE T_PRCTSC
WHERE STCTS IN S_STCTS.
IF T_PRCTSC IS INITIAL.
MESSAGE : I007(ZMSSG) WITH 'Data is not avialble for selected criteria'.
STOP.
ENDIF.
You can also refer to the link below :
http://sapbrainsonline.com/sap-training/SAP-tutorial-pdf-material_332.html
Hope thsi answers your question...
You can serach in SDN, you will get many answers.
Regards,
Kittu
2009 Nov 10 6:42 AM
2009 Nov 10 7:43 AM
HI
if u want to get as the MIgo u need to use the class as their is method available with cl_alv_grid* class.
if u want just like pop-up need to show as error then us the FM: POPUP_DISPLAY_MESSAGE.
and if the status found as error stop the process.
2009 Nov 10 1:33 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |