Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Modify field display at runtime in web dynpro

Former Member
0 Likes
671

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,

4 REPLIES 4
Read only

Former Member
0 Likes
610

where are you calling this event?

same view with some button action command??

Read only

0 Likes
610

I am calling the above method in the specific action event after which the field should be changed.

Thanks

Read only

0 Likes
610

Hi Neha,

if you follow the other approach (Maintaining another attribute), You would apply abstraction concept of OOPS.

Regards

Anurag Chopra

Read only

Former Member
0 Likes
610

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