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: 

Reg ALV

Former Member
0 Kudos

Hi All,

The issue is we have report it is displaying the output by using ALV list display, in the output after every change of material they are making subtotal for amount. some times subtotal is getting as zero value.

The req is when ever the sub total is zero it wont display in the output. can any one help on this

Thanks..

3 REPLIES 3

former_member203501
Active Contributor
0 Kudos

Hi ,

Please delete the records who subtotal is zero in the program it self and refresh the contents. I hope there is no option for us to do in the field catalog or layout, but we can do it in the program it self.

Regards,

Venkat Appikonda.

kesavadas_thekkillath
Active Contributor
0 Kudos

Im not sure whether this could be done, but you can give a try.

Refer the program in link:[http://www.sapnet.ru/viewtopic.php?p=4709].

You can see a subroutine subtotal_text at the end of the program, this routine gets triggered for each subtotal line in the alv.

Just try placing a check here like if the summed subtotal filed is 0 , then you try deleting the entries in itab with the particular material.

Former Member
0 Kudos

ok