Skip to Content

Screen Field Problem in Module Pool

I have a scrren field of type DEC and the variable linked to is of type I.Now if the value is '0' then if the screen field is read only the value is shown but if its editable value is not shown.

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 05:56 PM

    Hi,

    Try entering conversion exit 'NUMCV' in the screen field attributes. This field attribute is within the "Dict" tab/attribute section with the label "Conv.Exit". All you need to do is enter NUMCV in this field attribute (for the type DEC screen field in question) and then activate your screen.

    This worked for me when I tested it. Before adding the conversion exit, my DEC field (with reference to a type I variable) was blank. After adding the conversion exit NUMCV, the zero appeared in my entry field. Notice that if the field were not open for input the zero would show up even without the conversion exit.

    <i>Note: If NUMCV does not work out for you, then there might be a better conversion exit, or (even more fun) you could write your own conversion exit.</i>

    Best Regards,

    James

    Add comment
    10|10000 characters needed characters exceeded