2008 Jan 02 4:37 PM
Hi All,
I have a requriemnt where i need to make sure there are no special characters allowed
in a paremeter ( is there any functional module to check it)
r anyway to work with
Thank in advance for u replies.
Regards,
Riyaz.
2008 Jan 02 4:41 PM
Hi All,
I have a requriemnt where i need to make sure there are no special characters allowed
in a paremeter ( is there any functional module to check it)
r anyway to work with
Thank in advance for u replies.
Regards,
Riyaz.
2008 Jan 02 4:41 PM
2008 Jan 02 4:44 PM
2008 Jan 02 4:45 PM
Hi Farooq,
Check this.
Its a very simple way.
DATA : TEMP(10) VALUE 'sam@'.
IF TEMP Ca '@#$%^&*'.
WRITE : 'SPECIAL CHARACTER'.
ELSE.
WRITE : 'NO SPECIAL CHARACTER'.
ENDIF.
Thanks.
2008 Jan 02 4:47 PM
DATA: vergleich_string(100) VALUE
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.
CONCATENATE vergleich_string ' 1234567890,./!@#$%&*-_+=~|\[{]}()"'
INTO vergleich_string.
use condition.
if var ca vergleich_string.
raise error message.
endif.
2008 Jan 02 4:53 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |