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

how to hide selection column from alv grid

hi

i want to hide selection columns form alv grid.. how can i do it.. Is there any fm for that?

regards

palak

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2008 at 08:48 AM

    Hi palak,

    here is no FM for your problem. You have to set one field of your layout to 'X'.

    e.g. data: it_layout TYPE lvc_s_layo.

    it_layout-no_rowmark = 'X' .

    Regards,

    Azra.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2008 at 08:43 AM

    Hi

    U need to set the flag field NO_OUT in catalog table

    Max

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      the ALV Grid Control allows you to directly hide key columns with NO_OUT (field KEY_SEL is not used).

      Field name:NO_OUT

      Comp. type:LVC_NOOUT

      Dtype(length):Char(1)

      SPACE, 'X'

      If you set this field, you hide the relevant column in the list. Nevertheless, the column is available in the field selection and can be interactively selected by the user as a display field. The ALV displays the contents of hidden fields on the detail screen for a row in the grid control.

      Regards,

      Neenu.

      Edited by: Neenu Jose on Oct 21, 2008 10:46 AM

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.