
Applications can specify additional quickviews (that are not statically configured) at runtime; these are instantiated in addition to the configured quickviews.
This can be done by raising an FPM event of the event class type CL_FPM_DYNAMIC_QUICKVIEW_EVENT with the Event ID FPM_DYNAMIC_QUICKVIEW (constant CL_FPM_DYNAMIC_QUICKVIEW_EVENT=>GC_EVENT_DYNAMIC_QUICKVIEW) and the tabular event parameter NEW_QUICKVIEWS (constant CL_FPM_DYNAMIC_QUICKVIEW_EVENT=>GC_EVENT_PARAM_NEW_QUICKVIEWS) of type CL_FPM_DYNAMIC_QUICKVIEW_EVENT=>TY_T_QUICKVIEW.
The application can then exchange the quickview to be opened when hovering over a field using the existing mechanism. This can be done by implementing interface IF_FPM_QUICKVIEW_SOURCE and its method GET_QUICKVIEW_KEY in the respective feeder class.
To find out which quickviews have already been instantiated, and to which feeder class fields they are assigned, the feeder class of the quickview source GUIBB can call method GET_QUICKVIEW_INFORMATION on the extended control interface instance (in the case of the Form GL2 GUIBB for example, this is an instance of interface IF_FPM_FORM_EXT_CTRL) that is passed to the feeder class in method GET_DATA.