cancel
Showing results for 
Search instead for 
Did you mean: 

Buttons in ToolBar Customizing

Former Member
0 Kudos

Hi all,

I wish to know if it's possible to assign a group of buttons in List view and other group in Form view for a layout defined as List. I want to do this customizing because I need to use two events (associated in toolbar) with the same description and the user could be confused so I use one button for list view and the other for the form view (toogle button).

Thanks in advance for your cooperation.

Regards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thank you very much for your cooperation. I know the basic functionality of eventgroup but has put some light in this way.

Youe told me "It is also possible to decide at runtime which toolbar events should be displayed in the event group". Have I modify the FILL_EVENTGROUP method? Is this not a standard modification?

King Regards

vijayakm
Advisor
Advisor
0 Kudos

Hi Javier Merino Vivar ,

Step 1) For having Dynamic Values you need to do Event Group customization. Set Dynamic Checkbox true .

Step 2) As you mentioned FILL_EVENTGROUP method will fetch the Events during runtime. This is not a change to the standard and it gives flexibility to application to return values.

When you click on EventGroup button a request to framework class CL_CRM_BSP_F4_HELP ,method CALL_EVENT_TABLE is made.

This will eventually result in call to Apllication class , method IF_CRM_BSP_MODEL_ACCESS_IL~FILL_EVENTGROUP.

Apllication has to Fill up changing parameter ct_event and this will get displayed in the Pop-up of events.

Good Example: CL_CRM_BSP_AM_HEADME_1O=======CM007

regards,

Vijaya Kumar M.

Answers (1)

Answers (1)

vijayakm
Advisor
Advisor
0 Kudos

Hi ,

<b>Theory:</b> To reduce the number of different buttons, the event group (CRMC_EVENTGRE) is being introduced. Several toolbar events can be summarized into one event group. In the toolbar, the event group is displayed as one button, where the label (description) is maintained language-dependently in the text table CRMC_EVENTGRE_T. If the user selects this event group button, a popup appears and offers the toolbar event of the event group. It is also possible to decide at runtime which toolbar events should be displayed in the event group.

<b>Implementation</b>

1) USe CRMC_BLUEPRINT_C transaction

2) Event Groups , Create your event group.

3) ToolBar , create the events and assign the Eventgroup you created in step 2.

regards,

vijaya Kumar M.