09-15-2008 6:34 AM
Hello Friends,
I am using user exit MM06E005 to display Error message when there is no tracking number maitained in ME21N transaction. But it is forcing me to re-enter the whole data,means i am almost all thrown out of transaction. But i need to display error message at the bottom of the screen r in pop up screen but i should be able to proceed further with out re-enter the data but after correcting the error.
How to do thid . is there any function module to display error message or is there any way to restrict transaction not to throw me out.
Pls suggest.
Kumar.
09-15-2008 6:48 AM
Hi Kumar,
u have to creat a massage class and
declair it in report like
REPORT ZDTK_FI_CRDB NO STANDARD PAGE HEADING
LINE-COUNT 65(5)
LINE-SIZE 80
MESSAGE-ID ZTAR_FI
.
and u can display the error massages where u need like
*IF SY-SUBRC <> 0.
*MESSAGE E002.
*LEAVE LIST-PROCESSING.
*ENDIF.
Regards,
Tarun
09-15-2008 6:48 AM
Hi Kumar,
u have to creat a massage class and
declair it in report like
REPORT ZDTK_FI_CRDB NO STANDARD PAGE HEADING
LINE-COUNT 65(5)
LINE-SIZE 80
MESSAGE-ID ZTAR_FI
.
and u can display the error massages where u need like
*IF SY-SUBRC <> 0.
*MESSAGE E002.
*LEAVE LIST-PROCESSING.
*ENDIF.
Regards,
Tarun