i have field of length 9 as declared below.
ID(9) TYPE N,
this i need to check if it consists more than 8 digits it has to throw an error. this field should contain only 8 digits it should not contain 9 digits,
this is one condition for validation and we are not suppose to change the declaration as ID(8) TYPE N.
please help with code sample.