Application Development and Automation 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: 
Read only

Message

Former Member
0 Likes
295

Moderator message: please use more meaningful subject in future

Hi,

I have implemented one User Exit( Enhancement name: F180A001 ) For FB50.But when i fire any message of type 'E' in this user exit, one pop up comes and when i press 'OK' it throws me out of transaction.I want error message. and it should prompt user again for input.

Regards,

Mayank

Edited by: Matt on Nov 14, 2008 4:25 PM

1 REPLY 1
Read only

MarcinPciak
Active Contributor
0 Likes
272

Hi,

Each message has strictly defined behaviour depending on processing block within it is called.

E type message is one of these which it is safe to use in PBO and PAI, (for example input check to your screen fields). On the other hand, when you use it in other processing block (i.e. START-OF-SELECTION) it will leave the trasnaction or at least screen.

In your case therefore it is only possible to use other type message i.e. I which will let you to show the error but will return the control to the program. Though it is an information message it will prompt the message.

Please note, that type W messages are alike in behavior to E messages, thus you can't use them either.

Go to ABAP documentation and read about messages and their behavior in different blocks. There is kind of overview table which explicitly describes this.

Regards

Marcin