MESSAGE SAP Method Output Message to Log
Below is documentation, parameters and attributes of ABAP Method MESSAGE within SAP class CL_CACS_BAL_FACADE_PUBLIC. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_CACS_BAL_FACADE_PUBLIC 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 MESSAGE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method MESSAGE
.| Name | Type | Data Type | Description | Default Value |
| IB_MSGV1_CONVERSION_EXIT | Importing | TYPE BOOLEAN_FLG | Variable 1: Execute Conversion Routine | |
| IB_MSGV2_CONVERSION_EXIT | Importing | TYPE BOOLEAN_FLG | Variable 2: Execute Conversion Routine | |
| IB_MSGV3_CONVERSION_EXIT | Importing | TYPE BOOLEAN_FLG | Variable 3: Execute Conversion Routine | |
| IB_MSGV4_CONVERSION_EXIT | Importing | TYPE BOOLEAN_FLG | Variable 4: Execute Conversion Routine | |
| ID_MSGID | Importing | TYPE SYMSGID | Message Class | |
| ID_MSGNO | Importing | TYPE SYMSGNO | Message Number | |
| ID_MSGTY | Importing | TYPE SYMSGTY | Message Type | |
| ID_MSGV1 | Importing | TYPE ANY | Message Variable 1 | |
| ID_MSGV2 | Importing | TYPE ANY | Message Variable 2 | |
| ID_MSGV3 | Importing | TYPE ANY | Message Variable 3 | |
| ID_MSGV4 | Importing | TYPE ANY | Message Variable 4 | |
| ID_PROBCLASS | Importing | TYPE BALPROBCL | Problem Class of a Message |
Exceptions of Method MESSAGE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO CL_CACS_BAL_FACADE_PUBLIC.
DATA: lv_IB_MSGV1_CONVERSION_EXIT TYPE BOOLEAN_FLG,
lv_IB_MSGV2_CONVERSION_EXIT TYPE BOOLEAN_FLG,
lv_IB_MSGV3_CONVERSION_EXIT TYPE BOOLEAN_FLG,
lv_IB_MSGV4_CONVERSION_EXIT TYPE BOOLEAN_FLG,
lv_ID_MSGID TYPE SYMSGID,
lv_ID_MSGNO TYPE SYMSGNO,
lv_ID_MSGTY TYPE SYMSGTY,
lv_ID_MSGV1 TYPE ANY,
lv_ID_MSGV2 TYPE ANY,
lv_ID_MSGV3 TYPE ANY,
lv_ID_MSGV4 TYPE ANY,
lv_ID_PROBCLASS TYPE BALPROBCL,
lv_other TYPE c.
CALL METHOD lo_class=>MESSAGE(
EXPORTING
IB_MSGV1_CONVERSION_EXIT = lv_IB_MSGV1_CONVERSION_EXIT
IB_MSGV2_CONVERSION_EXIT = lv_IB_MSGV2_CONVERSION_EXIT
IB_MSGV3_CONVERSION_EXIT = lv_IB_MSGV3_CONVERSION_EXIT
IB_MSGV4_CONVERSION_EXIT = lv_IB_MSGV4_CONVERSION_EXIT
ID_MSGID = lv_ID_MSGID
ID_MSGNO = lv_ID_MSGNO
ID_MSGTY = lv_ID_MSGTY
ID_MSGV1 = lv_ID_MSGV1
ID_MSGV2 = lv_ID_MSGV2
ID_MSGV3 = lv_ID_MSGV3
ID_MSGV4 = lv_ID_MSGV4
ID_PROBCLASS = lv_ID_PROBCLASS ).
Links to Related Class(s)
CL_CACS_...Full list of available SAP object classes
Search for further information about these or an SAP related objects