Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

IF condition is not working in script

Hi ,

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 &regud-sknto& <> '0'

then print.

endif.

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 &regud-sknto& <> g_sknto

then print.

endif.

this is also not woking..

what is the problem? i am not able to identify...any help please..

Thanks,

Omkaram.

Tags:
Not what you were looking for? View more on this topic or Ask a question