Skip to Content
avatar image
Former Member

Separator in Button choice

Hi All,

I have created BUTTON CHOICE by using the following code.

DATA:lr_choice TYPE REF TO cl_salv_wd_menu_action_item.

CREATE OBJECT lr_choice

EXPORTING

id = 'CHOICE_T'.

lr_choice->set_text( 'Talent Groups' ).

lr_button_choice->add_choice( lr_choice ).

In this I need separator between the choices.Please send me solution asap.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 15, 2008 at 05:24 AM

    Hi VenkataRajesh Kumar M ,

    i think its not possible to give seperator b/w , if u are using button choice, instead u can use road map to achive the same requirement.

    Regards

    Sarath

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 15, 2008 at 09:17 AM

    Hi,

    Use these classes for creation of separator.

    CL_WD_MENU_SEPARATOR(method NEW_MENU_SEPARATOR),cl_wd_toolbar_separator(method is NEW_TOOLBAR_SEPARATOR).

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sridevi,

      I tried with these classes but i did not get, could u send code for this asap.

      Regards,

      Rajesh.