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

Save layout in ALV Block list

Hi all,

I have a requirement to save the layout in the ALV block list screen. But the save option is deactivated. Is it possible to activate this save option.

Thanks and Regards,

Asha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2007 at 09:03 AM

    alv reports:blocked list diplay

    ALV block list

    Please give me reward points..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2007 at 09:12 AM

    try using pattern for calling FM, this way you'll get all the options available.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2007 at 09:47 AM

    hi!` Asha

    Try this

    add the Save option in the Function you call for ALV

    I_SAVE = 'A'

    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

    EXPORTING

    I_CALLBACK_PROGRAM = SY-REPID

    I_SAVE = 'A'

    IT_FIELDCAT = FIELDCAT[]

    IT_EVENTS = IT_EVENTS

    TABLES

    T_OUTTAB = IT_FINAL1

    EXCEPTIONS

    PROGRAM_ERROR = 1

    OTHERS = 2.

    Reward me if its Useful.

    Regards,

    Nagulan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 09:05 AM

    Hi,

    You have to use the parameter "IS_VARIANT" to enable save :

    DATA: ls_variant TYPE disvariant.

    ls_variant-report = sy-repid.

    ls_variant-username = sy-uname.

    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

    EXPORTING

    i_callback_program = sy-repid

    i_save = 'A'

    it_fieldcat = lt_fieldcat

    is_variant = ls_variant

    TABLES

    t_outtab = lt_tab

    EXCEPTIONS

    program_error = 1

    OTHERS = 2.

    Hope that will work.

    Regards,

    Yann

    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.