Skip to Content

kursf and type p

Hi Folks,

I have a field called kursf which is declared as rbkp-kursf.

The thing is that I am having an internal table itab which is having some data alng with kursf which I am summing it up using SUM.

In some instances it is giving dump with the below explanation.

Field too small when calculating totals in internal table.

************

In the internal table "\PROGRAM=ZFI\DATA=IT_HEADER[]", a SUM statement is used to calculate totals. However, the values are too large for the designated field.

The name of the field is "KURSF".

The name of the field is "KURSF".

***********

The field "KURSF" in the program "ZFI" be a different

type (e.g. type P of appropriate length).

Should I change the declaration of kursf as type p decimals 5?

Kindly let me know.

K.Kiran.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 17, 2007 at 04:56 AM

    KURSF is an Exchange rate, so the sum of kursf wouldn't mean much... something like

    "fx_rate(16)   type p decimals 5,"

    should give you plenty of space for your sum!

    Add comment
    10|10000 characters needed characters exceeded