on 07-25-2007 3:41 PM
Is there a way to provide a total row in a table in VC? I'm retrieving a set of financial data via a remote-enabled function module, and I'd like to total it up at the bottom of the table. How do I accomplish this? Is it possible to do in VC without having to edit the function module?
Thanks,
Dan
Hi Daniel,
create an own ABAP RFC function module and call the other FM, then you can loop over the table and add the total row.
Best Regards,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK...We've decided to add a "TOTAL" row to the function module, and it works. Now, another problem....When the user sorts the fields by clicking on the column headers, the total row now doesn't stay at the bottom as we want it to.
Can you disable sorting on a table? I can't find it anywhere in VC.
Dan
Totals row
https://wiki.sdn.sap.com/wiki/display/VC/AddTotalsrow
Sorting table: turning it off
https://wiki.sdn.sap.com/wiki/display/VC/LockTableColumn+Header
Hi Daniel
Please go through the following links:-
http://help.sap.com/saphelp_nw04/helpdata/en/03/5f8340d990ce62e10000000a155106/frameset.htm
Message was edited by:
Navneet Giria
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Navneet,
Thanks for the information. Unfortunately, it's not what I was looking for. I was wanting to add a total row to the <b>same</b> table as the data, at the bottom.
Example Table:
Dept. #1 50.00$
Dept. #2 125.75$
Dept. #3 82.50$
<b>Total 258.25$</b>
The three detail rows would be returned from the function module. The total row is what I'm wanting VC to generate.
I really have no problem with getting the function module changed...I was just curious if the VC tool would allow what I'm wanting to do.
Dan
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.