Skip to Content
avatar image
Former Member

Overflow Problem

Hello...

I am facing a problem with the value overflow... actually the field is TCURR-UKURS (Decimal 9,5) When I sum all the values in the table its giving me value overflow error. I have tried with taking F / P type varaible the problem is when I again move this value to table TCURR-UKURS then its giving me same error...

Any idea... how can I solve this....

Thanks & Regards

Ankur Jain

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    May 11, 2006 at 11:37 AM

    use another data element whose length is greater than 9,5

    may be 17,2

    the error had occured bcoz u had used COLLECT statement in the program and when summed up the amount value had increased than the defined lenght

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 11, 2006 at 11:29 AM

    You cannot populate a value higher than what TCURR-UKURS can hold. So moving from type P varialbe to TUCRR-UKURS is not going to be of any help.

    If you are selecting enties from DB TCURR and doing some additions then i would suggest you to keep your target structure with field of type p instead of TCURR-UKURS.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      target structure with field of type p instead of TCURR-UKURS

      becoz no of digit ur total sum may be greter than field lenght of TCURR-UKURS

  • May 11, 2006 at 11:27 AM

    See if your program attributes is having the check box for Fixed -point arithmentic checked or not.

    If not, check the check box now.

    If you are sure that the field you are talking about, is really not capable of holding the total value, then we cannot do much about it.

    REgards,

    Ravi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 11, 2006 at 11:38 AM

    HI

    GOOD

    CREATE YOUR OWN TABLE USING THIS FIELD AND IF YOU FEEL THAT THE SIZE OF THE FIELD SHOULD INCREASE THAN INCREASE THAT, GET THE VALUE FROM THE TCURR TABLE AND USE IN YOUR REPORT.

    THANKS

    MRUTYUN

    Add comment
    10|10000 characters needed characters exceeded

  • May 11, 2006 at 12:32 PM

    Hi ankur,

    You can use your own data field and then pass the value of tcurr-ukurs to that data field. use decimal as 15,5. i think this is sufficient.

    Regards

    Sumit Bhutani

    Add comment
    10|10000 characters needed characters exceeded