SAP BMENU_CALL_NODE_DIALOG Function Module for









BMENU_CALL_NODE_DIALOG is a standard bmenu call node dialog 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 call node dialog FM, simply by entering the name BMENU_CALL_NODE_DIALOG into the relevant SAP transaction such as SE37 or SE38.

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



Function BMENU_CALL_NODE_DIALOG 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_CALL_NODE_DIALOG'"
EXPORTING
* CREATE = ' ' "
* LANGUAGE = "
* LANG_ERROR = ' ' "
ACTUAL_NODE = "
PARENT_NODE = "
* DISPLAY_MODE = ' ' "

IMPORTING
ACTION = "

CHANGING
NODE_TYPE = "

TABLES
LIST_OF_NODES = "
LIST_OF_REFERENCES = "
LIST_OF_TEXTS = "
.



IMPORTING Parameters details for BMENU_CALL_NODE_DIALOG

CREATE -

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

LANGUAGE -

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

LANG_ERROR -

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

ACTUAL_NODE -

Data type: HIER_IFACE
Optional: No
Call by Reference: No ( called with pass by value option)

PARENT_NODE -

Data type: HIER_IFACE
Optional: No
Call by Reference: No ( called with pass by value option)

DISPLAY_MODE -

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

EXPORTING Parameters details for BMENU_CALL_NODE_DIALOG

ACTION -

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

CHANGING Parameters details for BMENU_CALL_NODE_DIALOG

NODE_TYPE -

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

TABLES Parameters details for BMENU_CALL_NODE_DIALOG

LIST_OF_NODES -

Data type: HIER_IFACE
Optional: No
Call by Reference: No ( called with pass by value option)

LIST_OF_REFERENCES -

Data type: HIER_REF
Optional: No
Call by Reference: No ( called with pass by value option)

LIST_OF_TEXTS -

Data type: HIER_TEXTS
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for BMENU_CALL_NODE_DIALOG 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_action  TYPE SY-UCOMM, "   
lv_create  TYPE SY, "   SPACE
lv_node_type  TYPE HIER_IFACE-NODE_TYPE, "   
lt_list_of_nodes  TYPE STANDARD TABLE OF HIER_IFACE, "   
lv_language  TYPE SY-LANGU, "   
lt_list_of_references  TYPE STANDARD TABLE OF HIER_REF, "   
lv_lang_error  TYPE CHAR1, "   SPACE
lt_list_of_texts  TYPE STANDARD TABLE OF HIER_TEXTS, "   
lv_actual_node  TYPE HIER_IFACE, "   
lv_parent_node  TYPE HIER_IFACE, "   
lv_display_mode  TYPE HIER_IFACE. "   SPACE

  CALL FUNCTION 'BMENU_CALL_NODE_DIALOG'  "
    EXPORTING
         CREATE = lv_create
         LANGUAGE = lv_language
         LANG_ERROR = lv_lang_error
         ACTUAL_NODE = lv_actual_node
         PARENT_NODE = lv_parent_node
         DISPLAY_MODE = lv_display_mode
    IMPORTING
         ACTION = lv_action
    CHANGING
         NODE_TYPE = lv_node_type
    TABLES
         LIST_OF_NODES = lt_list_of_nodes
         LIST_OF_REFERENCES = lt_list_of_references
         LIST_OF_TEXTS = lt_list_of_texts
. " BMENU_CALL_NODE_DIALOG




ABAP code using 7.40 inline data declarations to call FM BMENU_CALL_NODE_DIALOG

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 UCOMM FROM SY INTO @DATA(ld_action).
 
DATA(ld_create) = ' '.
 
"SELECT single NODE_TYPE FROM HIER_IFACE INTO @DATA(ld_node_type).
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_language).
 
 
DATA(ld_lang_error) = ' '.
 
 
 
 
DATA(ld_display_mode) = ' '.
 


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!