cancel
Showing results for 
Search instead for 
Did you mean: 

To check characters only ...

nandishm
Participant
0 Kudos

I Have one field Ex:- Name..... i must validate so that it contains only characters ...  Is there any method or keyword to check variable

So that it doesn't contain any other except character .

Accepted Solutions (1)

Accepted Solutions (1)

Florian
Active Contributor
0 Kudos

Hi nandish,

you just can use a if statement:


IF <yourvariable> CO sy-abcde.

ENDIF

Link to explaination:

Comparing Strings - BC - ABAP Programming - SAP Library

~Florian

PS: You might yhould work thorugh this blog too

Answers (0)