Skip to Content
author's profile photo Former Member
Former Member

Run in background and graphical display of spool is messy

Hi ABAP Experts,

I wrote a report and when I tried to run it in background, the graphical display of spool looks messy. Data is not in aligned in columns.

Would you please guide and advise the solution or where in source code I should review ?

Here is my Display ALV function.

Thanks and regards,

Danny

Capture1.PNG (88.1 kB)
Capture2.PNG (32.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 28, 2016 at 03:27 AM

    Hi,

    Instead of using the REUSE_ALV_GRID_DISPLAY , use the FM : REUSE_ALV_LIST_DISPLAY for the background.

    if SY-BATCH Is initial.

    REUSE_ALV_GRID_DISPLAY

    else.

    REUSE_ALV_LIST_DISPLAY

    Endif.

    Note : Don't pas the Parameter WA_LAYOUT-COLTAB_FIELDNAME when using LIST display.

    Thanks

    Deepak Sharma

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Deepak,

      Thanks for the tip. The output looks a bit better now. However, it seems some data are still not correctly aligned in columns.

      In addition, looks like all columns are displayed although my default layout does not have them. Do you have any idea ?

      Regards,

      Danny

      Capture4.PNG (48.4 kB)
      Capture5.PNG (33.9 kB)

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.