on 10-30-2015 4:28 AM
Hi Experts,
I wan to Add custom button in fpm configuration using feeder Class.
how i can do.
please give me a solution.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks,
Abhisek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.