How Calculate TOTALS,SUBTOTALS in ALV Reporting?

Answer Posted / your friend

subtot(1) type c,
subtot_level(2) type n,

Same way we use for Currency conversion.

Means if you want currency in 3 decimal or country
specific, we can use slis structure fields
currency(5) type c,
cfieldname type slis_fieldname,
ctabname type slis_tabname, " and table

For quantity conversion:
quantity(3) type c,
qfieldname type slis_fieldname,
qtabname type slis_tabname, " and table
For justification & leading zeros
just(1) type c,
lzero(1) type c, " leading zero

Please check out SLIS type ... You can find many options.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different modes of processing batch input sessions? : abap bdc

664


What do you mean by transparent tables in sap abap? : abap data dictionary

534


What is an rdbms?

587


Differentiate screen painter from menu painter.

566


How would you define the exponents for a type ‘f’ field?

627






Why is pretty printer user in abap?

643


What is the last entry in all bdc tables? : abap bdc

604


How to find Kernal badi ?

1161


Can a posting run be deleted? : sap abap hr

608


What is the structure of the bdc table? : abap bdc

732


What are th control break events in abap?

612


When to use logical database?

573


What is the difference between refresh and free statements?

653


Explain what are standard layouts sets in the sap script?

946


Folder types in smatforms? 2)What is Command line?

1914