Application Development and Automation 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: 
Read only

Problem in displaying data in alv grid.

Former Member
0 Likes
430

Hi Experts,

I am using the class CL_GUI_ALV_GRID for displaying my data in the ALV Grid.

But I have a requirement

If there are more than one record with the same values in some fields I have to display the values in the first record itself . for other records I have to display the record with the fields having different values of the previous record.

And another requirement is When the user use the scroll bar regarding the same datas, the first record displayed will contain the datas used.

How can we achieve this functionality?

Regards

Kasinath

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
407

Hi,

while preparing internal table to be passed to ALV, you have to implement the logic for these scenarios.

Regards,

Raghavendra

Hi Experts,

I am using the class CL_GUI_ALV_GRID for displaying my data in the ALV Grid.

But I have a requirement

If there are more than one record with the same values in some fields I have to display the values in the first record itself . for other records I have to display the record with the fields having different values of the previous record.

And another requirement is When the user use the scroll bar regarding the same datas, the first record displayed will contain the datas used.

How can we achieve this functionality?

Regards

Kasinath

2 REPLIES 2
Read only

Former Member
0 Likes
408

Hi,

while preparing internal table to be passed to ALV, you have to implement the logic for these scenarios.

Regards,

Raghavendra

Read only

Former Member
0 Likes
407

Nothing you can do with ALV you need to handle both sinarios with final internal table data fetching.

Delete adjucent duplicates from internal table after geting data in it to avoid the duplicate entries.