‎2010 Jan 18 10:14 AM
Hi,
I need to change the read-only property of a field at runtime in webdynpro. The read only field should be enabled at runtime.
I've used the call method lo_nd_packslip->set_attribute_property
exporting
attribute_name = 'ZOPAK'
property = '3'
value = space .
but I am not getting the desired output.
Thanks,
‎2010 Jan 18 10:20 AM
where are you calling this event?
same view with some button action command??
‎2010 Jan 18 10:43 AM
I am calling the above method in the specific action event after which the field should be changed.
Thanks
‎2010 Jan 19 8:10 AM
Hi Neha,
if you follow the other approach (Maintaining another attribute), You would apply abstraction concept of OOPS.
Regards
Anurag Chopra
‎2010 Jan 19 8:07 AM
Hello Neha,
You could use another attribute of type wdy_boolean and bound it to the read property of the field.
Now you have to change the value of that attribute to 'X' or ' '.
You could follow other apporach also which you mentioned in your question, instead of using space you could mention ' '.
Blank between quotes.
Regards
Anurag Chopra