0
Former Member
Jul 21, 2009 at 06:37 AM

# DO_SUM = 'X' Problem .

25 Views

Hi Everbody .

I want to sum FIYAT field . But I dont sum . I think problem is data type but I dont find

My code is here :

```"Database Table :
ZYEMEKSIPARIS
FIYAT                 CURR    15           2       " ref  --> wears
WEARS                 CUKY     5           0

" Fieldcat
WHEN 'FIYAT'.
gt_fcatsip-seltext_s = 'F.'.
gt_fcatsip-seltext_m = 'FIY.'.
gt_fcatsip-seltext_l = 'FIYAT'.
gt_fcatsip-just = 'L' .
gt_fcatsip-ref_tabname = 'ZYEMEKSIPARIS'.
gt_fcatsip-do_sum      = 'X' .
gt_fcatsip-cfieldname  = 'WEARS'.

" itab
data : begin of itab occurs 0
fiyat like ZYEMEKSIPARIS-fiyat ..
```