cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a total row in a DynPro table ?

Former Member
0 Kudos

Hello,

I've created a standard table in DynPro which consist two lines: One indicating a certain count and the other indicating a certain amount. I would like to create at the end of the row a total row which will sum it's relevant column. How can I do it without summming each row manually at the code and how do I add another row at the end which will indicate the total?

Roy

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Roy,

Refer this tutorial for calculating the total in the WD table

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/de... with tables in web dynpro.pdf

Regards,

Jaydeep

Former Member
0 Kudos

Hello Jaydeep,

10X but I am already familiar with this tutorial, it explains how to create a total in label not in a static table row...

Roy

gregorw
Active Contributor
0 Kudos

Hi Roy,

currently it seems that you have to code it manually. Regarding to this an ALV Functionality of the Web Dynpro Table control is not yet available. Try also searching for total and table here in the Web Dynpro forum.

Regards

Gregor

Former Member
0 Kudos

OK than I'll do it manually I guess...

But how do I add a column to the table through code and is it possible that it will be statcic,, meaning will stay when I roll down to other rows?

Roy