cancel
Showing results for 
Search instead for 
Did you mean: 

to create a fixed row in the bottom of table and to merge three columns

Former Member
0 Kudos

Hi,

I have a table displaying some values but is there any way to get a fixed row at the bottom which will sum the values above.

ie

service business jan feb mar april

table cut 900 100 100 200

chair blade 100 200 300 400

sum 1000 300 400 600

so the final row i need it to be constant even if i scroll down the table, this row should be always fixed and visible. and the table data are filled dynamically.. so i dont know the no of rows available as well.

How can I do it. Any insight on it will be helpful.

Thanks and Regards

Tenzin

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

CL_WD_TABLE - >SET_FOOTER_VISIBLE where you can provide that summation in the footer.

As you are calculating the sum there will be the Name for that field to hold summation value right.

Based on the name of that field you can set it to the footer by passing the necessary paramters to that

method.

How are you filling the table.

Regards,

Lekha.

Former Member
0 Kudos

Hi Lekha,

I am populating the table based on certain criteria selected. you give me a demo code as to how i can embed that fixed row in the current table?

Thanks and Regards

Tenzin

Former Member
0 Kudos

Hi,

Please check WDR_TEST_TABLE to have basic idea.

Regards,

Lekha.