Skip to Content

Report Layout creation 'Save disabled'

Hi experts,

I am trying to create a layout but when

1. click on setting->layout-> saving(disabled/greyed out), alternatively

2. when I click on change layout(icon) then no save button is active mode.

so how I can save the layout can you suggest please, See the screen shots.

Thank you!

Saquib

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jan 07, 2014 at 06:48 AM

    Hi Saquib,

    have you checked, these fields are commented out, if yes, then it will be desabled, in your

    REUSE_ALV_GRID_DISPLAY, make sure that this is not commented.

    IS_LAYOUT = wa_layout

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Saquib,

      why you have mentioned this as assumed answer, people will not take those questions marked

      as assumed answers.

      Please add this code to your program, and execute

      DATA : S_LAYOUT TYPE SLIS_LAYOUT_ALV.

      DATA : G_SAVE(1) TYPE C ,

      G_EXIT(1) TYPE C ,

      G_VARIANT LIKE DISVARIANT ,

      GX_VARIANT LIKE DISVARIANT .

      DATA : T_EVENTS TYPE SLIS_T_EVENT.

      DATA : T_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.

      and match with your code, what you have missed, then please let me know

      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

      EXPORTING

      I_CALLBACK_PROGRAM = V_REPID

      I_CALLBACK_USER_COMMAND = 'USER_COMMAND'

      IS_LAYOUT = S_LAYOUT

      IT_FIELDCAT = T_FIELDCAT[]

      IT_SORT = T_SORT[]

      I_DEFAULT = 'X'

      I_SAVE = G_SAVE

      IS_VARIANT = G_VARIANT

      IT_EVENTS = T_EVENTS[]

      TABLES

      T_OUTTAB = ITAB

      * EXCEPTIONS

      * PROGRAM_ERROR = 1

      * OTHERS = 2

      .

      IF SY-SUBRC <> 0.

      * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

      * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

      ENDIF.

      .

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2014 at 07:00 AM


    hi Saquib,

    when you call the alv function using this two parameter, then will have 'SAVE' button.

    I_SAVE = 'A'
    IS_VARIANT = wa_variant

    also you need define: wa_variant type disvariant.

    regards,

    Archer

    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.