Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8932

Re: Row wise total using ALV OOPS

$
0
0

Hi Ranjan,

 

As of my knowledge, there is no direct method to calculate Row wise totals, I believe.

 

If your requirement is as follow,

 

Col1      Col2     Col3     Col4

2          5          6          13

4          5          3          12 (Col1 + Col2 + Col3)

 

Then before displaying the output just loop the internal table and calculate the Total as above and place that value in last column and modify internal table.

 

If user doesn't want it by default and he wants to see that whenever he required, just make one default layout without total Column.

 

If my understanding was wrong, hope you can elaborate your query.

 

Thanks & Regards,

Vijay


Viewing all articles
Browse latest Browse all 8932

Latest Images

Trending Articles



Latest Images