05-16-2017 5:14 PM
DATA: TXTFLDNUM(10) TYPE C,
TXTLBLVAL(10) TYPE C,
lv_num(10) type C.
.............
call SCREEN 100.
............
MODULE check_value INPUT.
IF TXTFLDNUM EQ '0000000000'.
MOVE '0000000000' TO TXTFLDNUM.
ENDIF.
ENDMODULE. " CHECK_VALUE INPUT
05-16-2017 7:49 PM
The field TXTFLDNUM is declared as a type 'C'. The initial value for 'C' types is not '0' but space. Hence your if condition will not be true. Try modifying the if condition to 'is initial'.
Thanks,
Vikram.M