cancel
Showing results for 
Search instead for 
Did you mean: 

Change /PLMU/WDC_RFO table column property 'Read-Only' dynamically

Rics
Explorer
0 Kudos

Hi Folks,

I am stuck with a strange issue in the standard WD /PLMU/WDC_RFO.
The requirement is to enhance the View - V_ITEM_TABLE and change the property of Item and Specification columns to 'read only'.

richa_katiyar_0-1710483277545.png

In the view layout, the UI element of the table column had read-only property binding as 'Bind to the property of the selected attribute'.

richa_katiyar_1-1710483373112.png

In the post-exit of method WDDOMODIFYVIEW, I've used the
CALL METHOD lo_element->set_attribute_property

EXPORTING

attribute_name = 'POSNR'

property = if_wd_context_element=>e_property-read_only

value = 'X'.


The issue with this is that the code is working as expected except for the very first time when the view is loaded.

Any suggestions would be highly appreciated.

Thanks in advance!

Regards,

Rics

Accepted Solutions (0)

Answers (0)