SAP /GC1/CL_CO_MSG_HANDLER OO Class - Message Management
/GC1/CL_CO_MSG_HANDLER 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 /GC1/CL_CO_MSG_HANDLER including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Interface Implementation
This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class /GC1/IF_CO_MSG_LOGMethod list of /GC1/CL_CO_MSG_HANDLER 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_DELETED_OBJECT_TO_ACTLOG | Generates New Entry in Activity Log | Public |
| CALL METHOD /gc1/cl_co_msg_handler=>ADD_DELETED_OBJECT_TO_ACTLOG...more details | ||
| ADD_MSG | Private | |
| CALL METHOD /gc1/cl_co_msg_handler=>ADD_MSG...more details | ||
| CLASS_CONSTRUCTOR | CLASS_CONSTRUCTOR | Public |
| CALL METHOD /gc1/cl_co_msg_handler=>CLASS_CONSTRUCTOR...more details | ||
| CONSTRUCTOR | Generates Log | Public |
| CALL METHOD /gc1/cl_co_msg_handler=>CONSTRUCTOR...more details | ||
| CREATE_ACTIVITY_LOG | Generates New Entry in Actvities Log | Public |
| CALL METHOD /gc1/cl_co_msg_handler=>CREATE_ACTIVITY_LOG...more details | ||
| CREATE_LOG | Generates New Log | Private |
| CALL METHOD /gc1/cl_co_msg_handler=>CREATE_LOG...more details | ||
|
| ||
| DISPLAY_LOG | Display Log | Public |
| CALL METHOD /gc1/cl_co_msg_handler=>DISPLAY_LOG...more details | ||
| GET_MESSAGES | Returns Messages that Fulfill Selection Criteria | Public |
| CALL METHOD /gc1/cl_co_msg_handler=>GET_MESSAGES...more details | ||
| HAS_ERRORS | Delivers Information About Whether There Are Errors in Log | Public |
| CALL METHOD /gc1/cl_co_msg_handler=>HAS_ERRORS...more details | ||
| HAS_MESSAGES | Delivers Information About Whether There Are Messages in Log | Public |
| CALL METHOD /gc1/cl_co_msg_handler=>HAS_MESSAGES...more details | ||
| LOAD_LOGS | Loads Log into Memory | Public |
| CALL METHOD /gc1/cl_co_msg_handler=>LOAD_LOGS...more details | ||
| SAVE_LOG | Saves Current Log | Public |
| CALL METHOD /gc1/cl_co_msg_handler=>SAVE_LOG...more details | ||
/GC1/CL_CO_MSG_HANDLER 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 |
| CON_LOG_EXTNUMBER | Constant | Application Log: External ID | 'Application Garbage Collector' | LIKE BALNREXT | Private |
| CON_LOG_OBJ | Constant | Application Log: Name of Object (Application Code) | '/GC1/GC' | LIKE BALOBJ_D | Private |
| CON_LOG_SUBOBJ | Constant | Application Log: Subobject | 'LOG' | LIKE BALSUBOBJ | Private |
| DUMMY | Instance Attribute | LIKE | Private | ||
| FLG_HAS_ERRORS | Instance Attribute | LIKE | Private | ||
| LAST_ACTIVITY | Instance Attribute | Activity | LIKE /GC1/DTE_ACTIVITY | Private | |
| LAST_MESSAGE_TIMESTAMP | Instance Attribute | Indicator: Log Already Shown | LIKE TIMESTAMP | Private | |
| LOGGUID | Instance Attribute | GUID for Deletion Log | LIKE /GC1/DTE_DELGUID | Private | |
| LOG_HANDLE | Instance Attribute | Application Log: Log Header Data | LIKE BALLOGHNDL | Private | |
| LOG_NUMBERS | Instance Attribute | Application Log: Newly-Assigned LOGNUMBER Table | LIKE BAL_T_LGNM | Private | |
| MSG_HANDLE | Instance Attribute | Application Log: Message Handle | LIKE BALMSGHNDL | Private | |
| NULL | Static Attribute | Message Log | LIKE /GC1/IF_CO_MSG_LOG | Public | |
| RCL_TRANSPORT | Instance Attribute | Transport Control for Garbage Collector | LIKE /GC1/CL_CO_TRANSPORT_HANDLER | Private | |
| TAB_LOGHANDLE | Instance Attribute | Contains All Log Routines Loaded in the Memory | LIKE BAL_T_LOGH | Private |
Links to Related Class(s)
/GC1/CL_...Full list of available SAP object classes
Search for further information about these or an SAP related objects