Error: Displaying 3 ALV blocks for 1 itab but with diff. values
Lets say I have 1 internal table named GT_COMPANY that I need to display 3 times but for every ALV block
it shows different values. For example, the 1st ALV block shows data under company code 1000,
the 2nd shows data under company code 2000 and so on...
I tried this using by using the FMs REUSE_ALV_BLOCK_LIST_INIT, REUSE_ALV_BLOCK_LIST_APPEND and
REUSE_ALV_BLOCK_LIST_DISPLAY. But the problem is, instead of displaying 3 ALV blocks displaying
the diffrent company codes, it only showed the last company code. It seems that it overwrites the
So what I did was to call the FM REUSE_ALV_BLOCK_LIST_APPEND 3 times but I filtered the data first so
it will show values under a specific criteria(company code).
Hope you can help me guys. Thank you and take care!