Skip to Content
0
Former Member
Oct 22, 2008 at 06:58 AM

Passing SORTED internla table to ALV Function Module

337 Views

Hello all,

I define a work area WA1 with reference I defined a table (itab) by using following statement.

DATA: itab TYPE SORTED TABLE OF WA1 WITH UNIQUE KEY field1 field2 WITH HEADER LINE.

I am unable pass the table itab to FM Reuse_alv_grid_display bcoz itab is sorted table. At the same time I can't define itab as a STANDARD table with UNIQUE KEY addition.

If I define a itab as DATA: itab TYPE STANDARD TABLE OF wa1 WITH KEY field1 field2 WITH HEADER LINE.

I'm getting unnecessary day.

Give me suggestions.......