
Like the List ATS UIBB, the Tree UIBB can activate a search function within its toolbar.
Unlike the List ATS UIBB, in which the search function can be activated simply by selecting the Search Function field in the General Settings panel in FLUID, the search function for the Tree UIBB requires the application to prepare the data before the search.
For this, the application must assign the following value to the SEARCH attribute: IF_FPM_GUIBB_TREE=>GC_SEARCH_OPTIONS-ENABLED.
For this, the application must assign the following value to the SEARCH attribute: IF_FPM_GUIBB_TREE=> GC_SEARCH_OPTIONS-DYNAMIC.
When the search is executed, the Tree UIBB raises the FPM event IF_FPM_GUIBB_TREE=>LOAD_ALL_DATA. This is the signal for the feeder class to provide all data in method GET_DATA.
Now you can activate the search function for the Tree UIBB in FLUID.
This feature is possible due to the text marker properties of the Web Dynpro ABAP UI element, the C-Table. For more information, see C Table Properties in the SAP Help Portal (help.sap.com).