cancel
Showing results for 
Search instead for 
Did you mean: 

cant edit standard table column properties in a View

Former Member
0 Kudos

Hi i make an enhacement to V_AO_SOCO_GAF_1 and i want to change some properties of the table columns, but in the enhacement the properties are unable to change, and with new column is enable the properties.

Why is that?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member205363
Contributor
0 Kudos

Hi,

I have done like this,

If you want to change the properties of the standard UI Elements then you can get the reference of Table column and set the properties in wdDoModifyView method, like the following example code...

data lv_loc_inp type cl_wd_table_column.

lv_loc_inp ?= view->get_element( id = 'DEPT_REVIEWR_INP' ).

if lv_loc_inp is not initial.

lv_loc_inp->set_enabled( abap_false ).

endif.

Regards,

Lakshmi Prasad.