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

How to enable the SAVE LAYOUT button?

When using CALL METHOD G_ALVGRID_HDR->SET_TABLE_FOR_FIRST_DISPLAY, how do I enable the SAVE LAYOUT push button?

It shows the Change layout button but does not allow me to save the layout as the SAVE LAYOUT button is not available.

I am using the following code but it does not show the SAVE LAYOUT button.

CALL METHOD G_ALVGRID_HDR->SET_TABLE_FOR_FIRST_DISPLAY

EXPORTING

I_SAVE = L_SAVE

IS_VARIANT = LS_VARIANT

IS_LAYOUT = LS_LAYOUT

IS_PRINT = LS_PRINT

IT_TOOLBAR_EXCLUDING = I_EXCLUDE

CHANGING

IT_SORT = I_SORT_HDR

IT_OUTTAB = I_OUTTAB_HDR[]

IT_FIELDCATALOG = I_FCAT_HDR

EXCEPTIONS

INVALID_PARAMETER_COMBINATION = 1

PROGRAM_ERROR = 2

OTHERS = 3.

IF SY-SUBRC <> 0.

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

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

ENDIF.

Pl advise.

Thanks,

Ven

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 26, 2007 at 07:38 PM

    solved

    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.