Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to trigger Variants in WDA FPM.

Hello All,

I have configured two different variants in FPM Say Variant_1 and Variant_1 both having different Steps.

Based on some processing logic I have to trigger Variant_1 and Variant_2.

Say

In the Button1 action need to trigger Variant_1

In the Button2 action need to trigger Variant_2

I am not sure where i have to write the below code.

What exactly Life Cycle of FPM in WDA?Can any one explain the developer guide bit hard to understand.

WDA FPM developers guide .In the Page : 52 given below code.

method OVERRIDE_EVENT_OIF of the IF_FPM_OIF_CONF_EXIT .

...

case io_oif->mo_event->MV_EVENT_ID.

when if_fpm_constants=>gc_event-leave_initial_screen.

io_oif->set_variant( ).

...

GAF Instance

method OVERRIDE_EVENT_GAF .

...

case io_gaf->mo_event->MV_EVENT_ID.

when if_fpm_constants=>gc_event-leave_initial_screen.

io_gaf->set_variant( ).

Thanks in Advance.

BR

-CW

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question