Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Error Message Display

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

1 REPLY 1

Former Member
0 Kudos

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