Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error Message Display

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.

Tags:
Former Member
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question