How Calculate TOTALS,SUBTOTALS in ALV Reporting?

Answer Posted / srinivasaai

data: wa_fieldcat type slis_fieldcat_alv,
it_fieldcat type slis_t_fieldcat_alv.
hi friend to calculate totals ,sub-totals we have to use
after declaring the fieldcat
for doing sum : wa_fieldcat-do_sum = 'X'.
fro caluculating subtotal : wa_sort-subtot = 'X'.

this have to be done when feildcatlog and suppliying the
sorting info.

I could make u to remind that this is the one of the
difference between a normal & alv report.

Is This Answer Correct ?    40 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

B -Credit Note report Selection Screen Ranges: Creation date Sales Org Sold to Party Selection condition: Document Category – VBTYP should be ‘O’ Table to be used: VBRK, VBRP,VBPA,ADRC List the CR order types or credit billing type by customer number (or selected customer) and displays the: - Billing Document date (FKDAT) - Customer number (KUNRG) - Name of the reseller (on top of the SAP No) (NAME1) - Billing document number,(VBELN) - order reason (AUGRU_AUFT) - Amount (NETWR) - Currency (WAERK) Group Currency wise, billing type wise sum of Net value. When user double click on field ‘Billing Document #’ , display the document in VF03 Do this using OO ABAP.

2466


How to load data from ms excel sheet to sap by using bdc method ? : abap bdc

730


when does a list get sent to the screen on the presentation layer?

1444


Did you create any joins?

551


Filter badi and multiple used badi? Will the sequence matter of the badi implementation in case of multiple used badi?

1285






What is the difference between skip and new-line?

802


What are the different kinds of lock modes?

571


How do you find out who has transported a transport request?

613


What is macro? : abap hr

642


In order to upload purchase order details, how you handle multiple values for a single field?

569


What are the classifications of the sap abap data classes?

613


Write an abap program for creation of customer enquiry using BAPI 'BAPI_INQUIRY_CREATEFROMDATA'.

1774


Explain sap abap 3-tier architecture?

737


What is the logo in sap script?

576


How do you Export a session ?

1596