SAP CL_BSP_MESSAGES OO Class - Business Server Pages (BSP) Messages
CL_BSP_MESSAGES is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_BSP_MESSAGES including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Method list of CL_BSP_MESSAGES SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| ADD_MESSAGE | Inserts Message | Public |
| CALL METHOD cl_bsp_messages=>ADD_MESSAGE...more details | ||
| ADD_MESSAGE2 | Inserts Message | Public |
| CALL METHOD cl_bsp_messages=>ADD_MESSAGE2...more details | ||
| ADD_MESSAGE_FROM_EXCEPTION | Creates a Message from an Exception | Public |
| CALL METHOD cl_bsp_messages=>ADD_MESSAGE_FROM_EXCEPTION...more details | ||
| ADD_MESSAGE_FROM_T100 | Inserts Message | Public |
| CALL METHOD cl_bsp_messages=>ADD_MESSAGE_FROM_T100...more details | ||
| ASSERT | Supplies Index of Message for Condition or 0 | Public |
| CALL METHOD cl_bsp_messages=>ASSERT...more details | ||
| ASSERT_MESSAGE | Supplies Message of Condition or Empty String | Public |
| CALL METHOD cl_bsp_messages=>ASSERT_MESSAGE...more details | ||
|
| ||
| ASSERT_SEVERITY | Supplies Error Severity of Condition or 0 | Public |
| CALL METHOD cl_bsp_messages=>ASSERT_SEVERITY...more details | ||
| DELETE_MESSAGE | Deletes Message(s) with Specific Conditions | Public |
| CALL METHOD cl_bsp_messages=>DELETE_MESSAGE...more details | ||
| GET_MESSAGE | Supplies the Requested Message | Public |
| CALL METHOD cl_bsp_messages=>GET_MESSAGE...more details | ||
| MERGE_MESSAGES | Adds the Messages to a Different Messages Instance | Public |
| CALL METHOD cl_bsp_messages=>MERGE_MESSAGES...more details | ||
| MODIFY_MESSAGE | Modifies a Message | Public |
| CALL METHOD cl_bsp_messages=>MODIFY_MESSAGE...more details | ||
| NUM_MESSAGES | Supplies Number of Messages | Public |
| CALL METHOD cl_bsp_messages=>NUM_MESSAGES...more details | ||
| RESET | Delete All Messages | Public |
| CALL METHOD cl_bsp_messages=>RESET...more details | ||
CL_BSP_MESSAGES attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| CO_SEVERITY_ERROR | Constant | Error Level: Error | 2 | LIKE I | Public |
| CO_SEVERITY_FATAL_ERROR | Constant | Error Level: Fatal Error | 1 | LIKE I | Public |
| CO_SEVERITY_INFO | Constant | Error Level: Information | 4 | LIKE I | Public |
| CO_SEVERITY_SUCCESS | Constant | Error Level: Success Message | 5 | LIKE I | Public |
| CO_SEVERITY_WARNING | Constant | Error Level: Warning | 3 | LIKE I | Public |
| M_MESSAGES | Instance Attribute | Table of Messages | LIKE TBSPMSG | Private |
Links to Related Class(s)
CL_BSP_M...Full list of available SAP object classes
Search for further information about these or an SAP related objects