IF condition is not working in script
I have cash discount field in my script. I don't want to print that field ,if the value of that field is 0.
I tried giving the condition as
if ®ud-sknto& <> '0'
but it is not working.
I tried declaring another variable of same type and made the value as 0.
g_sknto = 0. (type regud-sknto)
if ®ud-sknto& <> g_sknto
this is also not woking..
what is the problem? i am not able to identify...any help please..