Skip to Content
0
Former Member
Jun 19, 2014 at 10:59 AM

Comparing field values before saving in custom table

79 Views

I have to create an event in the Table Maintenance Generator to compare the "From" and "To" fields of a table.

The "From" value should be lesser than the "To" value. (This part is easy)

But, the values can have '*'(star) also. eg. 2* or 4* or 22*. [which means values starting with 2 or 4 or 22]
How can I compare these values before saving an entry in the custom table?

Also in the Function Module I have an import parameter whose value should lie between this range to populate the exporting parameter.

How can I check that, if the table entries contain '*'(star) values?