cancel
Showing results for 
Search instead for 
Did you mean: 

Change event queue in FPM GAF

joerg_arndt
Participant
0 Kudos

Hi Friends,

I have a small problem.

I want to prevent executing the next button in  a GAF FPM aplicaton.

I want to show up a popup when pressing the GAF  button and depending of the action I want to change to the next step or stay on the current.

But when I press the Button the next Page is showing and the Popup appears there.

Actually what I want is, to stay on the current page and only move to the next when the popup confirms.

Thanks very much in advance.

Rg. Joerg

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Joerg,

Since you want to manipulate FPM framework dynamically you need to define application controller in General Settings>>FPM Settings

that component should implement the interface IF_FPM_GAF_CONF_EXIT this interface has a method

OVERRIDE_EVENT_GAF that has an importing parameter IF_FPM_GAF which has methods like

Enable mainstep, hide mainstep etc you could explore which fits your need.

Regards

Anurag

joerg_arndt
Participant
0 Kudos

Thanks Tudor,

but this des not work.

It cancels the whole event queue.

The point is, when I push the "next" button, this event is proceeded imediatly.

The order would be.

1. event FPM_NEXT

2. event OPEN_DIALOG

This means the screen is allready changed.

I need to change the order in the event loop table.

Any other Ideas?

Rg. Joerg

TudorRiscutia
Active Participant
0 Kudos

Have you tried to replace the event behind the 'Next' button with your own? And after you do whatever, trigger the standard functionality? You can also raise fpm events...

Tudor

joerg_arndt
Participant
0 Kudos

How can I replace it?

Thanks Joerg

TudorRiscutia
Active Participant
0 Kudos

Hello Jeorg,

     If you've wrote your coding in the PROCESS_EVENT method, try setting the value of export parameter ev_result = 'FAILED' or 'DEFER'. This should prevent the FPM framework to proceed.

Tudor