SAP FUBA_ES_BROWSER_SEARCH Function Module for Suchen im ES Browser
FUBA_ES_BROWSER_SEARCH is a standard fuba es browser search SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Suchen im ES Browser processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for fuba es browser search FM, simply by entering the name FUBA_ES_BROWSER_SEARCH into the relevant SAP transaction such as SE37 or SE38.
Function Group: FUGR_ESR_FILTER_SEARCH
Program Name: SAPLFUGR_ESR_FILTER_SEARCH
Main Program: SAPLFUGR_ESR_FILTER_SEARCH
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FUBA_ES_BROWSER_SEARCH pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'FUBA_ES_BROWSER_SEARCH'"Suchen im ES Browser.
EXPORTING
FILTER = "
REPOSITORY_OBJECT_TYPES = "
COMPONENTS = "
IMPORTING
SEARCH_RESULT_NODES_SELECTED = "
SEARCH_RESULT_AUTO_ADD_NODE = "boolsche Variable (X=true, -=false, space=unknown)
CHANGING
SEARCH_RESULT_NSOBJECTS = "
SEARCH_REQUEST = "
REP_COMMUNICATION_ERROR = "boolsche Variable (X=true, -=false, space=unknown)
IMPORTING Parameters details for FUBA_ES_BROWSER_SEARCH
FILTER -
Data type: CL_ESR_BROWSER_TREE=>TYX_ESR_FILTEROptional: No
Call by Reference: Yes
REPOSITORY_OBJECT_TYPES -
Data type: CL_ESR_BROWSER_DATA=>TTY_REP_OBJ_TYPESOptional: No
Call by Reference: Yes
COMPONENTS -
Data type: CL_ESR_BROWSER_DATA=>TTY_COMPONENTSOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FUBA_ES_BROWSER_SEARCH
SEARCH_RESULT_NODES_SELECTED -
Data type: CL_ESR_BROWSER_DATA=>TTY_NAVIGATION_NODE_KEYSOptional: No
Call by Reference: Yes
SEARCH_RESULT_AUTO_ADD_NODE - boolsche Variable (X=true, -=false, space=unknown)
Data type: BOOLEANOptional: No
Call by Reference: Yes
CHANGING Parameters details for FUBA_ES_BROWSER_SEARCH
SEARCH_RESULT_NSOBJECTS -
Data type: CL_ESR_BROWSER_DATA=>TTY_OBJECTSOptional: No
Call by Reference: Yes
SEARCH_REQUEST -
Data type: CL_ESR_BROWSER_TREE=>TY_SEARCH_REQUESTOptional: No
Call by Reference: Yes
REP_COMMUNICATION_ERROR - boolsche Variable (X=true, -=false, space=unknown)
Data type: BOOLEANOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FUBA_ES_BROWSER_SEARCH Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_filter | TYPE CL_ESR_BROWSER_TREE=>TYX_ESR_FILTER, " | |||
| lv_search_result_nsobjects | TYPE CL_ESR_BROWSER_DATA=>TTY_OBJECTS, " | |||
| lv_search_result_nodes_selected | TYPE CL_ESR_BROWSER_DATA=>TTY_NAVIGATION_NODE_KEYS, " | |||
| lv_search_request | TYPE CL_ESR_BROWSER_TREE=>TY_SEARCH_REQUEST, " | |||
| lv_repository_object_types | TYPE CL_ESR_BROWSER_DATA=>TTY_REP_OBJ_TYPES, " | |||
| lv_search_result_auto_add_node | TYPE BOOLEAN, " | |||
| lv_components | TYPE CL_ESR_BROWSER_DATA=>TTY_COMPONENTS, " | |||
| lv_rep_communication_error | TYPE BOOLEAN. " |
|   CALL FUNCTION 'FUBA_ES_BROWSER_SEARCH' "Suchen im ES Browser |
| EXPORTING | ||
| FILTER | = lv_filter | |
| REPOSITORY_OBJECT_TYPES | = lv_repository_object_types | |
| COMPONENTS | = lv_components | |
| IMPORTING | ||
| SEARCH_RESULT_NODES_SELECTED | = lv_search_result_nodes_selected | |
| SEARCH_RESULT_AUTO_ADD_NODE | = lv_search_result_auto_add_node | |
| CHANGING | ||
| SEARCH_RESULT_NSOBJECTS | = lv_search_result_nsobjects | |
| SEARCH_REQUEST | = lv_search_request | |
| REP_COMMUNICATION_ERROR | = lv_rep_communication_error | |
| . " FUBA_ES_BROWSER_SEARCH | ||
ABAP code using 7.40 inline data declarations to call FM FUBA_ES_BROWSER_SEARCH
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects