‎2008 Feb 06 11:03 AM
Hi......,
I am having two fields in report namely as Quantity and Quantity1 holding quantity values from different tables.
I am getting the subtotoals of these two quantity fields.
Now these subtotal value I have to subtract
Quantity - Quantity1 and I have to put the result in another column as Delta.
I tried with this logic but it is not working.
v_quantity = gr_agg->add_aggregation( 'QUANTITY' ).
v_quantity1 = gr_agg->add_aggregation( 'QUANTITY1' ).
v_date = v_quantity - v_quantity1.
Please guide me on this same as soon as possible.
Thanx,
Jay......
‎2008 Feb 06 11:08 AM
Hi,
You can do one thing first you add one more column to your internal table of type quanity and modify this column with values quantity - quanity1, then get the subtotals for all the three columns..
Rgds,
Bujji