cancel
Showing results for 
Search instead for 
Did you mean: 

Overflow Problem

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (4)

Answers (4)

sbhutani1
Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

former_member181962
Active Contributor
0 Kudos

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