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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.