Skip to Content
author's profile photo Former Member
Former Member

cant edit standard table column properties in a View

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Nov 18, 2011 at 06:25 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.