Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Display zero value of DEC field type on a screen.

Former Member
0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

Hi Michal Michalski,

I tested and tried.

I think it is not possible.

Same is applicable for CURRENCY and QUANTITY fields.

Regards,

R.Nagarajan.

Former Member
0 Kudos

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