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

ASAP:Declaration

Former Member
0 Likes
624

Hi in one of the codn am not sure wat value is getting populated it contains alphabhets and numbers.Like MA99900.This may vary.For this purpose i have to check as

Check variable CA 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'.

Is there any other simple way to this instead of typing all alphabhets.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
574

Hi ,

To check for alphabets you can use sy-ABCDE.

Not sure what exactly do you want to check , what other value can the varaible have.

Regards

Arun

4 REPLIES 4
Read only

Former Member
0 Likes
574

Hu,

Use SY-ABCDE to check all alphabets.

if str CS SY-ABCDE....

regards,

Subramanian

Read only

Former Member
0 Likes
575

Hi ,

To check for alphabets you can use sy-ABCDE.

Not sure what exactly do you want to check , what other value can the varaible have.

Regards

Arun

Read only

0 Likes
574

The variable contains both Alphabhet and numbers.In this case how to check?

Read only

0 Likes
574

Hi,

Chk likes this:

if str ca sy-abcde or str ca '0123456789'.

"successful

else.

"error

endif.

regards,

Subramanian