on 12-07-2007 1:20 PM
Hi,
how to provide hyperlink only for one column in alv in webdynpro abap
Thanks and regards,
Sridevi.D
DATA:
lr_column_settings TYPE REF TO if_salv_wd_column_settings,
lr_link_to_action TYPE REF TO cl_salv_wd_uie_link_to_action,
lr_col type ref to cl_salv_wd_column.
lr_column_settings ?= wd_this->alv_config_table.
lr_col = lr_column_settings->get_column( 'MATNR' ).
CREATE OBJECT lr_link_to_action.
lr_link_to_action1->SET_TEXT_FIELDNAME('MATNR').
lr_col->set_cell_editor( lr_link_to_action ).
The variable alv_config_table is defined in the attribute tab of the view which is reference to the class CL_SALV_WD_CONFIG_TABLE
Use this code in the init method of the View.
Reward points if helpful.
Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.