cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger Button in GAF Fpm

Former Member
0 Kudos

Hi

i created a button in GAF Fpm

here the code is,.....

CALL METHOD lo_gaf->define_button

       EXPORTING

         iv_function       = if_fpm_constants=>gc_button-other_function

         iv_element_id     = 'FPM_1234'

         iv_enabled        = 'X'

         iv_on_action      = 0

         iv_text           = 'Custom Button'

         iv_visibility     cl_wd_button=>e_visible-visible

in the view init method .

the button is visible.

when i click on that how to get event id of that button to do specific functionality.

cursor is going to WDDOMODIFYVIEW instead of PROCESS_EVENT

i think i created a button through coding thats y, cursor is not going in to process_event but how to handle it in modify view.

Thanks and regards.

Vasu yadav

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vasu,

Is there any specific reason you have created button in Webdynpro than directly in FPM.

If in webdynpro then it will surely go to View where it was created and will not be able to handle through Webdynpro modify view.

Phani

Former Member
0 Kudos

HI Phani

the reason is i have two scenarios for the same webdynpro component

for 1 scenario button has to be in enable mode and visible,

     2 scenario button has to be invisible.

to achieve this i gone to this approach is their any easy way and i think if we declare any button in fpm through configuration we cannot disable through condition right....

Thanks & Regards

Vasu Yadav