SAP SALR_UTIL_TEST_ALL_FUNCTIONS Function Module for









SALR_UTIL_TEST_ALL_FUNCTIONS is a standard salr util test all functions 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 salr util test all functions FM, simply by entering the name SALR_UTIL_TEST_ALL_FUNCTIONS into the relevant SAP transaction such as SE37 or SE38.

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



Function SALR_UTIL_TEST_ALL_FUNCTIONS 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 'SALR_UTIL_TEST_ALL_FUNCTIONS'"
EXPORTING
MONITOR = "
* TEST_IO_FUNCTIONS = 'X' "
* READ_MSG_LOG = ' ' "
* TEST_ALERT_FUNCTIONS = 'X' "
* TEST_MS_FUNCTIONS = 'X' "
* TEST_SYS_GRP_FUNCS = 'X' "Alert: SALC: Flag (X) if only local input for function call
* TIME_ZONE = '#USER' "
* DIALOG_MODE = ' ' "

IMPORTING
PERF_DATA = "MoniArch: TID plus PerfProps plus CurVals plus RC
MTE_DATA = "Monitoring Architecture: All General Data of an MTE

TABLES
ALL_TID_TBL = "
MSG_LOG_TID_TBL = "
MSG_LOG_PROP_TBL = "
MSG_LOG_VAL_TBL = "
MSG_LOG_FILTER_TBL = "
NON_ATTRIBUTE_TID_TBL = "
ALERT_DATA_TBL = "
MONISET_NAMES = "
MONISET_PROPERTIES_TBL = "
MONITOR_NAMES = "
MONITOR_PROPERTIES_TBL = "
STAT_MSG_TID_TBL = "
TEMPLATE_NODES = "
ALL_TEMPLATE_NODES = "
TREE_NODES = "
ALERT_DATA = "
TXT_PROP_TBL = "
TXT_TID_TBL = "
* RULE_PARAMETERS = "Alert: Global Monitoring Type Identifier
STAT_MSG_PROP_TBL = "
STAT_MSG_VAL_TBL = "
PERF_TID_TBL = "
PERF_PROP_TBL = "
PERF_VAL_TBL = "
PERF_HIS_TBL = "
PERF_HIS_TID_RC_TBL = "
.



IMPORTING Parameters details for SALR_UTIL_TEST_ALL_FUNCTIONS

MONITOR -

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

TEST_IO_FUNCTIONS -

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

READ_MSG_LOG -

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

TEST_ALERT_FUNCTIONS -

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

TEST_MS_FUNCTIONS -

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

TEST_SYS_GRP_FUNCS - Alert: SALC: Flag (X) if only local input for function call

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

TIME_ZONE -

Data type: TIMEZONE
Default: '#USER'
Optional: Yes
Call by Reference: No ( called with pass by value option)

DIALOG_MODE -

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

EXPORTING Parameters details for SALR_UTIL_TEST_ALL_FUNCTIONS

PERF_DATA - MoniArch: TID plus PerfProps plus CurVals plus RC

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

MTE_DATA - Monitoring Architecture: All General Data of an MTE

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

TABLES Parameters details for SALR_UTIL_TEST_ALL_FUNCTIONS

ALL_TID_TBL -

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

MSG_LOG_TID_TBL -

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

MSG_LOG_PROP_TBL -

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

MSG_LOG_VAL_TBL -

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

MSG_LOG_FILTER_TBL -

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

NON_ATTRIBUTE_TID_TBL -

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

ALERT_DATA_TBL -

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

MONISET_NAMES -

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

MONISET_PROPERTIES_TBL -

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

MONITOR_NAMES -

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

MONITOR_PROPERTIES_TBL -

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

STAT_MSG_TID_TBL -

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

TEMPLATE_NODES -

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

ALL_TEMPLATE_NODES -

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

TREE_NODES -

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

ALERT_DATA -

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

TXT_PROP_TBL -

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

TXT_TID_TBL -

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

RULE_PARAMETERS - Alert: Global Monitoring Type Identifier

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

STAT_MSG_PROP_TBL -

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

STAT_MSG_VAL_TBL -

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

PERF_TID_TBL -

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

PERF_PROP_TBL -

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

PERF_VAL_TBL -

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

PERF_HIS_TBL -

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

PERF_HIS_TID_RC_TBL -

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

Copy and paste ABAP code example for SALR_UTIL_TEST_ALL_FUNCTIONS 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_monitor  TYPE ALMONINAME, "   
lv_perf_data  TYPE ALTIDPAADATBL, "   
lt_all_tid_tbl  TYPE STANDARD TABLE OF ALGLOBTID, "   
lt_msg_log_tid_tbl  TYPE STANDARD TABLE OF ALGLOBTID, "   
lt_msg_log_prop_tbl  TYPE STANDARD TABLE OF ALMSCCUS, "   
lt_msg_log_val_tbl  TYPE STANDARD TABLE OF ALMSCVAL, "   
lt_msg_log_filter_tbl  TYPE STANDARD TABLE OF ALMSCFILTR, "   
lt_non_attribute_tid_tbl  TYPE STANDARD TABLE OF ALGLOBTID, "   
lt_alert_data_tbl  TYPE STANDARD TABLE OF SALRALERT, "   
lt_moniset_names  TYPE STANDARD TABLE OF ALMSNAME, "   
lt_moniset_properties_tbl  TYPE STANDARD TABLE OF ALSHTRCUV2, "   
lt_monitor_names  TYPE STANDARD TABLE OF ALMONINAME, "   
lt_monitor_properties_tbl  TYPE STANDARD TABLE OF ALMNDSPLC, "   
lv_mte_data  TYPE ALTIDGDATBL, "   
lt_stat_msg_tid_tbl  TYPE STANDARD TABLE OF ALGLOBTID, "   
lv_test_io_functions  TYPE ALPARAMS-ONLY_LOCAL, "   'X'
lt_template_nodes  TYPE STANDARD TABLE OF ALTEMPLND, "   
lt_all_template_nodes  TYPE STANDARD TABLE OF ALTEMPLND, "   
lt_tree_nodes  TYPE STANDARD TABLE OF ALMTLTREE, "   
lt_alert_data  TYPE STANDARD TABLE OF ALALERTRC, "   
lt_txt_prop_tbl  TYPE STANDARD TABLE OF ALTXTPROP, "   
lt_txt_tid_tbl  TYPE STANDARD TABLE OF ALGLOBTID, "   
lt_rule_parameters  TYPE STANDARD TABLE OF ALRULEPAR, "   
lv_read_msg_log  TYPE ALPARAMS-ONLY_LOCAL, "   ' '
lt_stat_msg_prop_tbl  TYPE STANDARD TABLE OF ALSMSGCUS, "   
lt_stat_msg_val_tbl  TYPE STANDARD TABLE OF ALSMSGVAL, "   
lv_test_alert_functions  TYPE ALPARAMS-ONLY_LOCAL, "   'X'
lt_perf_tid_tbl  TYPE STANDARD TABLE OF ALGLOBTID, "   
lv_test_ms_functions  TYPE ALPARAMS-ONLY_LOCAL, "   'X'
lt_perf_prop_tbl  TYPE STANDARD TABLE OF ALPERFCUS, "   
lv_test_sys_grp_funcs  TYPE ALPARAMS-ONLY_LOCAL, "   'X'
lv_time_zone  TYPE TIMEZONE, "   '#USER'
lt_perf_val_tbl  TYPE STANDARD TABLE OF ALPERFVAL, "   
lv_dialog_mode  TYPE FLAG, "   SPACE
lt_perf_his_tbl  TYPE STANDARD TABLE OF ALPERFHIS, "   
lt_perf_his_tid_rc_tbl  TYPE STANDARD TABLE OF CCMSM_PF_TID_ALPERFHIS_TBL. "   

  CALL FUNCTION 'SALR_UTIL_TEST_ALL_FUNCTIONS'  "
    EXPORTING
         MONITOR = lv_monitor
         TEST_IO_FUNCTIONS = lv_test_io_functions
         READ_MSG_LOG = lv_read_msg_log
         TEST_ALERT_FUNCTIONS = lv_test_alert_functions
         TEST_MS_FUNCTIONS = lv_test_ms_functions
         TEST_SYS_GRP_FUNCS = lv_test_sys_grp_funcs
         TIME_ZONE = lv_time_zone
         DIALOG_MODE = lv_dialog_mode
    IMPORTING
         PERF_DATA = lv_perf_data
         MTE_DATA = lv_mte_data
    TABLES
         ALL_TID_TBL = lt_all_tid_tbl
         MSG_LOG_TID_TBL = lt_msg_log_tid_tbl
         MSG_LOG_PROP_TBL = lt_msg_log_prop_tbl
         MSG_LOG_VAL_TBL = lt_msg_log_val_tbl
         MSG_LOG_FILTER_TBL = lt_msg_log_filter_tbl
         NON_ATTRIBUTE_TID_TBL = lt_non_attribute_tid_tbl
         ALERT_DATA_TBL = lt_alert_data_tbl
         MONISET_NAMES = lt_moniset_names
         MONISET_PROPERTIES_TBL = lt_moniset_properties_tbl
         MONITOR_NAMES = lt_monitor_names
         MONITOR_PROPERTIES_TBL = lt_monitor_properties_tbl
         STAT_MSG_TID_TBL = lt_stat_msg_tid_tbl
         TEMPLATE_NODES = lt_template_nodes
         ALL_TEMPLATE_NODES = lt_all_template_nodes
         TREE_NODES = lt_tree_nodes
         ALERT_DATA = lt_alert_data
         TXT_PROP_TBL = lt_txt_prop_tbl
         TXT_TID_TBL = lt_txt_tid_tbl
         RULE_PARAMETERS = lt_rule_parameters
         STAT_MSG_PROP_TBL = lt_stat_msg_prop_tbl
         STAT_MSG_VAL_TBL = lt_stat_msg_val_tbl
         PERF_TID_TBL = lt_perf_tid_tbl
         PERF_PROP_TBL = lt_perf_prop_tbl
         PERF_VAL_TBL = lt_perf_val_tbl
         PERF_HIS_TBL = lt_perf_his_tbl
         PERF_HIS_TID_RC_TBL = lt_perf_his_tid_rc_tbl
. " SALR_UTIL_TEST_ALL_FUNCTIONS




ABAP code using 7.40 inline data declarations to call FM SALR_UTIL_TEST_ALL_FUNCTIONS

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 ONLY_LOCAL FROM ALPARAMS INTO @DATA(ld_test_io_functions).
DATA(ld_test_io_functions) = 'X'.
 
 
 
 
 
 
 
 
"SELECT single ONLY_LOCAL FROM ALPARAMS INTO @DATA(ld_read_msg_log).
DATA(ld_read_msg_log) = ' '.
 
 
 
"SELECT single ONLY_LOCAL FROM ALPARAMS INTO @DATA(ld_test_alert_functions).
DATA(ld_test_alert_functions) = 'X'.
 
 
"SELECT single ONLY_LOCAL FROM ALPARAMS INTO @DATA(ld_test_ms_functions).
DATA(ld_test_ms_functions) = 'X'.
 
 
"SELECT single ONLY_LOCAL FROM ALPARAMS INTO @DATA(ld_test_sys_grp_funcs).
DATA(ld_test_sys_grp_funcs) = 'X'.
 
DATA(ld_time_zone) = '#USER'.
 
 
DATA(ld_dialog_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!