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

Calcualte Totals in an ALV field

Hi,

I'm building a report and outputinng the data using the ALV object.

i have the following code to allow the user to have the summary at the end.

l_fieldcat-do_sum = 'X'

What happens is that sometimes it allows to put the total on the column SumAmt and sometimes no by displaying the message that " the desired operation can not be performed for the column SumAmt.

Does anybody know about this strange behavior of the fields catalog.

Oli

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 03, 2005 at 09:45 PM

    Can you provide the definition for your field SumAmt?

    Could you have a data integrity problem, for example, a numeric field with non-numeric data?

    Is SumAmt of type currency and therefore tied to a currency key field? If so, is the currency key field properly initialized?

    Message was edited by: Charles Folwell

    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.