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 Handling in ME_REQ_POSTED BADI

Azeemquadri
Contributor
0 Kudos

Hello Gurus,

I have to display an error message in ME51N and ME52N.

I am using the BADI ME_REQ_POSTED to do that.

My problem is that my error is type E .

After this error is correctly displayed I am unable to change any field values as all the fields are grayed out. How do I change any values after this error message.

I am using type E error because I do not want user to save the transaction with error values. But I want to allow user to make changes after the error message is displayed.

Thanks

4 REPLIES 4

Former Member
0 Kudos

Hi,

Please collect the messages, and then display them

0 Kudos

How do i Collect the messages and disply them . Will this enable the user to change values on screen after the error message is displayed.

0 Kudos

Hi,

You can through the status message instead of error msg and try to keep the control in the transaction.

message s000(ZMSG).

leave to screen sy-dynnr.

message s000(ZMSG).

so that the control will be in the transaction and yiou can modify the fields as well.

With Regards,

Dwarakanath.S

0 Kudos

When I use message type S instead of E the transaction is saved with error values. I do not want to save the transaction with error values.