Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8990

Re: Editable Text View in Webdynpro ALV

$
0
0

Hi,

 

Its not possible to make TEXTVIEW as editable.

 

Instead, set the cell editor with input field of type CL_SALV_WD_UIE_INPUT_FIELD.

 

Here you can controll the READ_ONLY property of input field by using method SET_READ_ONLY.

 

You can achieve your requirement as below

 

data lr_input_field          type ref to cl_salv_wd_uie_input_field.

 

CALL METHOD lv_value->if_salv_wd_column_settings~get_column

     EXPORTING

       id    = 'ACTNT'

     RECEIVING

       value = lr_column.

 

" create object of type input field

CREATE OBJECT lr_input_field
          EXPORTING
            value_fieldname = 'ACTNT'.

 

 

lr_column->set_cell_editor( lr_input_field).

 

Hope this helps you.

 

Regards,

Rama


Viewing all articles
Browse latest Browse all 8990

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>