SAP ABAP Class CL_HC_UTIL_LOG (Write To Application Log)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-HLP-ABA (Application Component) Help Infrastructure for ABAP
⤷
SWDP_HELP_CENTER (Package) Help Center ABAP Web Dynpro
⤷
⤷
Properties
| Class | CL_HC_UTIL_LOG | |
| Short Description | Write To Application Log | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SWDP_HELP_CENTER | Help Center ABAP Web Dynpro |
| Created | 20081030 | SAP |
| Last change | 20090618 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_HC_UTIL_LOG has no forward declaration.
Interfaces
Class CL_HC_UTIL_LOG has no interface implemented.
Friends
Class CL_HC_UTIL_LOG has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | BALOBJ_D | 'SWDP_HELP_CENTER' | Object for Application Log | 20081030 | ||
| 2 | Constant | Private | Type reference (TYPE) | BALSUBOBJ | 'MESSAGES' | Subobject for Solution Manager | 20081120 | ||
| 3 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_HC_UTIL_LOG | Singleton Instance of this Class | 20081030 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Handle of Log for Repositories | 20081120 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | BALOGNR | Number of Log | 20081119 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Constructor | 20081030 | ||
| 2 | Static method | Public | Method | Returns Singleton Instance of the Class | 20081030 | |
| 3 | Instance method | Public | Method | Saves Message in Log | 20081031 | |
| 4 | Instance method | Public | Method | Saves Messages in Log | 20081031 | |
| 5 | Instance method | Public | Method | Saves Free Text in Log | 20081031 | |
| 6 | Instance method | Public | Method | Saves Long Free Text in Log | 20081031 |
Events
Class CL_HC_UTIL_LOG has no event.
Types
Class CL_HC_UTIL_LOG has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_HC_UTIL_LOG has no parameter.
Method CONSTRUCTOR on class CL_HC_UTIL_LOG has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_HC_UTIL_LOG | Singleton Instanz dieser Klasse | 20081030 |
Method GET_INSTANCE on class CL_HC_UTIL_LOG has no exception.
Method WRITE_MSG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LOG_NUMBER | Value transfer | Type reference (TYPE) | BALOGNR | Protokollnummer | 20081112 | |||
| 2 | I_MSG | Call by reference | Type reference (TYPE) | SAPHC_LOG_MSG | Meldung | 20081031 |
Method WRITE_MSG on class CL_HC_UTIL_LOG has no exception.
Method WRITE_MSGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LOG_NUMBER | Value transfer | Type reference (TYPE) | BALOGNR | Protokollnummer | 20081112 | |||
| 2 | IT_MSG | Call by reference | Type reference (TYPE) | SAPHC_LOG_MSG_TT | Meldungen | 20081031 |
Method WRITE_MSGS on class CL_HC_UTIL_LOG has no exception.
Method WRITE_MSG_FREE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LOG_NUMBER | Value transfer | Type reference (TYPE) | BALOGNR | Protokollnummer | 20081112 | |||
| 2 | I_MSG | Call by reference | Type reference (TYPE) | SAPHC_LOG_FREE_TEXT | Meldung | 20081031 |
Method WRITE_MSG_FREE_TEXT on class CL_HC_UTIL_LOG has no exception.
Method WRITE_MSG_LONG_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LOG_NUMBER | Value transfer | Type reference (TYPE) | BALOGNR | Protokollnummer | 20081112 | |||
| 2 | I_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | Nachrichtentyp | 20081031 | |||
| 3 | I_PROBCLASS | Call by reference | Type reference (TYPE) | BALPROBCL | Anwendungs-Log: Problemklasse einer Meldung | 20081031 | |||
| 4 | I_TEXT | Call by reference | Type reference (TYPE) | C | Text (max. 500 Zeichen) | 20081031 |
Method WRITE_MSG_LONG_TEXT on class CL_HC_UTIL_LOG has no exception.
History
| Last changed by/on | SAP | 20090618 |
| SAP Release Created in | 720 |