SAP BMENU_NODES_BMENU_IMPORT Function Module for
BMENU_NODES_BMENU_IMPORT is a standard bmenu nodes bmenu import 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 bmenu nodes bmenu import FM, simply by entering the name BMENU_NODES_BMENU_IMPORT into the relevant SAP transaction such as SE37 or SE38.
Function Group: BMEN_IMPORT
Program Name: SAPLBMEN_IMPORT
Main Program: SAPLBMEN_IMPORT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BMENU_NODES_BMENU_IMPORT 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 'BMENU_NODES_BMENU_IMPORT'".
EXPORTING
* LANGUAGE = SY-LANGU "SAP R/3 System, Current Language
TABLES
NODES = "Hierarchy Maintenance Tool Node Passing Interface
REFS = "List of References to Structure Items
TEXTS = "General Structure Repository Node Text
EXCEPTIONS
CANCELED = 1 MENU_NOT_FOUND = 2
IMPORTING Parameters details for BMENU_NODES_BMENU_IMPORT
LANGUAGE - SAP R/3 System, Current Language
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: Yes
TABLES Parameters details for BMENU_NODES_BMENU_IMPORT
NODES - Hierarchy Maintenance Tool Node Passing Interface
Data type: HIER_IFACEOptional: No
Call by Reference: No ( called with pass by value option)
REFS - List of References to Structure Items
Data type: HIER_REFOptional: No
Call by Reference: No ( called with pass by value option)
TEXTS - General Structure Repository Node Text
Data type: HIER_TEXTSOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CANCELED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MENU_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for BMENU_NODES_BMENU_IMPORT 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 HIER_IFACE, " | |||
| lv_canceled | TYPE HIER_IFACE, " | |||
| lv_language | TYPE SY-LANGU, " SY-LANGU | |||
| lt_refs | TYPE STANDARD TABLE OF HIER_REF, " | |||
| lv_menu_not_found | TYPE HIER_REF, " | |||
| lt_texts | TYPE STANDARD TABLE OF HIER_TEXTS. " |
|   CALL FUNCTION 'BMENU_NODES_BMENU_IMPORT' " |
| EXPORTING | ||
| LANGUAGE | = lv_language | |
| TABLES | ||
| NODES | = lt_nodes | |
| REFS | = lt_refs | |
| TEXTS | = lt_texts | |
| EXCEPTIONS | ||
| CANCELED = 1 | ||
| MENU_NOT_FOUND = 2 | ||
| . " BMENU_NODES_BMENU_IMPORT | ||
ABAP code using 7.40 inline data declarations to call FM BMENU_NODES_BMENU_IMPORT
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 LANGU FROM SY INTO @DATA(ld_language). | ||||
| DATA(ld_language) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects