cancel
Showing results for 
Search instead for 
Did you mean: 

distance among own function buttons, dropdowns etc. in the ALV header

Former Member
0 Kudos

Hello,

I need to group the my own defined buttons and dropdowns in the ALV header. I find the CL_SALV_WD_FE_SEPARATOR. How could I use this class? Are there any methods to define the exact distance among these ALV header functions?

Till now I just know the following methos: SET_ALIGNMENT, SET_POSITION . But both methods can not change the distance between two ALV toolbar functions.

Many thanks in advance!

Regards

meer

Edited by: Meer Wu on Aug 11, 2010 11:09 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you! It's working now.

Former Member
0 Kudos

Hi Meer

CHeck the below code:

DATA:

lr_seperator TYPE REF TO CL_SALV_WD_FE_SEPARATOR,

seperator TYPE REF TO CL_SALV_WD_FUNCTION.

create object lr_separator.

seperator = l_VALUE->IF_SALV_WD_FUNCTION_SETTINGS~create_function( id = 'LS' ).

seperator->SET_EDITOR( lr_seperator ).

Thanks and Regards

Tulasi Palnati