Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Setting readonly property for several fields at runtime

Hi all,

I have a first screen with an ID number field.

I have a second screen with several fields with contact information (name, lastname, telephone...).

I want to access this second screen either in display or change mode.

I did my research (help, SDN) and have set up as follows:

- a context attribute isReadOnly type WDY_BOOLEAN

- first screen, button display: in the code I set isReadOnly true

- I bound all the input fields in second screen to isReadOnly (actually to their Read Only property)

I understood that thanks to the binding, the fields should be automatically greyed out.

I see in debug that the context attribute is correctly set to true.

Always in debug, the readonly property of the field is "Value not determined"

What am I missing?

Tags:
replied

     Hi Friend,

   

     Refer to following link

     How to create and use Table Multi Editor Cell in Web Dynpro ABAP

     and focus on below screenshot part and corresponding coding in that document

   

     you will definitely meet success

    

     whatever is done with Table cell in below document , you have to perform with your input boxes.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question