Skip to Content

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

how to make cell editable alv in WebDynpro for ABAP?

I make Column editable ALV.(See under source code)

But I can't make Cell editable ALV.

How to make Cell editable ALV in WebDynpro for ABAP? to get changed data?

DATA: l_value TYPE REF TO cl_salv_wd_config_table.
  l_value = l_ref_interfacecontroller->get_model( ).

  DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
        lr_input_field     TYPE REF TO cl_salv_wd_uie_input_field,
        lr_column          TYPE REF TO cl_salv_wd_column.

  lr_column_settings ?= l_value.
  lr_column = lr_column_settings->get_column( 'TOTAL_COUNT' ).

  CREATE OBJECT lr_input_field
      value_fieldname = 'TOTAL_COUNT'.

  lr_column->set_cell_editor( lr_input_field ).

  DATA: lr_table_settings TYPE REF TO if_salv_wd_table_settings.

  lr_table_settings ?= l_value.
  lr_table_settings->set_read_only( abap_false ).

Former Member
Not what you were looking for? View more on this topic or Ask a question