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_LOG

Method 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 NameDescriptionVisability
ADD_DELETED_OBJECT_TO_ACTLOGGenerates New Entry in Activity LogPublic
CALL METHOD /gc1/cl_co_msg_handler=>ADD_DELETED_OBJECT_TO_ACTLOG...more details

ADD_MSGPrivate
CALL METHOD /gc1/cl_co_msg_handler=>ADD_MSG...more details

CLASS_CONSTRUCTORCLASS_CONSTRUCTORPublic
CALL METHOD /gc1/cl_co_msg_handler=>CLASS_CONSTRUCTOR...more details

CONSTRUCTORGenerates LogPublic
CALL METHOD /gc1/cl_co_msg_handler=>CONSTRUCTOR...more details

CREATE_ACTIVITY_LOGGenerates New Entry in Actvities LogPublic
CALL METHOD /gc1/cl_co_msg_handler=>CREATE_ACTIVITY_LOG...more details

CREATE_LOGGenerates New LogPrivate
CALL METHOD /gc1/cl_co_msg_handler=>CREATE_LOG...more details

DISPLAY_LOGDisplay LogPublic
CALL METHOD /gc1/cl_co_msg_handler=>DISPLAY_LOG...more details

GET_MESSAGESReturns Messages that Fulfill Selection CriteriaPublic
CALL METHOD /gc1/cl_co_msg_handler=>GET_MESSAGES...more details

HAS_ERRORSDelivers Information About Whether There Are Errors in LogPublic
CALL METHOD /gc1/cl_co_msg_handler=>HAS_ERRORS...more details

HAS_MESSAGESDelivers Information About Whether There Are Messages in LogPublic
CALL METHOD /gc1/cl_co_msg_handler=>HAS_MESSAGES...more details

LOAD_LOGSLoads Log into MemoryPublic
CALL METHOD /gc1/cl_co_msg_handler=>LOAD_LOGS...more details

SAVE_LOGSaves Current LogPublic
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.

NameLevelDescriptionInitial ValueTypeVisability
CON_LOG_EXTNUMBERConstantApplication Log: External ID'Application Garbage Collector'LIKE
BALNREXT
Private
CON_LOG_OBJConstantApplication Log: Name of Object (Application Code)'/GC1/GC'LIKE
BALOBJ_D
Private
CON_LOG_SUBOBJConstantApplication Log: Subobject'LOG'LIKE
BALSUBOBJ
Private
DUMMYInstance AttributeLIKE
Private
FLG_HAS_ERRORSInstance AttributeLIKE
Private
LAST_ACTIVITYInstance AttributeActivityLIKE
/GC1/DTE_ACTIVITY
Private
LAST_MESSAGE_TIMESTAMPInstance AttributeIndicator: Log Already ShownLIKE
TIMESTAMP
Private
LOGGUIDInstance AttributeGUID for Deletion LogLIKE
/GC1/DTE_DELGUID
Private
LOG_HANDLEInstance AttributeApplication Log: Log Header DataLIKE
BALLOGHNDL
Private
LOG_NUMBERSInstance AttributeApplication Log: Newly-Assigned LOGNUMBER TableLIKE
BAL_T_LGNM
Private
MSG_HANDLEInstance AttributeApplication Log: Message HandleLIKE
BALMSGHNDL
Private
NULLStatic AttributeMessage LogLIKE
/GC1/IF_CO_MSG_LOG
Public
RCL_TRANSPORTInstance AttributeTransport Control for Garbage CollectorLIKE
/GC1/CL_CO_TRANSPORT_HANDLER
Private
TAB_LOGHANDLEInstance AttributeContains All Log Routines Loaded in the MemoryLIKE
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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!