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?

Hi,

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:

http://help.sap.com/saphelp_47x200/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm

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,

Peter

Tags:
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.

Max

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