Dear All,
Please see the below code.
tables : LFM1. data : w_menge(16) type c. LFM1-LFABC = 'X'. W_MENGE = '0.499'. IF LFM1-LFABC NE SPACE AND W_MENGE NE 0. write :'SUCCESS'. else. write : 'FAIL'. endif.
In the above code if the value of W_MENGE >= 0.5, the If condition gets satisfied and SUCCESS is displayed on screen.
But if the value of W_MENGE < 0.5, the codtion fails, and FAIL is displayed on screen.
Can any one please tell me the reason?
Regards
Arindam