SAP IHC_CL_UTIL_LOG OO Class - Central Logging in IHC
IHC_CL_UTIL_LOG 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 IHC_CL_UTIL_LOG 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 IHC_CL_UTIL_LOG 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 | Write Messages to Log | Public |
CALL METHOD ihc_cl_util_log=>ADD_MESSAGE...more details | ||
CLOSE_LOG | Closes (and Possibly Saves) a Log | Public |
CALL METHOD ihc_cl_util_log=>CLOSE_LOG...more details | ||
CONSTRUCTOR | Constructor | Public |
CALL METHOD ihc_cl_util_log=>CONSTRUCTOR...more details | ||
DISABLE_LOG | Switch Off Logging | Public |
CALL METHOD ihc_cl_util_log=>DISABLE_LOG...more details | ||
DISPLAY_LOG | Display Messages in Log | Public |
CALL METHOD ihc_cl_util_log=>DISPLAY_LOG...more details | ||
FIND_LOG | Search for Log | Public |
CALL METHOD ihc_cl_util_log=>FIND_LOG...more details | ||
| ||
GET_LOG_FOR_ARCHIVE | Get Log Data for Archiving | Public |
CALL METHOD ihc_cl_util_log=>GET_LOG_FOR_ARCHIVE...more details | ||
GET_MESSAGES | Gets Messages | Public |
CALL METHOD ihc_cl_util_log=>GET_MESSAGES...more details | ||
OPEN_LOG | Open (New or Old) Log | Public |
CALL METHOD ihc_cl_util_log=>OPEN_LOG...more details | ||
S_INSTANCE | Factory Method | Public |
CALL METHOD ihc_cl_util_log=>S_INSTANCE...more details | ||
_CREATE_EXTERNAL_NUMBER | Generate External Number | Private |
CALL METHOD ihc_cl_util_log=>_CREATE_EXTERNAL_NUMBER...more details | ||
_GET_DB_REFERENCE | Factory Method for DB Instance | Private |
CALL METHOD ihc_cl_util_log=>_GET_DB_REFERENCE...more details | ||
_OPEN_LOG | Open Log | Private |
CALL METHOD ihc_cl_util_log=>_OPEN_LOG...more details | ||
_SAVE_CONTEXT | Transfer Context to Log | Private |
CALL METHOD ihc_cl_util_log=>_SAVE_CONTEXT...more details | ||
_SAVE_LOG | Saves a Log | Private |
CALL METHOD ihc_cl_util_log=>_SAVE_LOG...more details | ||
_SET_CONTEXT | Fill Current Context | Private |
CALL METHOD ihc_cl_util_log=>_SET_CONTEXT...more details |
IHC_CL_UTIL_LOG 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 |
GR_CONTEXT | Instance Attribute | Reference Current Context | LIKE DATA | Private | |
GR_DB_LOG | Instance Attribute | Database Access for Logging | LIKE IHC_CL_DB_LOG | Private | |
GR_NULL | Instance Attribute | Null Reference | LIKE CX_IHC_LOG | Private | |
GS_ACTIVE | Instance Attribute | Active Layer, Context, etc. | LIKE GS_TYP_ACTIVE | Private | |
GS_PRIMA_NOTA | Instance Attribute | Current Payment Order | LIKE IHC_DB_PN | Public | |
GT_LAYER_STACK | Instance Attribute | History of Previous Contexts | LIKE IHC_TTY_LOG_LAYER_CONTEXT | Private | |
GT_MESSAGES | Instance Attribute | Messages Contexts | LIKE GT_TYP_MESSAGES | Private | |
G_COLLECT | Instance Attribute | Open Log only after CLOSE | ' ' | LIKE XFELD | Private |
G_CON_DEFAULT_CONTEXT | Constant | Default Context Name | '$DEFAULT' | LIKE IHC_DTE_LOG_CONTEXT | Private |
G_CON_LOG_OBJECT | Constant | IHC Log Object | 'IHC' | LIKE BALOBJ_D | Private |
G_DISABLED | Instance Attribute | 'X': Log Off | SPACE | LIKE XFELD | Private |
G_LOG_HANDLE | Instance Attribute | Application Log: Log Handle | LIKE BALLOGHNDL | Private | |
G_MSG_COUNTER | Instance Attribute | Number of Active Messages | LIKE I | Private | |
G_MSG_INDEX | Instance Attribute | Index of Collected Messages | LIKE SYTABIX | Private | |
G_TEST | Instance Attribute | Test Run | LIKE IHC_DTE_TESTRUN | Private | |
SR_EXCEPTION | Static Attribute | Exception | LIKE CX_IHC_EXCEPTION | Private | |
SR_LOG_INSTANCE | Static Attribute | Central Logging in IHC | LIKE IHC_CL_UTIL_LOG | Private |
Links to Related Class(s)
IHC_CL_U...Full list of available SAP object classes
Search for further information about these or an SAP related objects