Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding DO-SUM

Former Member
0 Likes
1,090

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 ..

8 REPLIES 8
Read only

Former Member
0 Likes
1,065

Hi,

What version of SAP you are using.

Thanks,

Anitha a

Read only

Former Member
0 Likes
1,065

iam using SAP ECC 6.0 version .

Read only

0 Likes
1,065

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

Read only

0 Likes
1,065

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

Read only

0 Likes
1,065

Hi,

Change this: wa_fcat-do_sum = 'TRUE'. --> wa_fcat-do_sum = 'X'.

Thanks,

Anitha A

Read only

0 Likes
1,065

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 .

Read only

0 Likes
1,065

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

Read only

0 Likes
1,065

Thanks Anitha .

Regards ,

Srikanth suvarna .