cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Selection

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

Not resolved yet...

I just want to select the ALV´s line.

Former Member
0 Kudos

Hi Luiz

Are you getting any error while selecting the ALV line? whats ur exact question

Regards

Naresh

Former Member
0 Kudos

Hi,

No errors.

I just can not list the ALV´s line.

In my WD structure, I had a VIEW ADD_Register, but the ALV is in another WD application.

The VIEW ADD_Register is a front-end.

Former Member
0 Kudos

Can you tell me what steps you are following to list the Lines in ALV.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

refer to this example

SALV_WD_TEST_TABLE_PROPS View is Table and Method is SET_TABLE_SETTINGS