BUS_MESSAGE_STORE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BUS_MESSAGE_STORE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BUSM
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BUS_MESSAGE_STORE' "BDT: Saving Messages
EXPORTING
arbgb = " sy-msgid Application Area
msgty = " sy-msgty Message category (S, I, E, W, A)
txtnr = " sy-msgno Message Number
* cancel = ' ' " boole_d
* msgv1 = SPACE " Message Variable
* msgv2 = SPACE " Message Variable
* msgv3 = SPACE " Message Variable
* msgv4 = SPACE " Message Variable
* tbfld_strg = " Cursor Field / Bright Fields
* stepl = " sy-stepl Possible Step Loop Line of Message
* flag_coll_end = " Subsequent messages will not be collected
* repeat_show = '1' " c Display W Messages and I Messages More than Once?
* sicht = " tbz3e-sicht Current View
* i_not_active_handler = SPACE " c See long text (double-click)
* namespace = SPACE " obj_namere Generic Entry of Protected Namespace (Lowercase)
IMPORTING
e_not_active = " Message Handler Not Active
. " BUS_MESSAGE_STORE
The ABAP code below is a full code listing to execute function module BUS_MESSAGE_STORE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_not_active | TYPE STRING . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_not_active | TYPE STRING , |
| ld_arbgb | TYPE SY-MSGID , |
| ld_msgty | TYPE SY-MSGTY , |
| ld_txtnr | TYPE SY-MSGNO , |
| ld_cancel | TYPE BOOLE_D , |
| ld_msgv1 | TYPE STRING , |
| ld_msgv2 | TYPE STRING , |
| ld_msgv3 | TYPE STRING , |
| ld_msgv4 | TYPE STRING , |
| ld_tbfld_strg | TYPE STRING , |
| ld_stepl | TYPE SY-STEPL , |
| ld_flag_coll_end | TYPE STRING , |
| ld_repeat_show | TYPE C , |
| ld_sicht | TYPE TBZ3E-SICHT , |
| ld_i_not_active_handler | TYPE C , |
| ld_namespace | TYPE OBJ_NAMERE . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BUS_MESSAGE_STORE or its description.