SAP BM_STREE_BROWSER_EXIT_2_ACH Function Module for









BM_STREE_BROWSER_EXIT_2_ACH is a standard bm stree browser exit 2 ach SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 bm stree browser exit 2 ach FM, simply by entering the name BM_STREE_BROWSER_EXIT_2_ACH into the relevant SAP transaction such as SE37 or SE38.

Function Group: SF01
Program Name: SAPLSF01
Main Program: SAPLSF01
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function BM_STREE_BROWSER_EXIT_2_ACH 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 'BM_STREE_BROWSER_EXIT_2_ACH'"
EXPORTING
STRUCTURE_ID = "
FILTER_ID = "
* LANGUAGE = SY-LANGU "
COMMAND = "
EXIT = "
LIST_REFRESH = "
COMMAND_EXECUTED_BY_TOOL = "

IMPORTING
E_EXIT = "
E_LIST_REFRESH = "

TABLES
* NODES = "
* ALL_NODES = "
* ALL_REFERENCES = "
* ALL_TEXTS = "
* NEW_NODES = "
* NEW_REFERENCES = "
* NEW_TEXTS = "
USER_PARAMETERS = "
.



IMPORTING Parameters details for BM_STREE_BROWSER_EXIT_2_ACH

STRUCTURE_ID -

Data type: TTREE-ID
Optional: No
Call by Reference: No ( called with pass by value option)

FILTER_ID -

Data type: TTREE-ID
Optional: No
Call by Reference: No ( called with pass by value option)

LANGUAGE -

Data type: SY-LANGU
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

COMMAND -

Data type: SY-UCOMM
Optional: No
Call by Reference: No ( called with pass by value option)

EXIT -

Data type: HIER_TYPES-CHAR1
Optional: No
Call by Reference: No ( called with pass by value option)

LIST_REFRESH -

Data type: HIER_TYPES-CHAR1
Optional: No
Call by Reference: No ( called with pass by value option)

COMMAND_EXECUTED_BY_TOOL -

Data type: HIER_TYPES-CHAR1
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for BM_STREE_BROWSER_EXIT_2_ACH

E_EXIT -

Data type: HIER_TYPES-CHAR1
Optional: No
Call by Reference: No ( called with pass by value option)

E_LIST_REFRESH -

Data type: HIER_TYPES-CHAR1
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for BM_STREE_BROWSER_EXIT_2_ACH

NODES -

Data type: SEUCOMM
Optional: Yes
Call by Reference: Yes

ALL_NODES -

Data type: HIER_IFACE
Optional: Yes
Call by Reference: Yes

ALL_REFERENCES -

Data type: HIER_REF
Optional: Yes
Call by Reference: Yes

ALL_TEXTS -

Data type: HIER_TEXTS
Optional: Yes
Call by Reference: Yes

NEW_NODES -

Data type: HIER_IFACE
Optional: Yes
Call by Reference: Yes

NEW_REFERENCES -

Data type: HIER_REF
Optional: Yes
Call by Reference: Yes

NEW_TEXTS -

Data type: HIER_TEXTS
Optional: Yes
Call by Reference: Yes

USER_PARAMETERS -

Data type: STREEPROP
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BM_STREE_BROWSER_EXIT_2_ACH 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:
lt_nodes  TYPE STANDARD TABLE OF SEUCOMM, "   
lv_e_exit  TYPE HIER_TYPES-CHAR1, "   
lv_structure_id  TYPE TTREE-ID, "   
lt_all_nodes  TYPE STANDARD TABLE OF HIER_IFACE, "   
lv_filter_id  TYPE TTREE-ID, "   
lv_e_list_refresh  TYPE HIER_TYPES-CHAR1, "   
lv_language  TYPE SY-LANGU, "   SY-LANGU
lt_all_references  TYPE STANDARD TABLE OF HIER_REF, "   
lv_command  TYPE SY-UCOMM, "   
lt_all_texts  TYPE STANDARD TABLE OF HIER_TEXTS, "   
lv_exit  TYPE HIER_TYPES-CHAR1, "   
lt_new_nodes  TYPE STANDARD TABLE OF HIER_IFACE, "   
lv_list_refresh  TYPE HIER_TYPES-CHAR1, "   
lt_new_references  TYPE STANDARD TABLE OF HIER_REF, "   
lt_new_texts  TYPE STANDARD TABLE OF HIER_TEXTS, "   
lv_command_executed_by_tool  TYPE HIER_TYPES-CHAR1, "   
lt_user_parameters  TYPE STANDARD TABLE OF STREEPROP. "   

  CALL FUNCTION 'BM_STREE_BROWSER_EXIT_2_ACH'  "
    EXPORTING
         STRUCTURE_ID = lv_structure_id
         FILTER_ID = lv_filter_id
         LANGUAGE = lv_language
         COMMAND = lv_command
         EXIT = lv_exit
         LIST_REFRESH = lv_list_refresh
         COMMAND_EXECUTED_BY_TOOL = lv_command_executed_by_tool
    IMPORTING
         E_EXIT = lv_e_exit
         E_LIST_REFRESH = lv_e_list_refresh
    TABLES
         NODES = lt_nodes
         ALL_NODES = lt_all_nodes
         ALL_REFERENCES = lt_all_references
         ALL_TEXTS = lt_all_texts
         NEW_NODES = lt_new_nodes
         NEW_REFERENCES = lt_new_references
         NEW_TEXTS = lt_new_texts
         USER_PARAMETERS = lt_user_parameters
. " BM_STREE_BROWSER_EXIT_2_ACH




ABAP code using 7.40 inline data declarations to call FM BM_STREE_BROWSER_EXIT_2_ACH

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 CHAR1 FROM HIER_TYPES INTO @DATA(ld_e_exit).
 
"SELECT single ID FROM TTREE INTO @DATA(ld_structure_id).
 
 
"SELECT single ID FROM TTREE INTO @DATA(ld_filter_id).
 
"SELECT single CHAR1 FROM HIER_TYPES INTO @DATA(ld_e_list_refresh).
 
"SELECT single LANGU FROM SY INTO @DATA(ld_language).
DATA(ld_language) = SY-LANGU.
 
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_command).
 
 
"SELECT single CHAR1 FROM HIER_TYPES INTO @DATA(ld_exit).
 
 
"SELECT single CHAR1 FROM HIER_TYPES INTO @DATA(ld_list_refresh).
 
 
 
"SELECT single CHAR1 FROM HIER_TYPES INTO @DATA(ld_command_executed_by_tool).
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!