Application Development 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: 

Making Long text grayed out.

Former Member
0 Kudos

Hi

I need some guidance from you ppl. I am trying to make Long text grayed out. Just like in transaction QM02 . The existing long text will be grayed out but the user can enter new text. Please let me know how to do this if you have any idea.

Thanks

1 REPLY 1

former_member186741
Active Contributor
0 Kudos

assuming you're using:

data: editor_obj type ref to cl_gui_textedit,

editor_cont type ref to cl_gui_custom_container.

you can use this method:

call method editor_obj->set_readonly_mode

exporting readonly_mode = cl_gui_textedit=>true.