Application Development 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: 

How to understand variable contains a ABCDE....any of characters

Former Member
4 REPLIES 4

Former Member
0 Kudos

if var1 CA 'ABCDE'.

ENDIF.

or if you want to check from A to Z....

use the FM NUMERIC_CHECK...

Former Member
0 Kudos

Hi,

constants:c_char(26) type c value 'ABCDE.....'.

If var CA c_char.

Endif.

Cheers,

Bujji.

Former Member
0 Kudos

hi

diclare a variable like syst-abcde(v_abcde).

then check this with your variable

if va ca v_abcde..

Reward if it is ok.

Thanks

Siva Kumar

Former Member
0 Kudos

hi,

try like this to find any of the characteter is present in u r variable

IF VAR CA SY-ABCD.

*/ U R CREQUIREMNT

ENDIF

DONT FORGET TO REWARD IF HELPFUL