Skip to Content
author's profile photo Former Member
Former Member

ALV Tree Subtotal

Dear All,

I'm working on a ALV tree using cl_gui_alv_tree. My requirement is to calculate the percentage of column B in the header node using the subtotal value of column A.

However, when using CALL METHOD g_alv_tree->GET_OUTTAB_LINE after CALL METHOD g_alv_tree->update_calculations, the subtotal value is returning 0 value. Please let me know how to get the subtotal value in the header node.

Thank you.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2013 at 09:37 AM

    Hi,

    Sorry to miss out pasting the links in last reply, kindly refer these links:

    http://scn.sap.com/thread/633027

    http://scn.sap.com/thread/1724325

    Regards,

    Alora Sahu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2013 at 09:25 AM
    -1

    Hi ,

    try out the following method:

    g_alv_tree->add_method

    give exporting and importing parameters accordingly.

    kindly go through the following links too that may help you clearing out the doubts.

    Hope it helps!!!!

    Regards,

    Alora Sahu

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.