Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Validation

Former Member
0 Likes
367

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.

3 REPLIES 3
Read only

Former Member
0 Likes
342

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.

Read only

Former Member
0 Likes
342

write some code in PAI of screen like -

IF f_pernr cn 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ '.

MESSAGE E000(000) WITH 'WRONG VALUE'.

ENDIF.

Read only

Former Member
0 Likes
342

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