How Calculate TOTALS,SUBTOTALS in ALV Reporting?
Answer Posted / siva
data: wa_fieldcat type slis_fieldcat_alv,
it_fieldcat type slis_t_fieldcat_alv.
data: wa_sort type slis_sortinfo_alv,
it_sort type slis_t_sortinfo_alv.
wa_fieldcat-do_sum = 'X'.
append wa_fieldcat to it_fieldcat.
wa_sort-fieldname = 'KUNNR'.
wa_sort-tabname = 'IT_FINAL'.
wa_sort-subtot = 'X'.
append wa_sort to it_sort.
| Is This Answer Correct ? | 71 Yes | 7 No |
Post New Answer View All Answers
What are the buffering types?
Can multiple abap systems connect to abap database?
difference between Valuation type and valuation category?
What is technically difference between in Table creation in table creation maintenance not allowed ,maintenance allowed with restriction, maintenance allowed ?
Which database object is used for storing the system variables? : abap data dictionary
Can I execute user exits? If yes, how?
What are the organizational related infotypes? : abap hr
Does the call transaction method allow multiple transactions to be processed by sap?
Cds views
What is locking? : abap data dictionary
What is meant by hotspots?
What are the pooled and cluster tables?
What are the three hierarchical levels of data types and objects?
Explain lsmw?
What are null values?