Skip to Content
author's profile photo Former Member
Former Member

Issue with WebDynPro ALV


I have an ALV with all the cell editors of the columns are input fields.

But, the point is, the rows are not editable and it is not allowing me to do copy paste.

Is there any way to do this.

Best Regards


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jan 18, 2008 at 03:49 AM

    Hi Siddharth,

    You can Make the Row edittable by following the below steps.

    1.)You Need to call the get model method.

    DATA : lr_table_settings TYPE REF TO if_salv_wd_table_settings,

    lo_value TYPE REF TO cl_salv_wd_config_table,

    lr_column TYPE REF TO cl_salv_wd_column,

    lr_all TYPE REF TO salv_wd_t_column_ref,

    lr_column_settings TYPE REF TO if_salv_wd_column_settings,

    lr_input_field TYPE REF TO cl_salv_wd_uie_input_field.

    DATA: lt_columns TYPE salv_wd_t_column_ref,

    ls_column TYPE salv_wd_s_column_ref,

    lo_column TYPE REF TO cl_salv_wd_column,

    lo_col_head TYPE REF TO cl_salv_wd_column_header.

    lo_value = lo_interfacecontroller->get_model(


    2.)Then call the method get_column()

    Here you need to mention the field name to make it editable.

    lr_column_settings ?= lo_value.

    CALL METHOD lr_column_settings->get_column


    id = 'Field name'


    value = lr_column.

    CREATE OBJECT lr_input_field


    value_fieldname = 'Field name'.

    lr_column->set_cell_editor( lr_input_field ).

    This Will worek .Please let me know if it works out.

    Thanks and regards,

    Amita Gupta

    lr_table_settings ?= lo_value.

    lr_table_settings->set_read_only( abap_false ).

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 18, 2008 at 03:31 AM


    To make your ALV editable you need to make the property read_only of ALV to abap_false.



    lr_salv_wd_table TYPE REF TO iwci_salv_wd_table.

    lr_salv_wd_table = wd_this->wd_cpifc_alv( ).

    *... (1) get ConfigurationModel from ALV Component

    *... r_Table is of type CL_SALV_WD_CONFIG_TABLE .

    wd_this->r_table = lr_salv_wd_table->get_model( ).


    lr_table_settings TYPE REF TO if_salv_wd_table_settings.

    lr_table_settings ?= wd_this->r_table .

    lr_table_settings->set_read_only( abap_false ).

    Hope this helps.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.