cancel
Showing results for 
Search instead for 
Did you mean: 

How to Add Custom Button in FPM Webdynpro

Former Member
0 Kudos

Hi Experts,

I wan to Add custom button in fpm configuration using feeder Class.

how i can do.

please give me a solution.

Accepted Solutions (1)

Accepted Solutions (1)

AbhishekSharma
Active Contributor
0 Kudos

Hi Mayank,

You can add Buttons to FPM UIBB using configuration provided.

As suggested by Ramakrishnan Murugan, once you add buttons defination in GET_DEFINATION method of your UIBB.

Then from component configuration you will get all buttons in Toolbar as below:

Once you add that button you will see events also which you can Handel in your code.

Thanks-

Abhishek

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks,

Abhisek

AbhishekSharma
Active Contributor
0 Kudos

Hi Mayank,

Thanks, glad to see my answer was helpful to you.

Just curious, it would be great If we can move this question to "Floorplan Manager" discussion space so that others can search easily.

Below is the link of Floorplan Manager Discussion forum.

Thanks-

Abhishek

former_member197475
Active Contributor
0 Kudos

Hi Mayank,

You can enhance your feeder class method GET_DEFINITION and add the action id to the exporting table et_action_definition to get the action.


For Eg:

  li_action_line-id       = 'SAVE_VALUE'.  " You can give name you want to the action ID

  li_action_line-visible  = cl_wd_uielement=>e_visible-visible.

  li_action_line-enabled  = abap_true.

  li_action_line-imagesrc = 'ICON_ADDRESS'.                          " Image for actions

  APPEND li_action_line TO et_action_definition.


This will automatically add the event in your GUIBB config where you can add a button to it at config level.

BR,

RAM.