09-29-2008 11:12 AM
Hi,
I want to display an initial value of DEC field in an input mode on a screen.
Zero values of a screen fields type DEC are only visible when property is set to "no input".
Helpful tips will be appreciated.
09-30-2008 7:18 AM
Hi Michal Michalski,
I tested and tried.
I think it is not possible.
Same is applicable for CURRENCY and QUANTITY fields.
Regards,
R.Nagarajan.
09-30-2008 9:26 AM
i had got the same problem
u need to define separate screen field as a character
and after calculating assign your numeric field to screen field,
at the time of validation
CONDENSE charvalue NO-GAPS.
IF NOT charvalue IS INITIAL.
IF NOT charvalue BETWEEN '0' AND '999'.
CLEAR charvalue.
MESSAGE E398(00) WITH 'Please enter numeric Value'.
ENDIF.
ENDIF.
use this code.
for user to prevent from entering character value
Regards
Alpesh