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

How do I get totals to display on ALV grid when first displayed?

How do I get totals to display on ALV grid when first displayed? I dont want to have the user do it. I want the grid to display with columns totaled.

thx, J

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 02:18 PM

    For the field where you want the total make the parameter DO_SUM of the field catalog to 'X'

    This will enable the Sum of the totals at first display.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 02:26 PM

    Hello J J,

    Make the DO_SUM = 'X' of the field in the field catalog table.

    If useful reward.

    Vasanth

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 02:26 PM

    Hi,

    When u populate Fieldcatalog, set DO_SUM = 'X' for that field to which u want total at the begining of the display.

    regards,

    Aravind

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 02:43 PM

    Hi JJ,

    WA_FIELDCAT-FIELDNAME = 'EBELN'.

    WA_FIELDCAT-COL_POS = '1'.

    WA_FIELDCAT-JUST = 'R'.

    WA_FIELDCAT-SELTEXT_L = 'PO Number'.

    WA_FIELDCAT-LOWERCASE = 'X'.

    <b> WA_FIELDCAT-DO_SUM = 'X'.</b>

    APPEND WA_FIELDCAT TO IT_FIELDCAT.

    Thanks

    Vikranth Khimavath

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 10, 2007 at 02:51 PM

    Hi,

    U can enable the

    SUM

    option to '

    X

    in the fieldcatalog.

    Also refer this link

    http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_basic.htm

    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.