Skip to Content
author's profile photo
Former Member

Hide a Column in ALV Grid Output

Hi,

I want to hide a column in ALV Grid Output through program.

I am using lwa_fieldcat-NO_OUT = 'X'. to hide the column in output but it is not working, column in not hided in the output.

Kindly suggest.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on Aug 22, 2007 at 03:37 PM

    It should work..

    see the code :

    d_fieldcat_wa-fieldname = 'MATNR'.

    d_fieldcat_wa-seltext_l = 'material number'.

    d_fieldcat_wa-no_out = 'X'. * hide particular field

    append d_fieldcat_wa to d_fieldcat.

    clear d_fieldcat_wa.

    if not please paste your code here.

    Thanks

    Seshu

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 22, 2007 at 03:38 PM

    Is there a pre-existing default layout which is being used when you run the program? If so, this could be overriding what you have done in the program. Delete this default layout and recreate.

    Regards,

    Rich Heilman

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 22, 2007 at 04:11 PM

    Thanks

    Add comment
    10|10000 characters needed characters exceeded