Hierarchy

⤷

⤷

Properties
Class | CL_CPF_MESSAGES | |
Short Description | CPF: Message handling | |
Super Class | ||
Instantiability of a Class | 1 | Protected |
Final |
General Data
Message Class | ||
Program status | K | Customer Production Program |
Category | 0 | |
Package | CPF_BASIS | Configurable Parameters and Formulas (Basis) |
Created | 20120711 | SAP |
Last change | 20131127 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_CPF_MESSAGES has no interface implemented.
Friends
Class CL_CPF_MESSAGES has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | SYMSGTY | 'E' | Message Type | 20120711 | |
2 | ![]() |
Constant | Public | Type reference (TYPE) | SYMSGTY | 'I' | Message Type | 20120711 | |
3 | ![]() |
Constant | Public | Type reference (TYPE) | SYMSGTY | 'S' | Message Type | 20120711 | |
4 | ![]() |
Constant | Public | Type reference (TYPE) | SYMSGTY | 'W' | Message Type | 20120711 | |
5 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | TS_BAL_CONTROL | AL Control Structure | 20120711 | ||
6 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | CPFS_CONTEXT | CPF Context | 20130320 | ||
7 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | CPFT_MESSAGE | CPF Message: BAPIRET2 + CPF Context | 20130320 | ||
8 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | BAL_T_LOGH | AL Log Handle Table | 20120711 | ||
9 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | TT_BAL_MSG | Message Table | 20120711 | ||
10 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | TT_BAL_MSG | Message Table | 20120711 | ||
11 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | BALLEVEL | AL Level of detail | 20120711 | ||
12 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | BALLOGHNDL | AL Log Handle | 20120711 | ||
13 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | TE_LOGLEVEL | 0 | Log Level | 20120711 | |
14 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | INT4 | Number of Temporary Messages | 20120711 | ||
15 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | XFLAG | Maximum Message Count Reached | 20120711 | ||
16 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | XFLAG | Temporary Messages Saved | 20120711 | ||
17 | ![]() |
Static Attribute | Protected | Object reference (TYPE REF TO) | CL_CPF_MESSAGES | Class Instance | 20120711 | ||
18 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | TE_LOGLEVEL | 0 | Message Handling Loglevel | 20120711 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Protected | Method | Add message only if it is a new one | 20130320 |
2 | ![]() |
Static method | Public | Method | Compose message based on sy-variables | 20120711 |
3 | ![]() |
Instance method | Protected | Constructor | CONSTRUCTOR | 20120711 |
4 | ![]() |
Static method | Public | Method | Convert messages from CPF messages 2 appl. log structure | 20130320 |
5 | ![]() |
Static method | Public | Method | Convert messages from application log 2 BAPIRET structure | 20130320 |
6 | ![]() |
Static method | Public | Method | Convert messages from application log 2 BAPIRET structure | 20130320 |
7 | ![]() |
Instance method | Protected | Method | Creates BAL Log Object | 20120711 |
8 | ![]() |
Instance method | Public | Method | Decrease detail level for log | 20120711 |
9 | ![]() |
Instance method | Public | Method | Get current detail level for log | 20120711 |
10 | ![]() |
Instance method | Public | Method | Increase detail level for log | 20120711 |
11 | ![]() |
Instance method | Public | Method | Set current detail level for log | 20120711 |
12 | ![]() |
Static method | Public | Method | Get Class Instance | 20120711 |
13 | ![]() |
Instance method | Public | Method | Get current log handle (EXTERNAL DISPLAY & STORAGE HANDLING) | 20120711 |
14 | ![]() |
Instance method | Public | Method | Retrieve statistics for written application log | 20120711 |
15 | ![]() |
Instance method | Public | Method | Get count of current temporary messages | 20120711 |
16 | ![]() |
Instance method | Public | Method | Get temporary, saved and/or all messages | 20120711 |
17 | ![]() |
Static method | Public | Method | Get messages from original exception | 20130320 |
18 | ![]() |
Instance method | Public | Method | Clear log data that was not saved permanently | 20120711 |
19 | ![]() |
Instance method | Public | Method | Delete log data that was not saved permanently | 20120711 |
20 | ![]() |
Instance method | Public | Method | Display log (default ALV w hierarchy) | 20120711 |
21 | ![]() |
Instance method | Public | Method | Save log to database | 20120711 |
22 | ![]() |
Instance method | Protected | Method | Write temporary messages to log | 20120711 |
23 | ![]() |
Instance method | Public | Method | Write temporary messages to log for external application | 20120711 |
24 | ![]() |
Instance method | Public | Method | Refresh the messages | 20130320 |
25 | ![]() |
Instance method | Public | Method | Set current log handle (EXTERNAL DISPLAY & STORAGE HANDLING) | 20120711 |
26 | ![]() |
Instance method | Public | Method | Set current logging level (for automated filtering) | 20120711 |
27 | ![]() |
Instance method | Public | Method | OBSOLET | 20130415 |
28 | ![]() |
Instance method | Public | Method | add messages to temporary message buffer | 20120711 |
29 | ![]() |
Instance method | Public | Method | Change Instance to be saved | 20120711 |
Events
Class CL_CPF_MESSAGES has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TE_LOGLEVEL | Public | Type reference (TYPE) | CPF_NUMC1 | Logging Level | 20120711 |
|
2 | TS_BAL_CONTROL | Public | See coding | Application Log Control Structure | 20120711 | BEGIN OF ts_bal_control,
object TYPE balobj_d,
subobject TYPE balsubobj,
handle TYPE balloghndl,
extnumber TYPE balnrext,
title TYPE baltitle,
repid TYPE repid,
tcode TYPE sytcode,
init_detlevel TYPE xfeld,
no_save TYPE xfeld,
END OF ts_bal_control
|
|
3 | TS_BAL_MSG | Public | Type reference (TYPE) | BAL_S_MSG | Application Log Message | 20120711 |
|
4 | TT_BAL_MSG | Public | See coding | Application Log Messages | 20120711 | tt_bal_msg TYPE TABLE OF ts_bal_msg
|
Method Signatures
Method ADD_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_MESSAGE | Call by reference | Type reference (TYPE) | BAL_S_MSG | Application Log: Message Data | 20130320 |
Method ADD_MESSAGE on class CL_CPF_MESSAGES has no exception.
Method COMPOSE_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_MESSAGE | Call by reference | Type reference (TYPE) | TS_BAL_MSG | Application Log Message Structure | 20120711 | ||
2 | ![]() |
ET_MESSAGES | Call by reference | Type reference (TYPE) | TT_BAL_MSG | Application Log Message Table | 20120711 | ||
3 | ![]() |
IV_OVERRIDE_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20120711 |
Method COMPOSE_MESSAGE on class CL_CPF_MESSAGES has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_BAL_CONTROL | Call by reference | Type reference (TYPE) | TS_BAL_CONTROL | Application Log Control Structure | 20120711 |
Method CONSTRUCTOR on class CL_CPF_MESSAGES has no exception.
Method CONVERT_CPF_MESSAGE_2_LOG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_BAL_MESSAGES | Call by reference | Type reference (TYPE) | TT_BAL_MSG | Application Log Message Table | 20130320 | ||
2 | ![]() |
IT_CPF_MESSAGES | Call by reference | Type reference (TYPE) | CPFT_MESSAGE | CPF Message: BAPIRET2 + CPF Context | 20130320 | ||
3 | ![]() |
IV_FILTER | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20130320 |
Method CONVERT_CPF_MESSAGE_2_LOG on class CL_CPF_MESSAGES has no exception.
Method CONVERT_FDT_2_CPF_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_CPF_MESSAGES | Call by reference | Type reference (TYPE) | CPFT_MESSAGE | CPF Message: BAPIRET2 + CPF Context | 20130320 | ||
2 | ![]() |
IS_CONTEXT | Call by reference | Type reference (TYPE) | CPFS_CONTEXT | CPF Context | 20130320 | ||
3 | ![]() |
IT_FDT_MESSAGES | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | FDT Messages | 20130320 | ||
4 | ![]() |
IV_FILTER | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20130320 |
Method CONVERT_FDT_2_CPF_MESSAGE on class CL_CPF_MESSAGES has no exception.
Method CONVERT_SYMSG_2_CPF_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_CPF_MESSAGES | Call by reference | Type reference (TYPE) | CPFT_MESSAGE | CPF Message: BAPIRET2 + CPF Context | 20130320 | ||
2 | ![]() |
IS_CONTEXT | Call by reference | Type reference (TYPE) | CPFS_CONTEXT | CPF Context | 20130320 | ||
3 | ![]() |
IV_MSG_TEXT | Call by reference | Type reference (TYPE) | STRING | Message text | 20130320 |
Method CONVERT_SYMSG_2_CPF_MESSAGE on class CL_CPF_MESSAGES has no exception.
Method CREATE_BAL Signature
Method CREATE_BAL on class CL_CPF_MESSAGES has no parameter.
Method CREATE_BAL on class CL_CPF_MESSAGES has no exception.
Method DETLEVEL_DEC Signature
Method DETLEVEL_DEC on class CL_CPF_MESSAGES has no parameter.
Method DETLEVEL_DEC on class CL_CPF_MESSAGES has no exception.
Method DETLEVEL_GET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_DETLEVEL | Call by reference | Type reference (TYPE) | BALLEVEL | Application Log: Level of detail | 20120711 |
Method DETLEVEL_GET on class CL_CPF_MESSAGES has no exception.
Method DETLEVEL_INC Signature
Method DETLEVEL_INC on class CL_CPF_MESSAGES has no parameter.
Method DETLEVEL_INC on class CL_CPF_MESSAGES has no exception.
Method DETLEVEL_SET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_DETLEVEL | Call by reference | Type reference (TYPE) | BALLEVEL | Application Log: Level of detail | 20120711 |
Method DETLEVEL_SET on class CL_CPF_MESSAGES has no exception.
Method GET_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_DETLEVEL_INI | Call by reference | Type reference (TYPE) | XFELD | SPACE | Checkbox | 20120717 | |
2 | ![]() |
IV_EXTNUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20120717 | ||
3 | ![]() |
IV_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20120717 | ||
4 | ![]() |
IV_NO_SAVE | Call by reference | Type reference (TYPE) | XFELD | SPACE | Checkbox | 20120717 | |
5 | ![]() |
IV_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ_D | Application log: Object name (Application code) | 20120717 | ||
6 | ![]() |
IV_REPID | Call by reference | Type reference (TYPE) | REPID | ABAP Program Name | 20120717 | ||
7 | ![]() |
IV_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20120717 | ||
8 | ![]() |
IV_TCODE | Call by reference | Type reference (TYPE) | SYTCODE | Current Transaction Code | 20120717 | ||
9 | ![]() |
IV_TITLE | Call by reference | Type reference (TYPE) | BALTITLE | Application Log: Screen title | 20120717 | ||
10 | ![]() |
RR_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_CPF_MESSAGES | CPF Message Handling Class | 20120711 |
Method GET_INSTANCE on class CL_CPF_MESSAGES has no exception.
Method GET_LOGHANDLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_LOGHANDLE | Call by reference | Type reference (TYPE) | BAL_T_LOGH | Application Log: Log Handle Table | 20120711 | ||
2 | ![]() |
EV_LOGHANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20120711 |
Method GET_LOGHANDLE on class CL_CPF_MESSAGES has no exception.
Method GET_LOGSTAT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_STAT | Call by reference | Type reference (TYPE) | BAL_S_SCNT | Application Log: Statistics: Message Type Counter | 20120711 |
Method GET_LOGSTAT on class CL_CPF_MESSAGES has no exception.
Method GET_MESSAGECOUNT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_MESSAGES | Value transfer | Type reference (TYPE) | INT4 | Natural number | 20120711 |
Method GET_MESSAGECOUNT on class CL_CPF_MESSAGES has no exception.
Method GET_MESSAGES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGES | Call by reference | Type reference (TYPE) | TT_BAL_MSG | Application Log Message Table | 20120711 | ||
2 | ![]() |
ET_MESSAGES_SAVE | Call by reference | Type reference (TYPE) | TT_BAL_MSG | Application Log Message Table | 20120711 | ||
3 | ![]() |
ET_MESSAGES_TOTAL | Call by reference | Type reference (TYPE) | TT_BAL_MSG | Application Log Message Table | 20120711 |
Method GET_MESSAGES on class CL_CPF_MESSAGES has no exception.
Method GET_MESSAGES_BY_CX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_CPF_MESSAGE | Value transfer | Type reference (TYPE) | CPFT_MESSAGE | CPF Message: BAPIRET2 + CPF Context | 20130320 | ||
2 | ![]() |
IO_CX | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20130320 |
Method GET_MESSAGES_BY_CX on class CL_CPF_MESSAGES has no exception.
Method LOG_CLEAR Signature
Method LOG_CLEAR on class CL_CPF_MESSAGES has no parameter.
Method LOG_CLEAR on class CL_CPF_MESSAGES has no exception.
Method LOG_DELETE Signature
Method LOG_DELETE on class CL_CPF_MESSAGES has no parameter.
Method LOG_DELETE on class CL_CPF_MESSAGES has no exception.
Method LOG_DISPLAY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_CONTEXT_STRUC | Call by reference | Type reference (TYPE) | ANY | 'CPFS_CONTEXT' | Context Stucture of Log | 20130320 | |
2 | ![]() |
IV_HIERARCHY | Call by reference | Type reference (TYPE) | XFELD | '' | Checkbox | 20120711 | |
3 | ![]() |
IV_TITLE | Call by reference | Type reference (TYPE) | BALTITLE | Application Log: Screen title | 20120711 |
Method LOG_DISPLAY on class CL_CPF_MESSAGES has no exception.
Method LOG_SAVE Signature
Method LOG_SAVE on class CL_CPF_MESSAGES has no parameter.
Method LOG_SAVE on class CL_CPF_MESSAGES has no exception.
Method LOG_WRITE_MESSAGES Signature
Method LOG_WRITE_MESSAGES on class CL_CPF_MESSAGES has no parameter.
Method LOG_WRITE_MESSAGES on class CL_CPF_MESSAGES has no exception.
Method LOG_WRITE_MESSAGES_APPL Signature
Method LOG_WRITE_MESSAGES_APPL on class CL_CPF_MESSAGES has no parameter.
Method LOG_WRITE_MESSAGES_APPL on class CL_CPF_MESSAGES has no exception.
Method REFRESH Signature
Method REFRESH on class CL_CPF_MESSAGES has no parameter.
Method REFRESH on class CL_CPF_MESSAGES has no exception.
Method SET_LOGHANDLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_LOGHANDLE | Call by reference | Type reference (TYPE) | BAL_T_LOGH | Application Log: Log Handle Table | 20120711 | ||
2 | ![]() |
IV_LOGHANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle Table | 20120711 |
Method SET_LOGHANDLE on class CL_CPF_MESSAGES has no exception.
Method SET_LOGLEVEL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_LOGLEVEL | Call by reference | Type reference (TYPE) | TE_LOGLEVEL | Message Handling Loglevel | 20120711 |
Method SET_LOGLEVEL on class CL_CPF_MESSAGES has no exception.
Method SET_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_MESSAGE | Call by reference | Type reference (TYPE) | TS_BAL_MSG | Application Log Message | 20130415 | ||
2 | ![]() |
IV_LOGLEVEL | Call by reference | Type reference (TYPE) | TE_LOGLEVEL | Logging Level | 20130415 | ||
3 | ![]() |
IV_OVERRIDE_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20130415 | ||
4 | ![]() |
IV_PROBCLASS | Call by reference | Type reference (TYPE) | BALPROBCL | Application log: Message problem class | 20130415 |
Method SET_MESSAGE on class CL_CPF_MESSAGES has no exception.
Method SET_MESSAGES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_MESSAGES | Call by reference | Type reference (TYPE) | TT_BAL_MSG | Application Log Message Table | 20120711 |
Method SET_MESSAGES on class CL_CPF_MESSAGES has no exception.
Method SET_SAVEMODE Signature
Method SET_SAVEMODE on class CL_CPF_MESSAGES has no parameter.
Method SET_SAVEMODE on class CL_CPF_MESSAGES has no exception.
History
Last changed by/on | SAP | 20131127 |
SAP Release Created in | 740 |