Skip to Content
0
Former Member
Aug 15, 2015 at 05:22 PM

help regarding a program using string operations.

16 Views

i am a student and i have a question.I wrote a simple program

PARAMETERS PHONE(10) TYPE N.

AT SELECTION-SCREEN.

IF

PHONE CS SY-ABCDE.

MESSAGE 'PLZ AVOID CHAR' TYPE 'E'.

ELSE.

MESSAGE 'VALID PHONE NO' TYPE 'I'.

ENDIF.

As special characters are also strings,so when i input special characters it says valid phone no.

So how to write a program where it can restrict even the special characters?