Application Development 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: 

REUSE_ALV_GRID_DISPLAY

Former Member
0 Kudos

Hello everyone,

I am having trouble with my output when using the FM REUSE_ALV_GRID_DISPLAY.

The program works fine in the foreground. The problem starts when I run the program which uses

the FM in the background. When I look in SP01 at the spool file that it has cfeated I find that the

last few columns on the report are word wrapped onto the next line.

I have tried different ouput options i.e. increaed no. of columns in the spool request, but still no joy.

Does anybody know why this is???

Any help would be much appreciated.

Andy

3 REPLIES 3

Former Member
0 Kudos

Hi Andy,

I guess GRID Display will not work in background,

Try LIST Display in background and GRID in Foreground

IF SY-BATCH EQ 'X'.

***use LIST

ELSE.

***use GRID

ENDIF.

Former Member
0 Kudos

increase the LINE-SIZE of the report that should take care of your issue probably.

Regards,

Gopi.

Reward points if helpfull.

Former Member
0 Kudos

Hi,

i think there is a limitation for the GRID display in background, better use the list display.

OR

if you want to down load the report from spool, instead of downloading the output from spool, write the code in your code itself, using GUI_DOWNLOAD.

Reward if useful.

Regards,

Sreeram.