Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV LOAD WITH VARIANT

Former Member
0 Likes
758

Hi All ,

I am using reuse_alv_list_display.

How to load alv report with a particular variant?

Regards,

Dilip

Hi All ,

I am using reuse_alv_list_display.

How to load alv report with a particular variant?

Regards,

Dilip

2 REPLIES 2
Read only

Former Member
0 Likes
659

Hi Dilip,

You can still use REUSE_ALV_LIST_DISPLAY, but you now must fill the parameter IS_VARIANT.

Details for this can be found in table LTDX.

Regards,

Rob.

Read only

Former Member
0 Likes
659

Hi,

Try this one

  • CALL_ALV

DATA: VARIANT TYPE DISVARIANT.

VARIANT-REPORT = SY-REPID.

VARIANT-USERNAME = SY-UNAME.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

IT_FIELDCAT = FIELDCAT

IS_VARIANT = VARIANT

I_SAVE = 'U'

TABLES

T_OUTTAB = IALV.

Thanks & Regards,

Judith.