Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV Grid alignment

Former Member
0 Likes
422

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

2 REPLIES 2
Read only

Former Member
0 Likes
343

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

Read only

amit_khare
Active Contributor
0 Likes
343

Check these thread -

Also, check the forum there is a blog also on displaying the ALV Grid in background with lots of good information on it.

Regards,

Amit