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: 

ALV Displaying Duplicates in Low Speed Connection Mode

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

0 Kudos

Thanks for your help but this won't solve the problem as the internal table is correct. The problem is that what is in the internal table doesn't match what is on the ALV grid when it gets output.

0 Kudos

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.