Skip to Content
0

invalidate Dynamic generate UIBB in FPM aplication

Nov 28, 2016 at 12:20 PM

141

avatar image

Hello,

I have a FPM configuration with on one tree UIBB and multiple dynamic UIBBs. When I trigger a event in my tree UIBB I want to Invalidate and Re-instantiate my dynamic UIBB.

Where and How do I have to trigger the Invalidation event? I can't find any samples of documentation.

Kind regards,

Richard Middelburg

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Christian Guenther
Nov 28, 2016 at 01:01 PM
0

Hello Richard,

best have a look at test application FPM_TEST_DYNAMIC_UIBB.

Basically you have to trigger an invalidate uibb event

data(lo_event) = cl_fpm_event=>create_by_id( if_fpm_constants=>gc_event-invalidate_uibb ).

and attach the list of UIBB keys, which shall be invalidated to the event

data lt_invalid_uibb type fpm_t_component_instance_key.

"fill lt_invalid_uibb...

....

"...and add it to event
lo_event->mo_event_data->set_value( iv_key   = if_fpm_constants=>gc_event_param-list_of_instances
                                    iv_value = lt_invalid_uibb ).

Best regards,

Christian

Share
10 |10000 characters needed characters left characters exceeded