‎2007 Mar 09 1:37 PM
Hi,
I have an alv grid , which gives the output in an aligned format on execution .
If the same program is executed in background and printed on spool , the columns get misaligned . How can i align them with their columne headings ?
Thanks
‎2007 Mar 09 1:44 PM
Hello SAPBEE,
Better call the FM REUSE_ALV_LIST_DISPLAY when the report is executed in background.
Check like this.
if sy-batch is initial.
REUSE_ALV_GRID_DISPLAY
else.
REUSE_ALV_LIST_DISPLAY
endif.
Regards,
Vasanth
‎2007 Mar 09 1:51 PM