02-11-2009 12:18 PM
Hi Experts,
I am working on ALV Block Report. Its having two blocks. When I am coading for Sorting of fields it doing that but the output is different as what we have in ALV Grid. Means if we do sorting in ALV Grid, the field value do not repeat, like :
1234 xyz
sdf
abc etc
so here 1234 is not repeating everytime. But this output I am not getting in ALV Block. Can anybody help me
02-11-2009 12:28 PM
This is the Difference between list and Grid display view.
And Block list is also some like List display(in terms of view).
02-11-2009 12:35 PM
Hi,
You won't get the output as u deisred when u use the block list ...
Regards,
Nagaraj
02-11-2009 12:37 PM
Hi Nagaraj n Amit,
Is there any other way to get it. As my one another post Can I use Grid Display with Block to get it?
02-11-2009 12:58 PM
>
> Is there any other way to get it.
Perhaps No.
Can I use Grid Display with Block to get it
Again No.
But yes some work around this could meet your requirement exactly.
Letu2019s say.......
Sort Itab based on the fields which you do not want to repeat over and over after sorting.
Than loop on the final internal table and store the field1 value for each previous Loop iteration and check this value with next loop iteration check if this value matches with previous loop value than just pass "Space" in this field and modify the internal table.
Than show your Block ALV.It would not shown the repeated fields over and over again.
I hope it makes sense.
Cheers,
Amit.
02-16-2009 8:15 AM