Hi All,
I have a declared a node ABC cardinality 1:1 under the context of my view and under this node ABC i have an Attribute MARK type boolian.
in the layout, I have a UI element check box for which I have binded the attribute MARK.
Now I want to set the read_only property dynamically to this check box.
LO_ND_ABC = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_ABC ).
LO_EL_ABC = LO_ND_TRAVEL_DATA->GET_ELEMENT( ).
CALL METHOD LO_EL_ABC->SET_ATTRIBUTE_PROPERTY
EXPORTING
ATTRIBUTE_NAME = 'MARK'
PROPERTY = 3
VALUE = 'X'.
But the check box was not set with read_only property.
I have searched many threads and after which i am raising this problem here.
I have also tried SET_ATTRIBUTE_PROPS_FOR_ELEM and SET_ATTRIBUTE_PROPS_FOR_NODE aswel.. but nothing worked out..
Please help.
I don't want to create an attribute and bind it to read_only property of the check box in the layout.