Hi,
- Get the table reference using VIEW attribute of WDMODIFYVIEW by passing the table Id.
Using the table reference and use the method get_columns that returns internal table CL_WD_TABLE_COLUMN=>TT_TABLE_COLUMN.
- Loop at the columns, using column reference (cl_wd_table_column) use the method SET_FIXED_POSITION and pass the column order to be displayed
Regards,
Neelima