2008 Mar 25 2:00 PM
Hi Experts,
I have one internal table in that Name is one field(char type) .
some records have upper case,
some in lower case,
some are mixed.
in selection screen i am entering the name and i am serching the record using search button.
i am using code like as below,
loop at itab where name cs name.
endloop.
cs operator is not working properly.
can any body tell me how to do this.
thanks in advance.
tharangini.
Hi Experts,
I have one internal table in that Name is one field(char type) .
some records have upper case,
some in lower case,
some are mixed.
in selection screen i am entering the name and i am serching the record using search button.
i am using code like as below,
loop at itab where name cs name.
endloop.
cs operator is not working properly.
can any body tell me how to do this.
thanks in advance.
tharangini.
2008 Mar 25 2:11 PM
first of all change both the strings into one comman case like uppercase or lowercase.
TRANSLATE w-string2 TO LOWER CASE.
or
TRANSLATE w-string2 TO UPPER CASE.
then do the search operation in internal table.
2008 Mar 25 2:13 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |