Create button in ALV.
DATA: lr_function TYPE REF TO cl_salv_wd_function,
lr_toggle_button TYPE REF TO cl_salv_wd_fe_button.
lr_function = l_value->if_salv_wd_function_settings~create_function(
id = 'F' ).
CREATE OBJECT lr_toggle_button.
lr_toggle_button->set_text( 'View PDF Form' ).
lr_function->set_editor( value = lr_toggle_button ).
Edit row in ALV
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
lr_column TYPE REF TO cl_salv_wd_column,
lr_input_field TYPE REF TO cl_salv_wd_uie_input_field.
lr_column_settings ?= lo_value.
lr_column = lr_column_settings->get_column( 'NETPR' ).
CREATE OBJECT lr_input_field EXPORTING value_fieldname = 'NETPR'.
lr_column->set_cell_editor( lr_input_field ).
lr_table_settings ?= lo_value.
lr_table_settings->set_read_only( abap_false ).