cancel
Showing results for 
Search instead for 
Did you mean: 

WebDynpro ALV filter ICON move leftside

Former Member
0 Kudos


Hi Experts,

I have WebDynpro application where I have used ALV list to pouplate the data from the ECC. These tandard WebDynpro ALV has "Dispaly Filter Row' icon all the way to the right, due the many columns the ICON is displaying all the way to the end and that could be a potential issue to the user to scrolll all they way to right to apply the filer.

The questions is, is there any way I can move the ICON to the left. Please suggest which wehre exactly I need to make a modification to work.

Thanks in advance.

Thanks

Krishna

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member219399
Active Participant
0 Kudos

Put his code in your component controller WDDOINIT method.

Replace ALV_TEST with your component name used for the ALV.

Hope this helps.

With regards,

Vamsi


IF LO_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.

  LO_CMP_USAGE
->CREATE_COMPONENT( ).


ENDIF.




DATA lo_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .

lo_INTERFACECONTROLLER
=   wd_this->wd_cpifc_alv_test( ).


DATA lv_value TYPE ref to cl_salv_wd_config_table.

lv_value
= lo_interfacecontroller->get_model(  ).



  lt_std_functions
=   LV_VALUE->if_salv_wd_function_settings~get_functions_std( ).

 
LOOP AT lt_std_functions INTO ls_std_functions WHERE id EQ 'SALV_WD_FILTER' OR id EQ 'SALV_WD_SETTINGS'.

    ls_std_functions
-r_function->set_alignment( ).

   
ENDLOOP.