Application Development and Automation 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: 
Read only

ALV - Adding an additional row after subtotal

Former Member
0 Likes
625

Hi Friends,

I want to develop an ALV report wherein I want to have an additional row after the subtotal in ALV to show some calculation.

Please refer the below link for the report layout. In the ALV output after subtotaling the total operating revenue and total other income i would like to have an additional row to show the Total revenue(total operating revenue + total other income). Similarly after subtotaling the cost of sales, I would like to show the gross profit(total operating revenue - cost of sales) in an additional row. Please let me know whether this is possible in ALV Grid or List.

http://www.imagebanana.com/view/gpl4ynnk/report_layout.jpg

Regards

SAPient

Hi Friends,

I want to develop an ALV report wherein I want to have an additional row after the subtotal in ALV to show some calculation.

Please refer the below link for the report layout. In the ALV output after subtotaling the total operating revenue and total other income i would like to have an additional row to show the Total revenue(total operating revenue + total other income). Similarly after subtotaling the cost of sales, I would like to show the gross profit(total operating revenue - cost of sales) in an additional row. Please let me know whether this is possible in ALV Grid or List.

http://www.imagebanana.com/view/gpl4ynnk/report_layout.jpg

Regards

SAPient

3 REPLIES 3
Read only

MaruthiKona217
Participant
0 Likes
562

Hi ,

Please go through the below link it may help you .

LInk : [Sub total text |http://wiki.sdn.sap.com/wiki/display/Snippets/DisplaysubtotaltextinALV+grid]

Regards,

Maruthi

Read only

Former Member
0 Likes
562

Hi,

I think better to go for normal report only where inside the loop you can use subtotal and then add code to include the other calculation which is more easy and convineant than alv grid.

Regards

Chitra

Read only

Former Member
0 Likes
562

Hi,

I think better to go for normal report only where inside the loop you can use subtotal and then add code to include the other calculation which is more easy and convineant than alv grid.

Regards

Chitra