on 04-24-2018 2:46 PM
Hi,
I am working on a web dynpro component and I am using FPM_GAF_COMPONENT for FPM. I have added few custom buttons to the toolbar using the component configuration. Now my requirement is to hide some of the buttons based on certain conditions. Can you please help on how to get this?
Thanks.
Rajat
I used the below in wdinit of my main view and it worked:
SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L0S31 { font-style: italic; color: #808080; } .L0S52 { color: #0000FF; } .L0S55 { color: #800080; } .L0S70 { color: #808080; }
DATA: lo_cnr_gaf TYPE REF TO if_fpm_cnr_gaf,
lo_fpm TYPE REF TO if_fpm.
lo_fpm = cl_fpm_factory=>get_instance( ).
lo_cnr_gaf ?= lo_fpm->get_service( cl_fpm_service_manager=>gc_key_cnr_gaf ).
DATA lt_buttons TYPE if_fpm_cnr_gaf=>t_button.
DATA ls_button TYPE LINE OF if_fpm_cnr_gaf=>t_button.
CALL METHOD lo_cnr_gaf->get_buttons
IMPORTING
et_buttons = lt_buttons.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.