Skip to Content
0
Former Member
Jun 17, 2015 at 06:36 AM

not stopping the further process when I generate the error message from class CL_ERROR_MSG

748 Views


Hi Experts,

I am working on User Exit. this is related to SD module. This user exit is checking the batch characteristics whenever we are saving the sales order.

In above exit, I am using the standard class CL_ERROR_MSG for generating the error messages.

By using method 'SET' of class CL_ERROR_MSG, I am creating the error messages.

By using method 'SHOW' of class CL_ERROR_MSG, I am showing all the error messages in a dialog.

Upto this it is working fine. But I can able to save the sales order even though I received the error messages. This will not happen for my requirement.

generally, whenevr we receive the error messages, the system should stop the further process of any transaction.

But this error messages are not stopping the saving of a sales order.

my requirement is How can we stop the saving of a sales order after generating the error messages from the above class.

Thanks

Nagireddy Alavala