2008 Jun 19 7:48 AM
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.
2008 Jun 19 7:52 AM
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
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.
2008 Jun 19 7:50 AM
Hu,
Use SY-ABCDE to check all alphabets.
if str CS SY-ABCDE....
regards,
Subramanian
2008 Jun 19 7:52 AM
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
2008 Jun 19 8:06 AM
The variable contains both Alphabhet and numbers.In this case how to check?
2008 Jun 19 8:12 AM
Hi,
Chk likes this:
if str ca sy-abcde or str ca '0123456789'.
"successful
else.
"error
endif.
regards,
Subramanian
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |