Skip to Content
0
Former Member
Dec 02, 2011 at 03:30 PM

Compare Hex and Char Values

1021 Views

Hi Folks,

I have a variable, lv_hash TYPE c LENGTH 1 VALUE '#'. and a constant, c_hidden_tab(2) TYPE x VALUE '0023'.

When I look in my debugger, the Hex value of both of these fields is 0023 but when I do the following code, it says they are not the same. What am I doing wrong?

IF lv_hash = c_hidden_tab.