Skip to Content

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

How to make a particular row of a Webdynpro java table as editable

Hi Experts,

Being an ABAP developer, i'm aware of webdynpro programming on ABAP technologies. However, i've started working on webdynpro programming using Java and would need inputs on the below question.

I am working on a PoC for a client in Webdynpro java. In webdynpro java table which is editable (columns are input fields) is there any work around so that I can make particular row / cell in that table as non- editable. I don’t want to make entire column as non editable. If anyone worked on this please let me know.

Thanks,

Shamim

Former Member
Former Member replied

Hi Shamim,

Yes this can be done like this and is quite similar to Web Dynpro for ABAP.

Let say you have node structure like this

Employee 0-n

|

---FirstName

---LastName

Let say you want FirstName of 2nd row to be made disabled, then in the above node structure add a new attribute of type Boolean say “IsFirstNameEnabled”

Bind this attribute to enabled property of Input field added in FirstName column. Now if you want to disable FirstName for 2nd row then access the 2nd element of Employee node and set “IsFirstNameEnabled” to false.

Hope this will solves your problem, let me know if you need more detailed information.

Thanks,
-Vipin.

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