How to display sub-totals in ALV Grid List?

 

Assume that you are using REUSE_ALV_GRID_DISPLAY function.
In order to make it happen, you need to setup the following two parameters:
it_fieldcat-do_sum = 'X'. " Which columns are going to have a summary number.
it_sort-subtot    = 'X'.   " Which columns are the factors of Sub-total summary numbers

d9c443ea9ea4fdcad539c992.jpg

e0a17d03f0e26bf508fa939d.jpg

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章