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

Function SXMS_TEST_BULK 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 'SXMS_TEST_BULK'".
EXPORTING
TESTCASE = "
* QUEUE_ID = "
N = "
* ERR_NR = "
* SYS_ACK = "
* APPL_ACK = "
* SYS_ERR_ACK = "
* APPL_ERR_ACK = "
* DSR = "
IMPORTING
MSGID_TAB = "
EXCEPTIONS
CX_AI_SYSTEM_FAULT = 1
IMPORTING Parameters details for SXMS_TEST_BULK
TESTCASE -
Data type: STRINGOptional: No
Call by Reference: Yes
QUEUE_ID -
Data type: SXMSQUEUE_IDOptional: Yes
Call by Reference: Yes
N -
Data type: IOptional: No
Call by Reference: Yes
ERR_NR -
Data type: IOptional: Yes
Call by Reference: Yes
SYS_ACK -
Data type: CHAR1Optional: Yes
Call by Reference: Yes
APPL_ACK -
Data type: CHAR1Optional: Yes
Call by Reference: Yes
SYS_ERR_ACK -
Data type: CHAR1Optional: Yes
Call by Reference: Yes
APPL_ERR_ACK -
Data type: CHAR1Optional: Yes
Call by Reference: Yes
DSR -
Data type: CHAR1Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for SXMS_TEST_BULK
MSGID_TAB -
Data type: SXMSMGUIDTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CX_AI_SYSTEM_FAULT -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for SXMS_TEST_BULK 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_testcase | TYPE STRING, " | |||
| lv_msgid_tab | TYPE SXMSMGUIDT, " | |||
| lv_cx_ai_system_fault | TYPE SXMSMGUIDT, " | |||
| lv_queue_id | TYPE SXMSQUEUE_ID, " | |||
| lv_n | TYPE I, " | |||
| lv_err_nr | TYPE I, " | |||
| lv_sys_ack | TYPE CHAR1, " | |||
| lv_appl_ack | TYPE CHAR1, " | |||
| lv_sys_err_ack | TYPE CHAR1, " | |||
| lv_appl_err_ack | TYPE CHAR1, " | |||
| lv_dsr | TYPE CHAR1. " |
|   CALL FUNCTION 'SXMS_TEST_BULK' " |
| EXPORTING | ||
| TESTCASE | = lv_testcase | |
| QUEUE_ID | = lv_queue_id | |
| N | = lv_n | |
| ERR_NR | = lv_err_nr | |
| SYS_ACK | = lv_sys_ack | |
| APPL_ACK | = lv_appl_ack | |
| SYS_ERR_ACK | = lv_sys_err_ack | |
| APPL_ERR_ACK | = lv_appl_err_ack | |
| DSR | = lv_dsr | |
| IMPORTING | ||
| MSGID_TAB | = lv_msgid_tab | |
| EXCEPTIONS | ||
| CX_AI_SYSTEM_FAULT = 1 | ||
| . " SXMS_TEST_BULK | ||
ABAP code using 7.40 inline data declarations to call FM SXMS_TEST_BULK
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