on 02-18-2011 5:44 PM
Hi folks!
How can I get the header texts of each table column for a "normal" WDA table (not ALV!)?
Thanx for any help!
Regards,
Volker
I am thinking of the following logic.
1. Get the columns from the table
2.Loop through the columns
3.get the header.
DATA:
lt_column TYPE cl_wd_table_column=>tt_table_column,
lo_column TYPE REF TO cl_wd_table_column,
lo_caption type ref to cl_wd_caption.
lt_column = lo_table->get_columns( ).
LOOP AT lt_column INTO lo_column.
lo_caption = lo_column->get_header( ).
"do what ever you want to do with header.
ENDLOOP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.