Skip to Content
0
Former Member
Jan 19, 2011 at 06:02 AM

ALV Sorting Problem

1018 Views

Hi Experts,

I am facing an issue while using SORT option in 'REUSE_ALV_GRID_DISPLAY'.

Suppose i have Equipment number, characteristics and Date of Creation fields in the layout.

I have values of these two fields a follows:

Equipment No. Date of Creation Characteristics

1 26.10.2010 MAP-ID

1 26.10.2010 CERTIFICATION-DATE

2 26.10.2010 MAP-ID

2 26.10.2010 CERTIFICATION-DATE

Now when i use sort optoin in ALV, it gives me a layout as below

Equipment No. Date of Creation Characteristics

1 26.10.2010 MAP-ID

. . CERTIFICATION-DATE

2 . MAP-ID

. . CERTIFICATION-DATE

Date of Creation field value is common for both the equipments so it is getting diplayed just one for both the equipments.

I want to sort the table but Date field should come seperate for both the equipment. I want layout like below:

Equipment No. Date of Creation Characteristics

1 26.10.2010 MAP-ID

. . CERTIFICATION-DATE

2 26.10.2010 MAP-ID

. . CERTIFICATION-DATE

How to get this layout in 'REUSE_ALV_GRID_DISPLAY' ?

Please help me out with this requirement. Just using SORT option is not helping me out.

Thanks,

Nitin Karamchandani.