SAP ABAP Class CL_MDP_IL_LOG_HELPER (simplified logging support)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-MDG-ML (Application Component) Mass Load
⤷
MDG_BS_EXTRACTOR (Package) Master Data Processes Data Extraction
⤷
⤷
Properties
| Class | CL_MDP_IL_LOG_HELPER | |
| Short Description | simplified logging support | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | MDG_BS_EXTRACTOR | Master Data Processes Data Extraction |
| Created | 20081103 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_MDP_IL_LOG_HELPER has no interface implemented.
Friends
Class CL_MDP_IL_LOG_HELPER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | BALOBJ_D | 'MDG_FILE_PROCESSING' | Application log: Object name (Application code) | 20081210 | ||
| 2 | Constant | Private | Type reference (TYPE) | BALOBJ_D | 'MDG_FILE_UPLOAD' | Application Log: Object Name (Application Code) | 20090320 | ||
| 3 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'MDG_DATALOAD_EXPORT' | Application Log: Subobject | 20081210 | ||
| 4 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'MDG_FILE_UPLOAD' | Application Log: Subobject | 20081211 | ||
| 5 | Constant | Private | Type reference (TYPE) | BALSUBOBJ | 'BURS_UPLOAD' | Application Log: Subobject | 20091102 | ||
| 6 | Constant | Private | Type reference (TYPE) | BALSUBOBJ | 'BUPA_UPLOAD' | Application Log: Subobject | 20090320 | ||
| 7 | Constant | Public | Type reference (TYPE) | BALTABNAME | 'MDP_IL_MSG_CONTEXT' | Application Log: Context: DDIC structure name | 20090508 | ||
| 8 | Constant | Public | Type reference (TYPE) | SPAR-PARAM | 'FIELD' | Dialog text display parameters | 20090511 | ||
| 9 | Constant | Public | Type reference (TYPE) | SPAR-PARAM | 'OBJECT' | Dialog text display parameters | 20090511 | ||
| 10 | Constant | Public | Type reference (TYPE) | SPAR-PARAM | 'OBJ_NAME' | Dialog text display parameters | 20090511 | ||
| 11 | Constant | Public | Type reference (TYPE) | SPAR-PARAM | 'PARAMETER' | Dialog text display parameters | 20090511 | ||
| 12 | Static Attribute | Private | Type reference (TYPE) | TT_LOG_HELPER | Table with log helper | 20090122 | |||
| 13 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_MDP_IL_LOG_HELPER | simplified logging support | 20090122 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | MDP_IL_TT_BAL_S_EXC | Application Log: Data for an Exception | 20090122 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | TT_FREE_MESSAGE | Free message table | 20090122 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | MDP_IL_TT_BAL_T_MSG | Application Log: Table with Messages | 20090122 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | 20081210 | ||||
| 18 | Instance attribute | Private | Type reference (TYPE) | BALOBJ_D | Application log: Object name (Application code) | 20090122 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20090122 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add Exception Message to the log | 20090122 | |
| 2 | Instance method | Public | Method | Add Message to the log | 20081210 | |
| 3 | Instance method | Public | Method | Add Messages to the log | 20081210 | |
| 4 | Instance method | Public | Method | Add SY-Message to the log | 20090122 | |
| 5 | Instance method | Public | Constructor | CONSTRUCTOR | 20090122 | |
| 6 | Instance method | Private | Method | Convert Message from BAPIRET2 to BAL_S_MSG | 20081210 | |
| 7 | Instance method | Public | Method | Get handle of actual log | 20081103 | |
| 8 | Static method | Public | Method | Return object type specific handler | 20081103 | |
| 9 | Static method | Public | Method | Return whether activ handler exist | 20090122 | |
| 10 | Instance method | Public | Method | Initialize and setup extractor log | 20081210 | |
| 11 | Static method | Public | Method | Initiallize helper class | 20090402 | |
| 12 | Instance method | Public | Method | Initialize and setup log | 20081211 | |
| 13 | Instance method | Public | Method | Initialize and setup extractor log | 20081211 | |
| 14 | Instance method | Public | Method | Save the log on the DB | 20081103 | |
| 15 | Static method | Public | Method | Get extract logs for a certain object | 20081210 | |
| 16 | Static method | Public | Method | Get logs for a certain object | 20081211 | |
| 17 | Static method | Public | Method | Get upload logs for a certain object | 20081211 |
Events
Class CL_MDP_IL_LOG_HELPER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_FREE_MESSAGE | Private | See coding | Free message without number | 20090122 | BEGIN OF ts_free_message,
type TYPE bapiret2-type,
message TYPE bapiret2-message,
time_stmp TYPE baltimstmp,
params TYPE bal_s_parm,
END OF ts_free_message
|
|
| 2 | TS_LOG_HELPER | Private | See coding | Object, Subobject specific handler attributes | 20090122 | BEGIN OF ts_log_helper,
object TYPE bal_s_log-object,
subobject TYPE bal_s_log-subobject,
log_helper TYPE REF TO cl_mdp_il_log_helper,
END OF ts_log_helper
|
|
| 3 | TT_FREE_MESSAGE | Private | See coding | Free message table | 20090122 | tt_free_message TYPE STANDARD TABLE OF ts_free_message
|
|
| 4 | TT_LOG_HELPER | Private | See coding | Object, Subobject specific handler attributes table | 20090122 | tt_log_helper TYPE STANDARD TABLE OF ts_log_helper
|
Method Signatures
Method ADD_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20090122 | |||
| 2 | IV_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20090122 |
Method ADD_EXCEPTION on class CL_MDP_IL_LOG_HELPER has no exception.
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) | BAPIRET2 | Return Parameter | 20081210 | |||
| 2 | IS_PARAMS | Call by reference | Type reference (TYPE) | BAL_S_PARM | Application log: Parameters | 20090508 |
Method ADD_MESSAGE on class CL_MDP_IL_LOG_HELPER has no exception.
Method ADD_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_BAL_MSG | Call by reference | Type reference (TYPE) | MDP_IL_TT_BAL_T_MSG | Application Log: Table with Messages | 20081211 | |||
| 2 | IT_MESSAGE | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20081210 |
Method ADD_MESSAGES on class CL_MDP_IL_LOG_HELPER has no exception.
Method ADD_SY_MESSAGE Signature
Method ADD_SY_MESSAGE on class CL_MDP_IL_LOG_HELPER has no parameter.
Method ADD_SY_MESSAGE on class CL_MDP_IL_LOG_HELPER has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ_D | Application Log: Object Name (Application Code) | 20090122 | |||
| 2 | IV_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20090122 |
Method CONSTRUCTOR on class CL_MDP_IL_LOG_HELPER has no exception.
Method CONVERT_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_BAL_MESSAGE | Call by reference | Type reference (TYPE) | BAL_S_MSG | Application Log: Message Data | 20090511 | |||
| 2 | IS_MESSAGE | Call by reference | Type reference (TYPE) | BAPIRET2 | Return Parameter | 20081210 |
Method CONVERT_MESSAGE on class CL_MDP_IL_LOG_HELPER has no exception.
Method GET_HANDLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LOG_HANDLE | Value transfer | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20081103 |
Method GET_HANDLE on class CL_MDP_IL_LOG_HELPER has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT | Call by reference | Type reference (TYPE) | BAL_S_LOG-OBJECT | Application Log: Object Name (Application Code) | 20090122 | |||
| 2 | IV_SUBOBJECT | Call by reference | Type reference (TYPE) | BAL_S_LOG-SUBOBJECT | Application Log: Subobject | 20090122 | |||
| 3 | RO_LOGGER | Value transfer | Object reference (TYPE REF TO) | CL_MDP_IL_LOG_HELPER | simplified logging support | 20081103 |
Method GET_INSTANCE on class CL_MDP_IL_LOG_HELPER has no exception.
Method HAS_ACTIVE_HANDLER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ACTIVE | Value transfer | Type reference (TYPE) | FLAG | Active Handler? | 20090122 |
Method HAS_ACTIVE_HANDLER on class CL_MDP_IL_LOG_HELPER has no exception.
Method INITIALIZE_EXTRACT_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXTRACTOR | Call by reference | Type reference (TYPE) | MDP_IL_OBJECT_TYPE | Extractor for different object types | 20081210 | |||
| 2 | IV_REPID | Call by reference | Type reference (TYPE) | SY-REPID | Actual program | 20081210 | |||
| 3 | IV_VARIANT | Call by reference | Type reference (TYPE) | MDG_EXTR_EXVARIANT | MDP Initial Load Extraction Variant | 20081210 |
Method INITIALIZE_EXTRACT_LOG on class CL_MDP_IL_LOG_HELPER has no exception.
Method INITIALIZE_HELPER_CLASS Signature
Method INITIALIZE_HELPER_CLASS on class CL_MDP_IL_LOG_HELPER has no parameter.
Method INITIALIZE_HELPER_CLASS on class CL_MDP_IL_LOG_HELPER has no exception.
Method INITIALIZE_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXTNUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20081211 | |||
| 2 | IV_REPID | Call by reference | Type reference (TYPE) | SY-REPID | Actual program | 20081211 |
Method INITIALIZE_LOG on class CL_MDP_IL_LOG_HELPER has no exception.
Method INITIALIZE_UPLOAD_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXTNUMBER | Call by reference | Type reference (TYPE) | BAL_S_LOG-EXTNUMBER | Application Log: External ID | 20090122 | |||
| 2 | IV_REPID | Call by reference | Type reference (TYPE) | SY-REPID | Actual program | 20081211 |
Method INITIALIZE_UPLOAD_LOG on class CL_MDP_IL_LOG_HELPER has no exception.
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_LOGNUMBER | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application log: log number | 20081210 | |||
| 2 | IV_SAVE_ON_DB | Call by reference | Type reference (TYPE) | FLAG | ABAP_TRUE | Save on DB | 20090216 |
Method SAVE on class CL_MDP_IL_LOG_HELPER has no exception.
Method SEARCH_EXTRACT_LOGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_LOG_HANDLE | Call by reference | Type reference (TYPE) | BAL_T_LOGH | Application Log: Log Handle Table | 20081210 | |||
| 2 | IS_DATE_TIME | Call by reference | Type reference (TYPE) | BAL_S_DTTM | Application Log: Date and time interval | 20081210 | |||
| 3 | IV_EXTRACTOR | Call by reference | Type reference (TYPE) | MDP_IL_OBJECT_TYPE | Extractor for different object types | 20081210 | |||
| 4 | IV_VARIANT | Call by reference | Type reference (TYPE) | MDG_EXTR_EXVARIANT | MDP Initial Load Extraction Variant | 20081210 |
Method SEARCH_EXTRACT_LOGS on class CL_MDP_IL_LOG_HELPER has no exception.
Method SEARCH_LOGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_LOG_HANDLE | Call by reference | Type reference (TYPE) | BAL_T_LOGH | Application Log: Log Handle Table | 20081211 | |||
| 2 | IS_DATE_TIME | Call by reference | Type reference (TYPE) | BAL_S_DTTM | Application Log: Date and time interval | 20081211 | |||
| 3 | IV_EXTNUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20081211 | |||
| 4 | IV_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ_D | Application Log: Object Name (Application Code) | 20081211 | |||
| 5 | IV_SUBOBJ | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20081211 |
Method SEARCH_LOGS on class CL_MDP_IL_LOG_HELPER has no exception.
Method SEARCH_UPLOAD_LOGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_LOG_HANDLE | Call by reference | Type reference (TYPE) | BAL_T_LOGH | Application Log: Log Handle Table | 20081211 | |||
| 2 | IS_DATE_TIME | Call by reference | Type reference (TYPE) | BAL_S_DTTM | Application Log: Date and time interval | 20081211 | |||
| 3 | IV_CONVERTER_TYPE | Call by reference | Type reference (TYPE) | ANY | Converter type | 20081211 | |||
| 4 | IV_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20090320 | |||
| 5 | IV_USER | Call by reference | Type reference (TYPE) | BALUSER | Application log: user name | 20090320 |
Method SEARCH_UPLOAD_LOGS on class CL_MDP_IL_LOG_HELPER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 100 |