cancel
Showing results for 
Search instead for 
Did you mean: 

Change cell_editor in SALV_WD_TABLE

dirk_dautermann
Explorer
0 Kudos

Hi,

i´m using the component '

SALV_WD_TABLE

' to display a table with the fields
- DOC_NO
- DOC_DATE
- VORGANG
- LOC_CURRCY
- LC_AMOUNT
- ITEM_TEXT
- ARCHIV_ID (invisible)
- CELL_EDITOR (invisible)

The cell_editor of field 'DOC_NO' is set to 'LINK_TO_ACTION' at method 'WDDOINIT'.
But depending on the field 'ARCHIV_ID' I want to set the cell_editor to 'TEXT_VIEW' when 'ARCHIV_ID' is initial.

Is it possible to use the invisible field 'CELL_EDITOR' (filled with the attributes of interface IF_SALV_WD_C_COLUMN_SETTINGS) to change the cell_editor of field 'DOC_NO' variable?

Has someone an idea?

Regards

Dirk Dautermann

Accepted Solutions (1)

Accepted Solutions (1)

thomas_szcs
Active Contributor
0 Kudos

Hi Dirk,

The standard table features CellVariants for this purpose. You can find more info here:

Best regards,

Thomas

Answers (0)