Application Development and Automation 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: 
Read only

data validation while entering data in SM30

Former Member
0 Likes
2,395

Hello Gurus,

I have a custom table, I would like to validate the user's data entry, to make sure they enter upper case letter, in SM30. Please provide the code and place, where I need to make the changes.

Thanks,

Dav.

4 REPLIES 4
Read only

Wil_Wilstroth
Active Participant
0 Likes
852

Hi David,

If you Google it, you will see it giving lots of links and tips and here's 1 link i found:

Thanks,

Wilstroth

Edited by: william wilstroth on Oct 22, 2010 3:07 PM

William Wilstroth
Read only

Former Member
0 Likes
852

Hi,

Please search SDN before posting any query.

In your table maintainence generator you have to create events( Environment --> Modifications --> Events). There are different events which you can use based on your requirement.

Thanks & Regards,

Faheem.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
852

Hello Dav,

I'm sure you must be knowing this, anyway no harm in re-iterating. In SAP if the domain has "Lower Case" checkbox enabled, then the text will be case-sensitive. Otherwise the text is always stored in Upper Case or Capitals.

Does the domain of the field(s) you want to validate have the "lower-case" checkbox enabled? If yes, you've a case in hand otherwise no need of validation.

BR,

Suhas

Read only

Former Member
0 Likes
852

Hello David,

Some of the options for validating the entries.

You can use the events like in the Table Maintenance Screen ->Environment->Modification->Events and create events for validating the entries after the Table maintenance is created.

One more option is like you can add your validation code in the flow logic (PAI of the screen) generated when Table maintenance is created.

Regards,

M M Jaffer.