Skip to Content
avatar image
Former Member

How to Add Custom Button in FPM Webdynpro

Hi Experts,

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

how i can do.

please give me a solution.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Oct 30, 2015 at 01:53 PM

    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


    buttonuibb.PNG (28.8 kB)
    buttonuibb2.PNG (12.5 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 30, 2015 at 01:15 PM

    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.   

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 04, 2015 at 10:23 AM

    Thanks,

    Abhisek

    Add comment
    10|10000 characters needed characters exceeded