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

ALV subtotal

Former Member
0 Likes
815

Hello experts,

I have a small issue.

When i am subtotaling on a particular field in ALV that field value turns white. I need the normal black instead of white.

What should i be doing?

code :

f004_ls_sort-fieldname = 'XBLNR'.

f004_ls_sort-spos = 2.

f004_ls_sort-down = 'X'.

f004_ls_sort-subtot = 'X'.

thanks in advance,

Amit Kurup

Hello experts,

I have a small issue.

When i am subtotaling on a particular field in ALV that field value turns white. I need the normal black instead of white.

What should i be doing?

code :

f004_ls_sort-fieldname = 'XBLNR'.

f004_ls_sort-spos = 2.

f004_ls_sort-down = 'X'.

f004_ls_sort-subtot = 'X'.

thanks in advance,

Amit Kurup

6 REPLIES 6
Read only

abdul_hakim
Active Contributor
0 Likes
788

Hi Mirza,

you no need to code for determining the subtotals.

instead you could use the corresponding buttons in the tool bar of ALV.

Cheers,

Abdul Hakim

Read only

0 Likes
788

hi, the customer needs the subtotals by coding.

that is why i have coded it there.

and now the field values are white and total in the end is black...

Read only

0 Likes
788

hi mirza,

normally the key field values will appear with blue background and the others will appear with white background in ALV.

i dont think there will be black ground.

Cheers,

Abdul Hakim

Read only

0 Likes
788

HI

GOOD

I DONT THINK THERE WOULD BE ANY PROBLEM IN THE CODING,BECAUSE THERE SHOULD NOT BE ANY KIND OF PROBLEM IN THE CHANGAING THE COLOR OF YOUR SUBTOTAL FIELD.

TRY TO CHECK THE PROGRAM THROUGH BREAK POINT WHEATHER THEER IS ANY CHANGES HAPPENING WHEN YOU R PRINTING THE SUBTOTAL VALUE.

THANKS

MRUTYUN

Read only

Former Member
0 Likes
788

Hi,

I think below threads will solve your problem:

<b>Reward if helpful</b>

Rgds,

Shakuntala

Read only

Former Member
0 Likes
788

Hi

Make sure for the field u add up u have properly build the field catalog. Make sure u mention reference field and reference column in the field catalog.