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
⤷ 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 | ABAP | 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 | GC_LOG_OBJECT | Constant | Public | Type reference (TYPE) | BALOBJ_D | 'MDG_FILE_PROCESSING' | Application log: Object name (Application code) | 20081210 | |
2 | GC_LOG_OBJ_MDG_PI | Constant | Private | Type reference (TYPE) | BALOBJ_D | 'MDG_FILE_UPLOAD' | Application Log: Object Name (Application Code) | 20090320 | |
3 | GC_LOG_SUBOBJ_EXTRACT | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'MDG_DATALOAD_EXPORT' | Application Log: Subobject | 20081210 | |
4 | GC_LOG_SUBOBJ_UPLOAD | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'MDG_FILE_UPLOAD' | Application Log: Subobject | 20081211 | |
5 | GC_LOG_SUPPLIERREL_UPLOAD | Constant | Private | Type reference (TYPE) | BALSUBOBJ | 'BURS_UPLOAD' | Application Log: Subobject | 20091102 | |
6 | GC_LOG_SUPPLIER_UPLOAD | Constant | Private | Type reference (TYPE) | BALSUBOBJ | 'BUPA_UPLOAD' | Application Log: Subobject | 20090320 | |
7 | GC_MSG_CONTEXT_STRUC | Constant | Public | Type reference (TYPE) | BALTABNAME | 'MDP_IL_MSG_CONTEXT' | Application Log: Context: DDIC structure name | 20090508 | |
8 | GC_PARAM_FIELD | Constant | Public | Type reference (TYPE) | SPAR-PARAM | 'FIELD' | Dialog text display parameters | 20090511 | |
9 | GC_PARAM_IFR_OBJECT | Constant | Public | Type reference (TYPE) | SPAR-PARAM | 'OBJECT' | Dialog text display parameters | 20090511 | |
10 | GC_PARAM_IFR_OBJ_NAME | Constant | Public | Type reference (TYPE) | SPAR-PARAM | 'OBJ_NAME' | Dialog text display parameters | 20090511 | |
11 | GC_PARAM_PARAMETER | Constant | Public | Type reference (TYPE) | SPAR-PARAM | 'PARAMETER' | Dialog text display parameters | 20090511 | |
12 | GT_LOG_HELPER | Static Attribute | Private | Type reference (TYPE) | TT_LOG_HELPER | Table with log helper | 20090122 | ||
13 | GV_INSTANCE | Static Attribute | Private | Object reference (TYPE REF TO) | CL_MDP_IL_LOG_HELPER | simplified logging support | 20090122 | ||
14 | MT_BAL_EXC | Instance attribute | Private | Type reference (TYPE) | MDP_IL_TT_BAL_S_EXC | Application Log: Data for an Exception | 20090122 | ||
15 | MT_FREE_MESSAGE | Instance attribute | Private | Type reference (TYPE) | TT_FREE_MESSAGE | Free message table | 20090122 | ||
16 | MT_MESSAGES | Instance attribute | Private | Type reference (TYPE) | MDP_IL_TT_BAL_T_MSG | Application Log: Table with Messages | 20090122 | ||
17 | MV_LOG_HANDLE | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | 20081210 | |||
18 | MV_LOG_OBJECT | Instance attribute | Private | Type reference (TYPE) | BALOBJ_D | Application log: Object name (Application code) | 20090122 | ||
19 | MV_LOG_SUBOBJECT | Instance attribute | Private | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20090122 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_EXCEPTION | Instance method | Public | Method | Add Exception Message to the log | 20090122 |
2 | ADD_MESSAGE | Instance method | Public | Method | Add Message to the log | 20081210 |
3 | ADD_MESSAGES | Instance method | Public | Method | Add Messages to the log | 20081210 |
4 | ADD_SY_MESSAGE | Instance method | Public | Method | Add SY-Message to the log | 20090122 |
5 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20090122 |
6 | CONVERT_MESSAGE | Instance method | Private | Method | Convert Message from BAPIRET2 to BAL_S_MSG | 20081210 |
7 | GET_HANDLE | Instance method | Public | Method | Get handle of actual log | 20081103 |
8 | GET_INSTANCE | Static method | Public | Method | Return object type specific handler | 20081103 |
9 | HAS_ACTIVE_HANDLER | Static method | Public | Method | Return whether activ handler exist | 20090122 |
10 | INITIALIZE_EXTRACT_LOG | Instance method | Public | Method | Initialize and setup extractor log | 20081210 |
11 | INITIALIZE_HELPER_CLASS | Static method | Public | Method | Initiallize helper class | 20090402 |
12 | INITIALIZE_LOG | Instance method | Public | Method | Initialize and setup log | 20081211 |
13 | INITIALIZE_UPLOAD_LOG | Instance method | Public | Method | Initialize and setup extractor log | 20081211 |
14 | SAVE | Instance method | Public | Method | Save the log on the DB | 20081103 |
15 | SEARCH_EXTRACT_LOGS | Static method | Public | Method | Get extract logs for a certain object | 20081210 |
16 | SEARCH_LOGS | Static method | Public | Method | Get logs for a certain object | 20081211 |
17 | SEARCH_UPLOAD_LOGS | 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 | Importing | IO_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20090122 | ||
2 | Importing | 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 | Importing | IS_MESSAGE | Call by reference | Type reference (TYPE) | BAPIRET2 | Return Parameter | 20081210 | ||
2 | Importing | 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 | Importing | IT_BAL_MSG | Call by reference | Type reference (TYPE) | MDP_IL_TT_BAL_T_MSG | Application Log: Table with Messages | 20081211 | ||
2 | Importing | 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 | Importing | IV_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ_D | Application Log: Object Name (Application Code) | 20090122 | ||
2 | Importing | 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 | Changing | CS_BAL_MESSAGE | Call by reference | Type reference (TYPE) | BAL_S_MSG | Application Log: Message Data | 20090511 | ||
2 | Importing | 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 | Returning | 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 | Importing | IV_OBJECT | Call by reference | Type reference (TYPE) | BAL_S_LOG-OBJECT | Application Log: Object Name (Application Code) | 20090122 | ||
2 | Importing | IV_SUBOBJECT | Call by reference | Type reference (TYPE) | BAL_S_LOG-SUBOBJECT | Application Log: Subobject | 20090122 | ||
3 | Returning | 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 | Returning | 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 | Importing | IV_EXTRACTOR | Call by reference | Type reference (TYPE) | MDP_IL_OBJECT_TYPE | Extractor for different object types | 20081210 | ||
2 | Importing | IV_REPID | Call by reference | Type reference (TYPE) | SY-REPID | Actual program | 20081210 | ||
3 | Importing | 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 | Importing | IV_EXTNUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20081211 | ||
2 | Importing | 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 | Importing | IV_EXTNUMBER | Call by reference | Type reference (TYPE) | BAL_S_LOG-EXTNUMBER | Application Log: External ID | 20090122 | ||
2 | Importing | 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 | Exporting | EV_LOGNUMBER | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application log: log number | 20081210 | ||
2 | Importing | 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 | Exporting | ET_LOG_HANDLE | Call by reference | Type reference (TYPE) | BAL_T_LOGH | Application Log: Log Handle Table | 20081210 | ||
2 | Importing | IS_DATE_TIME | Call by reference | Type reference (TYPE) | BAL_S_DTTM | Application Log: Date and time interval | 20081210 | ||
3 | Importing | IV_EXTRACTOR | Call by reference | Type reference (TYPE) | MDP_IL_OBJECT_TYPE | Extractor for different object types | 20081210 | ||
4 | Importing | 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 | Exporting | ET_LOG_HANDLE | Call by reference | Type reference (TYPE) | BAL_T_LOGH | Application Log: Log Handle Table | 20081211 | ||
2 | Importing | IS_DATE_TIME | Call by reference | Type reference (TYPE) | BAL_S_DTTM | Application Log: Date and time interval | 20081211 | ||
3 | Importing | IV_EXTNUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20081211 | ||
4 | Importing | IV_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ_D | Application Log: Object Name (Application Code) | 20081211 | ||
5 | Importing | 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 | Exporting | ET_LOG_HANDLE | Call by reference | Type reference (TYPE) | BAL_T_LOGH | Application Log: Log Handle Table | 20081211 | ||
2 | Importing | IS_DATE_TIME | Call by reference | Type reference (TYPE) | BAL_S_DTTM | Application Log: Date and time interval | 20081211 | ||
3 | Importing | IV_CONVERTER_TYPE | Call by reference | Type reference (TYPE) | ANY | Converter type | 20081211 | ||
4 | Importing | IV_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20090320 | ||
5 | Importing | 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 |