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

Which database object is used for storing the system variables? : abap data dictionary

1040


Does the external program run in the same sap luw as the caller, or in a separate one?

845


What is the use of dequeue function module? : sap abap data dictionary

833


Can anyone done BDC/LSMW/BAPI for F-02 and F-04.If yes let me know the processs

2184


What is an “on input filed” statements?

869


What data is contained? : abap data dictionary

870


Can we define our own match code id's for sap matchcodes ?

807


Explain what are extracts?

828


Is it possible to bring select option in module pool screens?

726


Is a logical database a requirement/must to write an abap/4 query?

778


What is the meaning of table buffer? This buffer is used by which type oftable?

957


Can a posting run be deleted? : sap abap hr

777


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

1478


How to transfer the objects? Have to transferred any objects?

793


i want to add 2 records to a table but the last field in the table is 1000 char long.Is it possible?if yes how?

1972