12-19-2007 2:17 PM
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
12-19-2007 2:20 PM
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.
12-19-2007 2:31 PM
increase the LINE-SIZE of the report that should take care of your issue probably.
Regards,
Gopi.
Reward points if helpfull.
12-19-2007 2:48 PM
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.