on 06-02-2008 3:54 PM
Hi there,
I had a WD application with file upload and I used a ALV to list them.
But I can not get selection any line.
How can I fix this?
Hi Luiz
Use method SET_SELECTION_MODE of IF_SALV_WD_TABLE_SETTINGS
here is the sample code
DATA : lr_table_settings TYPE REF TO if_salv_wd_table_settings.
l_ref_INTERFACECONTROLLER = wd_This->wd_CpIfc_Appr( ).
data:
l_VALUE type ref to Cl_Salv_Wd_Config_Table.
l_VALUE = l_ref_INTERFACECONTROLLER->Get_Model(
).
lr_table_settings = l_value.
lr_table_settings->SET_SELECTION_MODE( '02' ).
Constant Value Selection Mode
AUTO '00' Automatic
SINGLE '02' Single selection with lead selection
MULTI '04' Multiple selection with lead selection
NONE '06' No selection
SINGLENOLEAD '07' Single selection without lead selection
MULTINOLEAD '08' Multiple selection without lead selection
Regards
Naresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
refer to this example
SALV_WD_TEST_TABLE_PROPS View is Table and Method is SET_TABLE_SETTINGS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.