Hi
I am using Editable ALV in my application in webdynpro,date fields are editable .So I entered dates and I click on Save button.
I want to be date fields should come to non-editable.
code as below
* Declare ALV config table
DATA: alv_config_table TYPE REF TO cl_salv_wd_config_table.
DATA: wd_table_usage TYPE REF TO if_wd_component_usage.
* Create an instance of ALV component created ALV_COMP is usage name
wd_table_usage = wd_this->wd_cpuse_alv_task( ).
IF wd_table_usage->has_active_component( ) IS INITIAL.
wd_table_usage->create_component( ).
ENDIF.
*ALV Settings.
* Get ALV component
DATA: wd_table TYPE REF TO iwci_salv_wd_table.
wd_table = wd_this->wd_cpifc_alv_task( ).
alv_config_table = wd_table->get_model( ).
* Declare variable to store column details
DATA: column_settings TYPE REF TO if_salv_wd_column_settings,
column TYPE REF TO cl_salv_wd_column.
column_settings ?= alv_config_table.
DATA lr_input TYPE REF TO cl_salv_wd_uie_input_field.
CREATE OBJECT lr_input
EXPORTING
value_fieldname = 'PLANNEDSTARTDATE'.
column = column_settings->get_column( 'PLANNEDSTARTDATE' ).
column->set_cell_editor( value = lr_input ).
*
