Skip to Content
0
Former Member
Mar 19, 2009 at 12:38 PM

passing variant to the method factory of cl_salv_table

3557 Views

Moved to correct forum.

Hi,

I am displaying my report output using OOPS ALV,

TRY.

CALL METHOD cl_salv_table=>factory

IMPORTING

r_salv_table = gr_table

CHANGING

t_table = t_final. (this is my final internal table)

CATCH cx_salv_msg .

ENDTRY.

now I need to pass a variant ( layout variant i.e, in the output we will filter the fields and save as a variant ) also.

In REUSE_ALV_GRID_DISPLAY we will pass variant to the export parameter 'is_variant ' but how to achieve this using OOPS ALV method.

Kindly help me please.

Thanks,

Madhu.

Edited by: Matt on Mar 19, 2009 1:47 PM - fixed subject so it displays properly!