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

How to change the standard layout sets in ALV List

Hi Gurus,

How to change the standard layout sets in ALV list.

Is there any standard program ? or specific way to acheive this?

Kindly drop some clues?Every valuable clues rewarded more points........

Thanks in Advance,

Dharani

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 Jan 30, 2008 at 11:01 AM

    Hi,

    We can change the standard layout sets in ALV.

    1) Identifying the application tool bar functionality

    Go to se41

    Program: SAPLSALV

    Status : STANDARD

    Then you can see the avaialble options in Application tool bar,

    If you want to change these, copy this and change according to your requirement.

    I_CALLBACK_PF_STATUS_SET is a exit routine parameter.

    for this you have to define form routne as following:

    FORM set_pf_status USING rt_extab TYPE slis_t_extab.

    t_exclude-fcode = '&REFRESH'. " Hide Refresh Push button

    APPEND t_exclude.

    SET PF-STATUS 'ZSTANDARD' using t_exclude.

    ENDFORM.

    Note: We can hide any buttons by passing t_eclude structure.

    No need to call using PERFORM, because it is called by the system implicitly. Pass this *set_pf_status * routine to the parameter I_CALLBACK_PF_STATUS_SET

    Reward me if it is useful

    Edited by: B Nagamalleswara Rao on Jan 30, 2008 12:04 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 11:19 AM

    While building your fieldcatalog for all the fields, for that fields that should be in change layout for that fields you can use the code as gs_fieldcat-no_out = 'X'.

    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.