SAP SALH_SELFMONI_BUILD_NODE Function Module for









SALH_SELFMONI_BUILD_NODE is a standard salh selfmoni build node 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 salh selfmoni build node FM, simply by entering the name SALH_SELFMONI_BUILD_NODE into the relevant SAP transaction such as SE37 or SE38.

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



Function SALH_SELFMONI_BUILD_NODE 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 'SALH_SELFMONI_BUILD_NODE'"
EXPORTING
SELFMONI_MO_NAME = "
* SELFMONI_MO_UID = "
SELFMONI_MO_MTE_CLASS = "
* SELFMONI_MA_NAME = "
* SELFMONI_MA_UID = "
* SELFMONI_MA_MTE_CLASS = "
* SYSTEMWIDE_CONTEXT = ' ' "
* MTE_SECONDS_TIL_COLLECTINGTOOL = 0 "Alert: Time Values in Seconds
* TOOL_COLLECTING = "Alert: Logical Name of Tool

IMPORTING
SELFMONI_TID = "

EXCEPTIONS
COULD_NOT_BUILD_NODE = 1
.



IMPORTING Parameters details for SALH_SELFMONI_BUILD_NODE

SELFMONI_MO_NAME -

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

SELFMONI_MO_UID -

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

SELFMONI_MO_MTE_CLASS -

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

SELFMONI_MA_NAME -

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

SELFMONI_MA_UID -

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

SELFMONI_MA_MTE_CLASS -

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

SYSTEMWIDE_CONTEXT -

Data type: ALPARAMS-ONLY_LOCAL
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

MTE_SECONDS_TIL_COLLECTINGTOOL - Alert: Time Values in Seconds

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

TOOL_COLLECTING - Alert: Logical Name of Tool

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

EXPORTING Parameters details for SALH_SELFMONI_BUILD_NODE

SELFMONI_TID -

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

EXCEPTIONS details

COULD_NOT_BUILD_NODE -

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

Copy and paste ABAP code example for SALH_SELFMONI_BUILD_NODE 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_selfmoni_tid  TYPE ALGLOBTID, "   
lv_selfmoni_mo_name  TYPE ALMTCREATE-NAME, "   
lv_could_not_build_node  TYPE ALMTCREATE, "   
lv_selfmoni_mo_uid  TYPE ALMTCREATE-UNIQUENUM, "   
lv_selfmoni_mo_mte_class  TYPE ALMTCREATE-CUSGROUPMT, "   
lv_selfmoni_ma_name  TYPE ALMTCREATE-NAME, "   
lv_selfmoni_ma_uid  TYPE ALMTCREATE-UNIQUENUM, "   
lv_selfmoni_ma_mte_class  TYPE ALMTCREATE-CUSGROUPMT, "   
lv_systemwide_context  TYPE ALPARAMS-ONLY_LOCAL, "   ' '
lv_mte_seconds_til_collectingtool  TYPE ALMTCUSTWR-SECTRGTOOL, "   0
lv_tool_collecting  TYPE ALTOOLASSG-TOOLNAME. "   

  CALL FUNCTION 'SALH_SELFMONI_BUILD_NODE'  "
    EXPORTING
         SELFMONI_MO_NAME = lv_selfmoni_mo_name
         SELFMONI_MO_UID = lv_selfmoni_mo_uid
         SELFMONI_MO_MTE_CLASS = lv_selfmoni_mo_mte_class
         SELFMONI_MA_NAME = lv_selfmoni_ma_name
         SELFMONI_MA_UID = lv_selfmoni_ma_uid
         SELFMONI_MA_MTE_CLASS = lv_selfmoni_ma_mte_class
         SYSTEMWIDE_CONTEXT = lv_systemwide_context
         MTE_SECONDS_TIL_COLLECTINGTOOL = lv_mte_seconds_til_collectingtool
         TOOL_COLLECTING = lv_tool_collecting
    IMPORTING
         SELFMONI_TID = lv_selfmoni_tid
    EXCEPTIONS
        COULD_NOT_BUILD_NODE = 1
. " SALH_SELFMONI_BUILD_NODE




ABAP code using 7.40 inline data declarations to call FM SALH_SELFMONI_BUILD_NODE

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 NAME FROM ALMTCREATE INTO @DATA(ld_selfmoni_mo_name).
 
 
"SELECT single UNIQUENUM FROM ALMTCREATE INTO @DATA(ld_selfmoni_mo_uid).
 
"SELECT single CUSGROUPMT FROM ALMTCREATE INTO @DATA(ld_selfmoni_mo_mte_class).
 
"SELECT single NAME FROM ALMTCREATE INTO @DATA(ld_selfmoni_ma_name).
 
"SELECT single UNIQUENUM FROM ALMTCREATE INTO @DATA(ld_selfmoni_ma_uid).
 
"SELECT single CUSGROUPMT FROM ALMTCREATE INTO @DATA(ld_selfmoni_ma_mte_class).
 
"SELECT single ONLY_LOCAL FROM ALPARAMS INTO @DATA(ld_systemwide_context).
DATA(ld_systemwide_context) = ' '.
 
"SELECT single SECTRGTOOL FROM ALMTCUSTWR INTO @DATA(ld_mte_seconds_til_collectingtool).
 
"SELECT single TOOLNAME FROM ALTOOLASSG INTO @DATA(ld_tool_collecting).
 


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!