Skip to Content
avatar image
Former Member

invalidate Dynamic generate UIBB in FPM aplication

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 28, 2016 at 01:01 PM

    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

    Add comment
    10|10000 characters needed characters exceeded