Application Development 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: 

ALV

Former Member
0 Kudos
65

Hi......,

My requirement is I have to subtract the subtotals of two columns (i.e. Quantity) and I need to display the result (after subtraction) in the another column(i.e. Delta).

At last I need to diplay number of record count processed by report.

Please guide me on the same.....

Thanx,

Jay

1 REPLY 1

Former Member
0 Kudos
52

Hi jay,

Store the two values in two subtotals in different variables say q1, q2 and place the substracted value in q and print it.

To get the no of records processed in the report, give a count ie

if sy-subrc = 0, val = val+1. in loop and finally print the val.

tyr it.