2007 Oct 17 9:06 PM
Hi,
In internal table values are in uppercase. but the input value is in lowercase.
So i couldnt able to read that record. can any one tell me how to read internal table without considering case (lower or upper ).
Example:
read table <internal table> with key <field val> = <input val> .
In this filed val is in uppercase and input val is in lower case.
Regards,
Amal
Hi,
In internal table values are in uppercase. but the input value is in lowercase.
So i couldnt able to read that record. can any one tell me how to read internal table without considering case (lower or upper ).
Example:
read table <internal table> with key <field val> = <input val> .
In this filed val is in uppercase and input val is in lower case.
Regards,
Amal
2007 Oct 17 9:11 PM
Hi,
In abap the string is case sensitive..
So conver your input value to upper case ..and use it in the read table..
TRANSLATE v_string TO UPPER CASE.
Thanks
Naren
2007 Oct 18 4:42 AM
Hi
in ABAP what ever you give on selection screen by default it will take as UPPER CASE letter
if you want to change the input to a internal table then use TRANSLATE to trnslate that into UPPERCASE
<b>syntax</b>
TRANSLATE input val TO UPPER CASE.
<b>reward if usefull</b>
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |