2008 Nov 11 2:10 PM
hi, everyone
i write a interface program which required me to check one field that is numneric not alphabet, is there some function or statement to resolve this problem?
means that if the filed value is '123456', then it is right,
if the field value is '123abc' or 'abcde', then is not right, and i will output a error message that' this field must be numeric"
2008 Nov 11 2:14 PM
Hello,
Process on this condition.
if field co '1234567890'.
<process>
endif.
Hope it helps.
Thanks,
Jayant
Hello,
Process on this condition.
if field co '1234567890'.
<process>
endif.
Hope it helps.
Thanks,
Jayant
2008 Nov 11 2:14 PM
Hello,
Process on this condition.
if field co '1234567890'.
<process>
endif.
Hope it helps.
Thanks,
Jayant
2008 Nov 11 2:14 PM
no need of using a FM
all you need to write a small logic..
if string CA Sy-abcde.
write:/ 'wrong'.
else.
write: 'right'.
endif.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |