on 05-01-2007 9:12 AM
Hi specialists
Is it possible to change the sequence of columns which appear in a WD4A alv?
How do I get this done without having to change the sequence of attributes of the contextnode?
Thanks in advance
Wouter Heuvelmans
Pyramid Applied Solutions
Hi Wouter.
In the ALV column class is a method to set the position. Just try it out.
DATA: l_ref_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE ,
lr_column_settings TYPE REF TO if_salv_wd_column_settings,
lr_col TYPE REF TO cl_salv_wd_column.
l_ref_INTERFACECONTROLLER = wd_This->wd_CpIfc_Alv( ).
lr_column_settings = l_ref_INTERFACECONTROLLER->Get_Model( ).
lr_col = lr_column_settings->get_column( 'NAME' ).
lr_col->set_position( 1 ).
Hope this helps.
Cheers,
Sascha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.