‎2011 Aug 11 2:27 PM
hai ,
i have one doubt . do-sum is possible on numeric field . when i tested there is no effete .please tell me if any body knows about it .
Thank you ..
‎2011 Aug 11 2:33 PM
‎2011 Aug 11 2:35 PM
‎2011 Aug 11 2:39 PM
Hi,
Please can you copy your code.There should not be any problem with do_sum (DO_SUM will accept SPACE or X , are you passing either of this), if you are using ECC6.0
Thanks,
Anitha A
Edited by: Anitha A on Aug 11, 2011 9:43 AM
‎2011 Aug 11 2:44 PM
IN fieldcatalog perform , i made the line as bold .please can you see it once .
<removed by moderator>
Moderator message: please post only relevant code parts, your posts must contain less than 5000 characters to preserve readable formatting.
Edited by: Thomas Zloch on Aug 11, 2011 4:57 PM
‎2011 Aug 11 2:47 PM
Hi,
Change this: wa_fcat-do_sum = 'TRUE'. --> wa_fcat-do_sum = 'X'.
Thanks,
Anitha A
‎2011 Aug 11 2:51 PM
wa_fcat-fieldname = 'EMPSAL'.
wa_fcat-do_sum = 'TRUE'. " empsal is numaric field
wa_fcat-outputlen = '12'.
wa_fcat-seltext_m = 'EMPSAL'.
wa_fcat-emphasize = 'X'.
*wa_fcat-edit = 'X'.
APPEND wa_fcat to lt_fcat.
CLEAR wa_fcat.
the above code is changed as per your advice . but still not getting out put .
i added the above table in the alv grid .
thanks ,
srikanth .
‎2011 Aug 11 3:01 PM
Srikanth,
wa_fcat-fieldname = 'EMPSAL'.
wa_fcat-do_sum = 'X'. " change this
wa_fcat-outputlen = '12'.
wa_fcat-seltext_m = 'EMPSAL'.
wa_fcat-emphasize = 'X'. "Wrong you are pssing check below -This is for your understanding nothing do with DO_SUM
u can use EMPHASIZE(highlight columns colour).
FIELDCAT-EMPHASIZE = 'Cxyz'. (like it should be 'C110')
where C : Color (coding must begin with C)
x : color number (1-9)
y : bold (0(Zero) or 1)
z : bold (0(Zero) or 1)
*wa_fcat-edit = 'X'.
APPEND wa_fcat to lt_fcat.
CLEAR wa_fcat.
Thanks,
Anitha A
‎2011 Aug 11 3:05 PM