2008 Dec 18 9:10 AM
Hi,
Is there any data type which contains all special character like @,#,$,%,^,&,*. I have to remove those records which contains these characters. I can use CA string operator. But is if there any better option then please help me.
Thanks,
Sandeep Garg
2008 Dec 18 9:11 AM
Hi Sandeep,
There are not special data types to handle these special characters. Its only datatype CHAR that is used.
Using string operators (CA, CS etc..) is the best option, as you would not miss any of those.
Best Regards,
Ram.
2008 Dec 18 9:11 AM
Hi Sandeep,
There are not special data types to handle these special characters. Its only datatype CHAR that is used.
Using string operators (CA, CS etc..) is the best option, as you would not miss any of those.
Best Regards,
Ram.
2008 Dec 18 9:15 AM
Hi,
There is no datatype which can support the above specified characters.
If u have to delete those records which contains these characters you can do it as
if var cs '@,#,$,%,^,&,*'.
delete it
end if
Hope it works out.
Thanks & Regards
2008 Dec 18 9:34 AM
Function module 'SCP_REPLACE_STRANGE_CHARS' replaces non-standard characters with standard characters.
INTEXT contains the text to be processed. The parameters passed must be of TYPE C. Blank characters at the end of INTEXT are not processed.
The result is written in OUTTEXT.
eg intext can contain special char like 'éñÉÍüúáéíó' then outtext will contain 'enEIuuaeio'.
if you do not want to replace,try to keep outtext as empty.
2008 Dec 18 9:41 AM
Hi,
I think no other option will serve you better than CA, as all these special characters belong to CHAR data type only.
By the way are having any problem while using CA??
Thanks
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |