Hi All,
For one my reports i used alv grid display as output.
Correct output is coming but the problem is when i press the refresh button the output valus getting duplicated.
For eg :
My output before i press refresh button is
A B C
25 abc xyz
When i press the refresh button the output is changes to
A B C
25 abc xyz
25 abc xyz
here new line added with same entries when i press refresh.I f i again press refresh then one more line added with same entries.
Please let me know what is the problem and suggest me the solution for this.
Thanks a lot.
Hi,
Hae u cretaed the ALV by checking whether it is INITIAL.
DATA : w_grid TYPE REF TO CL_GUI_ALV_GRID, IF w_grid IS INITIAL. creating custom container instance ENDIF.
This will oslve ur problem, or else when u click on the row also it will generate dupliactes.
Reward if this helps.
Hi Shweta,
Please if possible attach the code, coz. only then it would be possible to see where the fault is and fix it :).
Regards,
Ravi 😊.
Hi Shweta,
Please if possible attach the code, coz. only then it would be possible to see where the fault is and fix it :).
Regards,
Ravi 😊.
Hello,
Check the entries in the internal table.Probably entries in your internal table are getting duplicated.Or before refreshing,you can write:"delete adjacent duplicates..." .
Also check if you are creating the alv instance only when it is initial or not.
Regards,
Beejal
**reward if this helps
Add a comment