Skip to Content
avatar image
Former Member

Separator Field in ALV

Hi everybody.

Is there any way to add a separator field whithin an ALV???

Is there any pre-built field or property for this requirement??

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 20, 2007 at 12:02 PM

    Hi,

    which ALV do you use?

    regards, Dieter

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Jose,

      Well if you are working on the WebDynpro ABAP ALV, Then there is a class cl_salv_wd_fe_separator.

      Here is a sample code.

      DATA lr_seperator1 TYPE REF TO cl_salv_wd_fe_separator.

      CREATE OBJECT lr_seperator1.

      DATA sep TYPE REF TO cl_salv_wd_function.

      sep = lo_config->if_salv_wd_function_settings~create_function( id = 'SEP' ).

      sep->set_editor( lr_seperator1 ).

      This will add a separator to the ALV toolbar.

      Hope this helps.

      Regards,

      Gaurav.