‎2010 Aug 03 1:35 PM
Hi,
i use ALV - OO wth: CALL METHOD GR_ALVGRID->SET_TABLE_FOR_FIRST_DISPLAY.
When i use the sort-button the entry of the sorten fields with same entries are empty.
Before sort:
MATNR | MATKL |
111111 | 000002 |
111112 | 000002 |
111113 | 000001 |
111114 | 000001 |
after sort:
MATNR | MATKL |
111113 | 000001 |
111114 | |
111111 | 000002 |
111112 |
i want to have:
MATNR | MATKL |
111113 | 000001 |
111114 | 000001 |
111111 | 000002 |
111112 | 000002 |
Is there any parameter in layout i have to set? I have searched, but i cannot find any.
Thanks.
regards, Dieter
‎2010 Aug 03 1:55 PM
> Hi,
>
> i use ALV - OO wth: CALL METHOD GR_ALVGRID->SET_TABLE_FOR_FIRST_DISPLAY.
>
> When i use the sort-button the entry of the sorten fields with same entries are empty.
>
> Before sort:
>
> | MATNR | MATKL |
> | 111111 | 000002|
> | 111112 | 000002|
> | 111113 | 000001|
> | 111114 | 000001|
>
> after sort:
>
> | MATNR | MATKL |
> | 111113 | 000001|
> | 111114 | |
> | 111111 | 000002|
> | 111112 | |
>
> i want to have:
>
> | MATNR | MATKL |
> | 111113 | 000001|
> | 111114 | 000001|
> | 111111 | 000002|
> | 111112 | 000002|
>
> Is there any parameter in layout i have to set? I have searched, but i cannot find any.
>
> Thanks.
>
> regards, Dieter
Hello Dieter
How about disabling the cell merging using the layout parameter 'NO_MERGING'?
Regards
Rajesh.
‎2010 Aug 03 1:55 PM
> Hi,
>
> i use ALV - OO wth: CALL METHOD GR_ALVGRID->SET_TABLE_FOR_FIRST_DISPLAY.
>
> When i use the sort-button the entry of the sorten fields with same entries are empty.
>
> Before sort:
>
> | MATNR | MATKL |
> | 111111 | 000002|
> | 111112 | 000002|
> | 111113 | 000001|
> | 111114 | 000001|
>
> after sort:
>
> | MATNR | MATKL |
> | 111113 | 000001|
> | 111114 | |
> | 111111 | 000002|
> | 111112 | |
>
> i want to have:
>
> | MATNR | MATKL |
> | 111113 | 000001|
> | 111114 | 000001|
> | 111111 | 000002|
> | 111112 | 000002|
>
> Is there any parameter in layout i have to set? I have searched, but i cannot find any.
>
> Thanks.
>
> regards, Dieter
Hello Dieter
How about disabling the cell merging using the layout parameter 'NO_MERGING'?
Regards
Rajesh.
‎2010 Aug 03 2:04 PM
‎2010 Aug 03 2:42 PM
> Hi,
>
> i have set NO_MERGING = 'X', but no effect.
>
> Regards, Dieter
Hi
Please check if this helps, click on the 'Change Layout' on the ALV grid and select the 'Display' tab where you have an
option to disable cell merging during sorts.
Regards
Rajesh.
‎2010 Aug 03 2:46 PM
Hi,
thanks, it was the right way. my mistake was, that i had an default-layout with merging!!!
Regards, Dieter