on 09-29-2008 8:58 PM
A field value is coming in caps.
lf_tmp = u2018RMu2019.
I have to check this with another field lf_werks ,which always comes in small letters.
if lf_tmp CN lf_werks .
MESSAGE e002(zm) WITH 'The Path is wrong for the plant'
p_werks.
ENDIF.
This check always fails even if the values are like belowu2026
lf_tmp = u2018RMu2019.
lf_werks = u2018rmu2019.
How do I by-pass this case sensitiveness u2026.when I want to do the check.
thanks in advance
Convert yout lf_tmp into the Lowercase and than do the comparision.
Like:
TRANSLATE IF_TMP TO LOWER CASE.
if lf_tmp CN lf_werks .
MESSAGE e002(zm) WITH 'The Path is wrong for the plant'
p_werks.
ENDIF.
Regards,
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.