‎2006 Dec 20 4:17 AM
I m building a custom screen for characteristics .
If i refer the same dataelement for my screen wont be the validation done automatically.
i.e for characteristic name field i m refering the same dataelement as in CT04, in standard screen its not allowing the special character but in my screen its allowing.
I want to know whether we have to do validation even though we refer a standard dataelement.
Thanks in advance.
‎2006 Dec 20 4:21 AM
The screen field for Characterstics is Char data type. So it takes all the characters including special characters so Do some validation in ur program.
‎2006 Dec 20 4:28 AM
write some code in PAI of screen like -
IF f_pernr cn 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ '.
MESSAGE E000(000) WITH 'WRONG VALUE'.
ENDIF.
‎2006 Dec 20 4:30 AM
the domain ATNAM is char 30 field so it is taking any value .
you have to validate as per your screen field.
regards
shiba dutta