Skip to Content
author's profile photo Former Member
Former Member

Regarding DataType

Hi,

I am designing a module pool. i have taken the variable in the DB table type as

zmppmtr-wpfffm as QUAN(10)

zmppmtr-wpfffm_calc as QUAN(10)

and i have taken a dummy i/o field and declared that as WPFFFM TYPE I.

My problem is when i am calculating the zmppmtr-wpfffm_calc by giving the value zmppmtr-wpfffm less than wpfffm then it is giving a dump. i.e it is not accepting negative values... the dump is like follow ..

Short text

Conversion error

Error analysis

The program has been interrupted and cannot resume.

Program "ZMPPMTRRD" attempted to display fields on screen 2000.

An error occurred during the conversion of this data.

Can u kindly tellme the solution ...

Waiting for ur reply...

Regards

Srinath

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2008 at 12:42 PM

    HI,

    To allow negative values on a screen you must enter something like this in the screenpainter for screen 2000:.

    ___________V

    This will allow room for your negative sign.

    Regards,

    John.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2008 at 08:16 PM

    Hi,

    Try this..

    Open for the Domain of the Field zmppmtr-wpfffm_calc in DDIC, and check the Checkbox SIGN under the "definition" tab of the Domain.

    Hope this should work....

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 31, 2008 at 12:27 PM

    Thanx All....

    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.