Skip to Content
avatar image
Former Member

Getting text of the column

Hi All,

Iam trying to get the text of one of the column of my ALV output, Iam only able to get the text of the data element. I had actually set my own text before displaying.

Is it not possible to get the text that I had set?

If yes, could you please suggest how that can be done?

Thank you,

Suresh.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 31, 2007 at 08:03 AM

    If you have the column object you can call column->get_header( ).

    Cheers,

    Sascha

    Message was edited by:

    Sascha Dingeldey

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Suresh,

      The method column->get_header will return a reference to the class cl_salv_wd_column_header. Please use the method header->get_text to get the actual text in the header.

      Hope this helps.

      Regards,

      Nithya