ADD_PROCESS_MESSAGE_TO_BUFFER SAP Method Single
Below is documentation, parameters and attributes of ABAP Method ADD_PROCESS_MESSAGE_TO_BUFFER within SAP class /BOFU/CL_ADDR_BUFFER. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /BOFU/CL_ADDR_BUFFER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method ADD_PROCESS_MESSAGE_TO_BUFFER can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_PROCESS_MESSAGE_TO_BUFFER
.| Name | Type | Data Type | Description | Default Value |
| IV_KEY | Importing | TYPE /BOBF/CONF_KEY | Node Id as in the ESA-model | |
| IV_MSG_ID | Importing | TYPE SYMSGID | Message Class | |
| IV_MSG_NUMBER | Importing | TYPE SYMSGNO | Message Number | |
| IV_MSG_TYPE | Importing | TYPE SYMSGTY | Message Type | |
| IV_MSG_VAR1 | Importing | TYPE ANY | Message Variable | |
| IV_MSG_VAR2 | Importing | TYPE ANY | Message Variable | |
| IV_MSG_VAR3 | Importing | TYPE ANY | Message Variable | |
| IV_MSG_VAR4 | Importing | TYPE ANY | Message Variable | |
| IV_NODE | Importing | TYPE /BOBF/OBM_NODE_KEY | Name of an ESA-Node | |
| CO_MESSAGE | Changing | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Interface of Message Object |
Exceptions of Method ADD_PROCESS_MESSAGE_TO_BUFFER
This method does not have any exceptionsExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lo_class TYPE REF TO /BOFU/CL_ADDR_BUFFER.
DATA: lv_CO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IV_KEY TYPE /BOBF/CONF_KEY,
lv_IV_MSG_ID TYPE SYMSGID,
lv_IV_MSG_NUMBER TYPE SYMSGNO,
lv_IV_MSG_TYPE TYPE SYMSGTY,
lv_IV_MSG_VAR1 TYPE ANY,
lv_IV_MSG_VAR2 TYPE ANY,
lv_IV_MSG_VAR3 TYPE ANY,
lv_IV_MSG_VAR4 TYPE ANY,
lv_IV_NODE TYPE /BOBF/OBM_NODE_KEY,
lv_other TYPE c.
CALL METHOD lo_class=>ADD_PROCESS_MESSAGE_TO_BUFFER(
EXPORTING
IV_KEY = lv_IV_KEY
IV_MSG_ID = lv_IV_MSG_ID
IV_MSG_NUMBER = lv_IV_MSG_NUMBER
IV_MSG_TYPE = lv_IV_MSG_TYPE
IV_MSG_VAR1 = lv_IV_MSG_VAR1
IV_MSG_VAR2 = lv_IV_MSG_VAR2
IV_MSG_VAR3 = lv_IV_MSG_VAR3
IV_MSG_VAR4 = lv_IV_MSG_VAR4
IV_NODE = lv_IV_NODE
CHANGING
CO_MESSAGE = lv_CO_MESSAGE ).
Links to Related Class(s)
/BOFU/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects