‎2010 Oct 22 7:19 AM
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.
‎2010 Oct 22 8:01 AM
‎2010 Oct 22 8:29 AM
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.
‎2010 Oct 22 8:58 AM
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
‎2010 Oct 22 10:16 AM
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.