Skip to Content
1
Former Member
May 23, 2016 at 04:30 PM

Data getting saved after error message in the table maintenance generator

1690 Views

Hi ,

I have TMG and maintenance view FOR Z TABLE.

I would like like to validate the user entered values with database saved values.

I am using event 01 before save ,and successfully raising error message based on the condition.

The issue is after error message, data getting saved.

please suggest me how to stop.

Below code have written,

MESSAGE ' SHOUL BE NOT LIES BETWEEN' TYPE 'S' DISPLAY LIKE 'E'.

vim_abort_saving = 'X'.

sy-subrc = 4.

EXIT.

suggest me what else need to take care for stop the saving .

Thank you.

Regards,

Shivaji.