‎2006 May 25 1:57 PM
Hi,
I wanted to validate the entries of custom table fields through custom code with custom messages for wrong entries.Werein the PAI do i need to change the code or modify the code?
Pls post ideas for this.
Thanks,
Stock
‎2006 May 25 1:59 PM
Hi stock,
1. In PAI first of all write
MODULE MYABC.
2. Define one module (in any include , or top include, or main program itself)
MODULE MYABC INPUT.
ENDMODULE.
3. inside this module,
write your code :
a) check of save okcode
b) do validations
c)if validations not ok, u can issue message of type 'E'
regards,
amit m.
‎2006 May 25 3:47 PM
Are you using standard maintenance or your own custom code for maintaining entries in this table?
‎2006 May 25 3:53 PM
if you are maintaining the table maintenance generator
then just write the code for the custom events available
goto utilities ->Table Maintenance Generator->Utilities->Modification->Events
Here you can write code for any validation you require in your custom table fields
‎2006 May 25 3:57 PM