I have written the query
WHERE bukrs = zcompany_code AND
pymen = zpayval.
Ex:- zcomp_code = 'SCCC'
zpayval = 'Bill Payment'
Now sy-subrc becomes 4 because internally in the program Bill Payment gets converted in to upper case and does not match with the same lower case in the data base. I want to avoid the internal conversion. can anybody suggest me how??