Skip to Content
avatar image
Former Member

How to make a field editable or uneditable in different T-code

Dear all,

I add a new field in screen in XD02 which is editable.

But I also need to make it read only in XD03.

Is there someone who know how to realize this?

Thanks very much!

Lydia

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 17, 2016 at 03:54 AM

    You can make a field read-only like this:

    session.findById("wnd[0]/usr/txtPersonas_5").enabled = false;
    Add comment
    10|10000 characters needed characters exceeded