SAP INVOKE_BROWSER_FUNCTION Function Module for NOTRANSL: Aufruf spezieller Funktionen für externe Browser
INVOKE_BROWSER_FUNCTION is a standard invoke browser function SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Aufruf spezieller Funktionen für externe 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 invoke browser function FM, simply by entering the name INVOKE_BROWSER_FUNCTION into the relevant SAP transaction such as SE37 or SE38.
Function Group: CPDMOBJECTBROWSER
Program Name: SAPLCPDMOBJECTBROWSER
Main Program: SAPLCPDMOBJECTBROWSER
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function INVOKE_BROWSER_FUNCTION 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 'INVOKE_BROWSER_FUNCTION'"NOTRANSL: Aufruf spezieller Funktionen für externe Browser.
EXPORTING
* CREATE_WORKITEM = ' ' "Checkbox
* NEW_ROOT = ' ' "Checkbox
* UPDATE_DOCUMENTS = ' ' "Checkbox
* GET_SELECTED_OBJECTS = ' ' "Checkbox
* HIGHLIGHT_IDENT_OBJS = ' ' "Checkbox
* MOVE_TO_OBJECTFOLDER = ' ' "Checkbox
* OBJECT_HANDLE = "ID of Object in Product Structure Browser
* OBJECT_TYPE = "Object Type in Product Structure Browser
* RFCDEST = "Logical Destination (Specified when Calling Function)
* SEND_OBJECT = ' ' "Checkbox
* SHOW_FILTER = ' ' "Checkbox
TABLES
* UPD_DOCUMENT_DATA = "Document Data in Product Structure Browser
* OBJECT_LIST = "Exported objects from the Product Structure Browser
EXCEPTIONS
NO_OBJECT_IN_TREE = 1
IMPORTING Parameters details for INVOKE_BROWSER_FUNCTION
CREATE_WORKITEM - Checkbox
Data type: CSDATA-XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
NEW_ROOT - Checkbox
Data type: CSDATA-XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPDATE_DOCUMENTS - Checkbox
Data type: CSDATA-XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
GET_SELECTED_OBJECTS - Checkbox
Data type: CSDATA-XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
HIGHLIGHT_IDENT_OBJS - Checkbox
Data type: CSDATA-XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
MOVE_TO_OBJECTFOLDER - Checkbox
Data type: CSDATA-XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJECT_HANDLE - ID of Object in Product Structure Browser
Data type: PDM_TREE-OBJECT_HANDLEOptional: Yes
Call by Reference: No ( called with pass by value option)
OBJECT_TYPE - Object Type in Product Structure Browser
Data type: PDM_TREE-OBJECT_TYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
RFCDEST - Logical Destination (Specified when Calling Function)
Data type: PDM_TREE-RFCDESTOptional: Yes
Call by Reference: No ( called with pass by value option)
SEND_OBJECT - Checkbox
Data type: CSDATA-XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SHOW_FILTER - Checkbox
Data type: CSDATA-XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for INVOKE_BROWSER_FUNCTION
UPD_DOCUMENT_DATA - Document Data in Product Structure Browser
Data type: PDM_DOCUMENTOptional: Yes
Call by Reference: Yes
OBJECT_LIST - Exported objects from the Product Structure Browser
Data type: PDM_EXP_OBJECTSOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NO_OBJECT_IN_TREE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for INVOKE_BROWSER_FUNCTION 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_create_workitem | TYPE CSDATA-XFELD, " SPACE | |||
| lv_no_object_in_tree | TYPE CSDATA, " | |||
| lt_upd_document_data | TYPE STANDARD TABLE OF PDM_DOCUMENT, " | |||
| lv_new_root | TYPE CSDATA-XFELD, " SPACE | |||
| lv_update_documents | TYPE CSDATA-XFELD, " SPACE | |||
| lt_object_list | TYPE STANDARD TABLE OF PDM_EXP_OBJECTS, " | |||
| lv_get_selected_objects | TYPE CSDATA-XFELD, " SPACE | |||
| lv_highlight_ident_objs | TYPE CSDATA-XFELD, " SPACE | |||
| lv_move_to_objectfolder | TYPE CSDATA-XFELD, " SPACE | |||
| lv_object_handle | TYPE PDM_TREE-OBJECT_HANDLE, " | |||
| lv_object_type | TYPE PDM_TREE-OBJECT_TYPE, " | |||
| lv_rfcdest | TYPE PDM_TREE-RFCDEST, " | |||
| lv_send_object | TYPE CSDATA-XFELD, " SPACE | |||
| lv_show_filter | TYPE CSDATA-XFELD. " SPACE |
|   CALL FUNCTION 'INVOKE_BROWSER_FUNCTION' "NOTRANSL: Aufruf spezieller Funktionen für externe Browser |
| EXPORTING | ||
| CREATE_WORKITEM | = lv_create_workitem | |
| NEW_ROOT | = lv_new_root | |
| UPDATE_DOCUMENTS | = lv_update_documents | |
| GET_SELECTED_OBJECTS | = lv_get_selected_objects | |
| HIGHLIGHT_IDENT_OBJS | = lv_highlight_ident_objs | |
| MOVE_TO_OBJECTFOLDER | = lv_move_to_objectfolder | |
| OBJECT_HANDLE | = lv_object_handle | |
| OBJECT_TYPE | = lv_object_type | |
| RFCDEST | = lv_rfcdest | |
| SEND_OBJECT | = lv_send_object | |
| SHOW_FILTER | = lv_show_filter | |
| TABLES | ||
| UPD_DOCUMENT_DATA | = lt_upd_document_data | |
| OBJECT_LIST | = lt_object_list | |
| EXCEPTIONS | ||
| NO_OBJECT_IN_TREE = 1 | ||
| . " INVOKE_BROWSER_FUNCTION | ||
ABAP code using 7.40 inline data declarations to call FM INVOKE_BROWSER_FUNCTION
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.| "SELECT single XFELD FROM CSDATA INTO @DATA(ld_create_workitem). | ||||
| DATA(ld_create_workitem) | = ' '. | |||
| "SELECT single XFELD FROM CSDATA INTO @DATA(ld_new_root). | ||||
| DATA(ld_new_root) | = ' '. | |||
| "SELECT single XFELD FROM CSDATA INTO @DATA(ld_update_documents). | ||||
| DATA(ld_update_documents) | = ' '. | |||
| "SELECT single XFELD FROM CSDATA INTO @DATA(ld_get_selected_objects). | ||||
| DATA(ld_get_selected_objects) | = ' '. | |||
| "SELECT single XFELD FROM CSDATA INTO @DATA(ld_highlight_ident_objs). | ||||
| DATA(ld_highlight_ident_objs) | = ' '. | |||
| "SELECT single XFELD FROM CSDATA INTO @DATA(ld_move_to_objectfolder). | ||||
| DATA(ld_move_to_objectfolder) | = ' '. | |||
| "SELECT single OBJECT_HANDLE FROM PDM_TREE INTO @DATA(ld_object_handle). | ||||
| "SELECT single OBJECT_TYPE FROM PDM_TREE INTO @DATA(ld_object_type). | ||||
| "SELECT single RFCDEST FROM PDM_TREE INTO @DATA(ld_rfcdest). | ||||
| "SELECT single XFELD FROM CSDATA INTO @DATA(ld_send_object). | ||||
| DATA(ld_send_object) | = ' '. | |||
| "SELECT single XFELD FROM CSDATA INTO @DATA(ld_show_filter). | ||||
| DATA(ld_show_filter) | = ' '. | |||
Search for further information about these or an SAP related objects