Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

OVERRIDE_EVENT_GAF method not getting called GAF FPM Application

$
0
0

Hi Experts,

 

Application Type : FPM GAF

Requirement: To choose a FPM Variant at runtime, based on user selection.

 

 

What's done till now:

I implemented the Interface IF_FPM_GAF_CONF_EXIT, which created a method OVERRIDE_EVENT_GAF in Component Controller. In this method, I wrote the following code to decide the VARIANT at runtime

 

"Decide which Variant to Select

   case IO_GAF->MO_EVENT->MV_EVENT_ID.

     when IF_FPM_CONSTANTS=>GC_EVENT-LEAVE_INITIAL_SCREEN.

       case  WD_THIS->GV_PROCESS.

         when '1'.

           IO_GAF->SET_VARIANT( IV_VARIANT_ID = 'VARIANT_1' ).

         when '2'.

           IO_GAF->SET_VARIANT( IV_VARIANT_ID = 'VARIANT_2' ).

         when '3'.

           IO_GAF->SET_VARIANT( IV_VARIANT_ID = 'VARIANT_3' ).

       endcase.

   endcase.

 

 

In a view on press of button, I raised the event  LEAVE_INITIAL_SCREEN:

    WD_COMP_CONTROLLER->GO_FPM->RAISE_EVENT_BY_ID( IF_FPM_CONSTANTS=>GC_EVENT-LEAVE_INITIAL_SCREEN ).

 


ISSUE:

At runtime when I press the Button, it is raising LEAVE_INITIAL_SCREEN event, however the method OVERRIDE_EVENT_GAF is not getting called at all.



Please advise, what step am  I missing ??


Regards,

Ajay


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>