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

ALV Displaying Duplicates in Low Speed Connection Mode

Hi All,

Strange one here, just wondering if anyone has any suggestions.

I have an ALV report that gets and displays data as normal. However it shows duplicates of some lines when it outputs the grid even though the internal table that it is outputting does not have these duplicates.

Basically I have the internal table GT_OUTPUT. When I run the report in debug mode this table contains A B C D. However when I display the screen the ALV displays A B C B. Then when I export the ALV to Excel the sheet goes back to the correct A B C D.

I was wondering has anyone seen this issue before and if yes how did they solve it.

Many Thanks,

Colm

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 27, 2008 at 02:31 PM

    Hi,

    Do one thing before display the report which means before call the FM or method, use the DELETE ADJACENT DUPLICATES statement to delete the duplicate records.

    Rgds,

    Bujji

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      This issue was because there was some processing logic being done on the output of the GT_OUTPUT table.

      I solved this issue by moving my GT_OUTPUT to a separated table and doing all processing logic on that and then passing it back. This meant that the when outputting the ALV there were no changes made to the GT_OUTPUT.

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.