Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to validate data entered in table maintenance for Z table?


I created a Z-table with table maintenance. I'd like to perform some validation on the entered data.

I know there are events for these : "If this pre-defined time is reached in extended table maintenance, the FORM routine specified for the current view and for this time is processed. This is useful, for example, for performing consistency checks before saving or specific actions when creating new entries."

I also found some info in the Online help:

However it's not clear which event I can use for validation.

I tried event 01, however when I added a message, in the SM30 in case of message, I got the SM30 initial screen.

Do you have any example about validation?

Thanks in advance,


Former Member replied

Hi Peter

A guy had your same problem, I suggested to use the event 21.

This event should be used to fill the hidden field, but you can use it to insert your validations too.

I did it and it works.


2 View this answer in context
Not what you were looking for? View more on this topic or Ask a question