Skip to Content

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

WD ALV make rows read only

Hi Friends,

I have a ALV table for display in WD and based on some condtions i need to make particular rows alone read only mode, Kindly suggest your solutions.



Former Member
Former Member replied

Hi Vinodkumar,

If you want to make only cells of certain rows as READ_ONLY, then it can be achieved as below


  • Create as many required context attributes for making cells read only, like read_cell_1, read_cell_2, etc of type WDY_BOOLEAN
  • Bind these context attributes to respective cells while configuring alv i.e. using method set_read_only_fieldname( ) to all columns
  • While populating data to alv, set the value 'X' to these read only attributes of required cells


  • Binding the context attribute property READ_ONLY

Refer: WebDynpro ALV: Editable ALV using Property Binding(Without dedicated boolean attributes)



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