Application Development and Automation 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: 
Read only

Screen Field Problem in Module Pool

pankajs_dwivedi
Participant
0 Likes
420

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.

1 REPLY 1
Read only

Former Member
0 Likes
352

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