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: 

ME51n, Message issuse

Former Member
0 Kudos

Hi friends,

I am using BADI ME_REQ_POSTED for Purchase requisition, I am validaing some fields & raising error message, but after raising error message the screen is changing into Display mode, so I can't change that field, hw can I overcme this issuse.

MESSAGE e006(zmmenhancement).

The screen is grayed out I am unable to cahnge the value on screen, please tell is there any way to overcome..

Thanks,

Ravi.

3 REPLIES 3

Former Member
0 Kudos

Hi,

Usually When you display the error mesage then the screen will completely be grayed out. I think there will be no option to get the screen back as it was before the error message was displayed. The only option is to re-enter the transaction.

Regards,

Pramod

saranwin
Contributor
0 Kudos

Hi Ravikumar,

Before giving message clear the Field and give the message. Example :

If sy-subrc ne 0.

clear vbak-vbeln .

Message ' Error ' type 'E'.

endif.

Otherwise ....

There is some table to give the error message in the standard Program. You need to find that table and append the error message to that table. it will meet for you requirtment.

Please check the both ..

Regards,

Saran

Former Member
0 Kudos

Thx