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
How to create a check box/option button in a list?
What is foreign key relationship? : abap hr
What is constructor expression in nw abap 7.4?
What is a data dictionary? : abap data dictionary
Work most on which module: name a few tables?
What are the advantages and disadvantages of different types of bdc's?
What are different data types in abap/4?
Explain the advantages and disadvantages of different types of bdc's?
Explain the different types of mode (run code) in call transaction method?
Describe the data classes?
Can matchcode object contain ids with different update types? : abap data dictionary
What functions does a data dictionary perform? : abap data dictionary
How will you insert record in a sorted table
What are the screen painter and menu painter?
where do we store all custom programs in SD module?