Skip to Content
avatar image
Former Member

Subtotal of the columns in the ALV

Hi,

I want to do the Subtotal of the columns in the ALV by using any of the FMs:

ALV_OPTIONS_FOR_SUBTOTALS

ALV_SUBTOTALS_GET

ALV_SUBTOTALS_GET_H

But since the functional documentation is not available.

I am not getting how to use.

Please provide me the code or reply me about how to go about.

Thanks & Regards,

Pooja

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Oct 17, 2008 at 09:58 AM

    did you check here

    The functions you are referring may be internally used by the mainfunctions. check in the above thread you can see the example on that.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Vijay Dudla

      Hi Vijay,

      Thanks, the problem is solved.

      I was not referencing the document curr with the document amount. I used a struture and in that i used the reference field and ref table which is same as mentioned by you above.

      Yes, thats correct i could have added the do_sum directly.

      I need not have used modify_alv. I didnt realise that at the time of coding.

      Regards,

      Pooja

  • avatar image
    Former Member
    Oct 17, 2008 at 09:58 AM

    Hi Pooja,

    we are defining the sub-totals in sortcatalog and grand totals in field catalog.

    With Regards,

    Narasimha Rao.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 17, 2008 at 10:03 AM
    Add comment
    10|10000 characters needed characters exceeded