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: 

Validating fields in SM30

Former Member
0 Kudos

Hi Experts,

I have requirement that I want to validate the Ztable fields while saving in SM30. Please help me how to do it?

5 REPLIES 5

SuhaSaha
Advisor
Advisor
0 Kudos

>

> Hi Experts,

>

> I have requirement that I want to validate the Ztable fields while saving in SM30. Please help me how to do it?

Hello,

You can define "check tables" for the table field & this should be sufficient. SAP will automatically make the validations.

Unless you mean some other "validation" to be done

BR,

Suhas

Former Member
0 Kudos

I want to explicitly validate the fields. In my ztable I have 5 fields, all needs to be validated before saving into table in SM30.

Former Member
0 Kudos

Hi,

May be helpful.

Goto the Function Group of the ZTABLE. Double Click the Screen and goto change mode.

You can code your validation after PAI.

Regards,

Aditya

Edited by: aditya on Oct 7, 2009 6:42 PM

Sm1tje
Active Contributor
0 Kudos

Table maintenance has several predefined EVENTS in which you can add some code for, like in your case, validating the data.