Skip to Content
author's profile photo Former Member
Former Member

ALV LOAD WITH VARIANT

Hi All ,

I am using reuse_alv_list_display.

How to load alv report with a particular variant?

Regards,

Dilip

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 10, 2005 at 11:45 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 10, 2005 at 11:55 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.