SAP MSM_GRAPH_CREATE_NOTIFICATION Function Module for Create notification for selected object in MSM graphic









MSM_GRAPH_CREATE_NOTIFICATION is a standard msm graph create notification SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create notification for selected object in MSM graphic 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 msm graph create notification FM, simply by entering the name MSM_GRAPH_CREATE_NOTIFICATION into the relevant SAP transaction such as SE37 or SE38.

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



Function MSM_GRAPH_CREATE_NOTIFICATION 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 'MSM_GRAPH_CREATE_NOTIFICATION'"Create notification for selected object in MSM graphic
EXPORTING
GRAPH_CMD = "
SELECTED_LEFT_HAND = "
SELECTED_RIGHT_HAND = "
NUMBER_SELECTED_BOXES = "
NUMBER_SELECTED_NODES = "
NUMBER_SELECTED_OBJECTS_TOTAL = "

IMPORTING
ABAP_CMD = "

TABLES
* LEFT_HAND_TAB_LOCAL = "
* RIGHT_HAND_TAB_LOCAL = "
* BOXES_LOCAL = "
* BOX_VALS_LOCAL = "
* DELETIONS_LOCAL = "
* NODES_LOCAL = "
* NODE_VALS_LOCAL = "
* POSITIONS_LOCAL = "
.



IMPORTING Parameters details for MSM_GRAPH_CREATE_NOTIFICATION

GRAPH_CMD -

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

SELECTED_LEFT_HAND -

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

SELECTED_RIGHT_HAND -

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

NUMBER_SELECTED_BOXES -

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

NUMBER_SELECTED_NODES -

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

NUMBER_SELECTED_OBJECTS_TOTAL -

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

EXPORTING Parameters details for MSM_GRAPH_CREATE_NOTIFICATION

ABAP_CMD -

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

TABLES Parameters details for MSM_GRAPH_CREATE_NOTIFICATION

LEFT_HAND_TAB_LOCAL -

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

RIGHT_HAND_TAB_LOCAL -

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

BOXES_LOCAL -

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

BOX_VALS_LOCAL -

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

DELETIONS_LOCAL -

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

NODES_LOCAL -

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

NODE_VALS_LOCAL -

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

POSITIONS_LOCAL -

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

Copy and paste ABAP code example for MSM_GRAPH_CREATE_NOTIFICATION 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_abap_cmd  TYPE GRABAPCMD, "   
lv_graph_cmd  TYPE GRMES, "   
lt_left_hand_tab_local  TYPE STANDARD TABLE OF LEFT_HAND_TAB_TYPE, "   
lv_selected_left_hand  TYPE LEFT_HAND_TYPE, "   
lt_right_hand_tab_local  TYPE STANDARD TABLE OF RIGHT_HAND_TAB_TYPE, "   
lt_boxes_local  TYPE STANDARD TABLE OF BCBOXES, "   
lv_selected_right_hand  TYPE RIGHT_HAND_TYPE, "   
lt_box_vals_local  TYPE STANDARD TABLE OF BCVALS, "   
lv_number_selected_boxes  TYPE INT4, "   
lt_deletions_local  TYPE STANDARD TABLE OF BCDELETE, "   
lv_number_selected_nodes  TYPE INT4, "   
lt_nodes_local  TYPE STANDARD TABLE OF BCNODES, "   
lv_number_selected_objects_total  TYPE INT4, "   
lt_node_vals_local  TYPE STANDARD TABLE OF BCNVALS, "   
lt_positions_local  TYPE STANDARD TABLE OF BCPOSITION. "   

  CALL FUNCTION 'MSM_GRAPH_CREATE_NOTIFICATION'  "Create notification for selected object in MSM graphic
    EXPORTING
         GRAPH_CMD = lv_graph_cmd
         SELECTED_LEFT_HAND = lv_selected_left_hand
         SELECTED_RIGHT_HAND = lv_selected_right_hand
         NUMBER_SELECTED_BOXES = lv_number_selected_boxes
         NUMBER_SELECTED_NODES = lv_number_selected_nodes
         NUMBER_SELECTED_OBJECTS_TOTAL = lv_number_selected_objects_total
    IMPORTING
         ABAP_CMD = lv_abap_cmd
    TABLES
         LEFT_HAND_TAB_LOCAL = lt_left_hand_tab_local
         RIGHT_HAND_TAB_LOCAL = lt_right_hand_tab_local
         BOXES_LOCAL = lt_boxes_local
         BOX_VALS_LOCAL = lt_box_vals_local
         DELETIONS_LOCAL = lt_deletions_local
         NODES_LOCAL = lt_nodes_local
         NODE_VALS_LOCAL = lt_node_vals_local
         POSITIONS_LOCAL = lt_positions_local
. " MSM_GRAPH_CREATE_NOTIFICATION




ABAP code using 7.40 inline data declarations to call FM MSM_GRAPH_CREATE_NOTIFICATION

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



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!