cancel
Showing results for 
Search instead for 
Did you mean: 

FPM - GAF - PORTAL - Refreshing or Reloading Guided Activity Framework app

Former Member
0 Kudos

Hi Guru,

I'm developping a GAF application that will be published into EP.

At the end of my GAF I want to refresh my application and display

the first screen, but not closing it (because I'm in the portal).

I've already fired the last step action and used the following code :


wd_this->mr_fpm->raise_event_by_id( if_fpm_constants=>gc_event-leave_initial_screen )

It 's working fine but the application keep the data,

I would like to reload the whole application with data refreshed.

I've tried this different sentences, but it doesn't refresh my data :


wd_this->mr_fpm->raise_event_by_id( cl_fpm_event=>gc_event_finish ).


wd_this->mr_fpm->raise_event_by_id( cl_fpm_event=>gc_event_refresh ).

(only available for OIF ? Why ?)


wd_this->mr_fpm->raise_event_by_id( cl_fpm_event=>gc_event_close ).  

(I don't want this one)


wd_this->mr_fpm->raise_event_by_id( cl_fpm_event=>gc_event_goto_start ).

Is it a specific event inside FPM to refresh or reload a GAF

without using the gc_event_close ?

Should I refresh context attributes and assistance class attributes manually ?

Any idea ?

Help will be really appreciated.

Regards.

yan

Accepted Solutions (1)

Accepted Solutions (1)

vivekananthan_sellavel
Active Participant
0 Kudos

hi ;

DATA lo_api_component TYPE REF TO if_wd_component.

DATA lo_portal_manager TYPE REF TO if_wd_portal_integration.

lo_api_component = wd_comp_controller->wd_get_api( ).

lo_portal_manager = lo_api_component->get_portal_manager( ).

CALL METHOD lo_portal_manager->navigate_absolute

EXPORTING

navigation_target = "Give the PCD path of the current iview "

.if u integrated in portal . this this will work.

Thanks

Regards

vivek

Answers (2)

Answers (2)

supriya_karale
Explorer
0 Kudos

Hello ,

I am facing a similar problem but in my case I am not using the portal .I directly run the FPM GAF application and I have refresh button in application,on click of refresh button I want to refresh my application .Can you please help me with the solution.

Former Member
0 Kudos

Thank you very much Vivek.