we have defined an ALV layout that displays only the totals/subtotals and we would like to print this in the background. the report allows us to specify the layout from the report selection screen.
however, it doesn't seem to work when printing in the background. it always expands into detail rows. we are using FM REUSE_ALV_GRID_DISPLAY in 4.6C system. any solution to this?
thanks in advance.
The variant in which you want the report to use, is this variant a global variant which can be seen by the "BACKGROUND" user? If not, this could be you problem. If the variants are user specific, the variant will not be seen by the "BACKGROUND" user. I would suggest setting up the variant as the "BACKGROUND" user.