SAP ABAP Class CL_IPM_SD_LOGGING (Functionality to save/display logs)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SD (Application Component) Sales and Distribution
     CRM_IPM_SD_GENERAL (Package)
Properties
Class CL_IPM_SD_LOGGING  
Short Description Functionality to save/display logs    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CRM_IPM_SD_GENERAL    
Created 20081212   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_IPM_SD_LOGGING has no forward declaration.
Interfaces
Class CL_IPM_SD_LOGGING has no interface implemented.
Friends
Class CL_IPM_SD_LOGGING has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ALL_NODE_TAB Instance attribute Protected Type reference (TYPE) IPM_TREE_ITEM_TABLE All Nodes 20081212
2 BATCH Instance attribute Private Type reference (TYPE) CHAR01 Call in Batch? 20081212
3 CONTAINER Instance attribute Protected Object reference (TYPE REF TO) CL_GUI_CONTAINER Abstract Container for GUI Controls 20081212
4 DUMMY_LOG_OBJECT Constant Private Type reference (TYPE) BAL_S_LOG-OBJECT 'ISM_LOG_DUMMY' Application Log: Object Name (Application Code) 20081212
5 EXPAND_LEVEL Instance attribute Protected Type reference (TYPE) I Level to Which Hierarchy is to be Exploded 20081212
6 EXTNUMBER Instance attribute Private Type reference (TYPE) BALNREXT Application Log: External ID 20081212
7 HEADER_TEXT Instance attribute Private Type reference (TYPE) STRING Header 20081212
8 HIERARCHY Instance attribute Private Type reference (TYPE) C Hierarchy Display of Messages 20081212
9 KEY Instance attribute Private Type reference (TYPE) TV_NODEKEY Last Key Assigned for Item 20081212
10 LAST_INDEX Instance attribute Private Type reference (TYPE) IPM_BAPIRET_WITH_INDEX-INDEX Indexing 20081212
11 LOG_HANDLE Instance attribute Protected Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20081212
12 LOG_OBJECT Instance attribute Private Type reference (TYPE) BAL_S_LOG-OBJECT Application Log: Object Name (Application Code) 20081212
13 MSG_TAB Instance attribute Protected Type reference (TYPE) IPM_BAPIRET_WITH_INDEX_TABLE Messages in Log 20081212
14 NODE_TAB Instance attribute Public Type reference (TYPE) IPM_TREE_ITEM_TABLE Node Table for Tree 20081212
15 NO_DUPLICATES Instance attribute Private Type reference (TYPE) CHAR01 Eliminate Duplicates 20081212
16 NO_SAVE Instance attribute Protected Type reference (TYPE) CHAR01 Data Cannot Be Saved 20081212
17 ROOT Instance attribute Private Type reference (TYPE) TV_NODEKEY Root Node 20081212
18 TREE Instance attribute Public Object reference (TYPE REF TO) CL_GUI_SIMPLE_TREE TREE CONTROL 20081212
Methods
# Method Level Visibility Method type Description Created on
1 ADD_HEADER_TEXT Instance method Private Method 20081212
2 ADD_LEVEL Instance method Public Method 20081212
3 BUILD_TREE Instance method Private Method 20081212
4 CLEAR Instance method Private Method 20081212
5 COLLAPSE_ALL_NODES Instance method Public Method 20081212
6 COLLAPSE_SELECTED_NODE Instance method Public Method 20081212
7 CONSTRUCTOR Instance method Public Constructor 20081212
8 CREATE_CONTAINER Instance method Public Method 20081212
9 CREATE_LOG Instance method Private Method 20081212
10 CREATE_TREE Instance method Public Method 20081212
11 DESTROY Instance method Public Method 20081212
12 ELIMINATE_DUPLICATES Instance method Private Method 20081212
13 ELIMINATE_LEADING_ZEROS Instance method Public Method 20081212
14 EXPAND_ALL_NODES Instance method Public Method 20081212
15 EXPAND_NODES Instance method Public Method 20081212
16 EXPAND_NO_CHILDREN Instance method Public Method 20081212
17 EXPAND_SELECTED_NODE Instance method Public Method 20081212
18 GENERATE_KEY Instance method Private Method 20081212
19 GET Instance method Public Method 20081212
20 GET_DYNPRO_TAB Instance method Private Method 20081212
21 GLOBAL_MEMORY_REFRESH Instance method Private Method 20081212
22 INHERIT_ERROR_LEVEL Instance method Private Method 20081212
23 LOAD_LOG_FROM_DATABASE Instance method Public Method 20081212
24 MARK_NODE Instance method Private Method 20081212
25 REPLACE Instance method Public Method 20081212
26 RESET_EXPAND Instance method Private Method 20081212
27 SAVE Instance method Public Method 20081212
28 SEND_SUBTREE_TO_DYNPRO Instance method Private Method 20081212
29 SET_EXPAND Instance method Private Method 20081212
30 SET_INDEX Instance method Private Method 20081212
31 SET_MINIMUM_IMAGE Instance method Private Method 20081212
32 SHOW Instance method Public Method 20081212
Events
Class CL_IPM_SD_LOGGING has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_BALHDR_TAB Private See coding 20081212 t_balhdr_tab type standard table of balhdr
Method Signatures

Method ADD_HEADER_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ROOT Call by reference Type reference (TYPE) TV_NODEKEY Root Node in Tree 20081212

Method ADD_HEADER_TEXT on class CL_IPM_SD_LOGGING has no exception.

Method ADD_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXTEND1 Value transfer Type reference (TYPE) IPM_BAPIRET-EXTEND1 IS-M: Enhancement 1 in Application Log 20081212
2 Importing EXTEND2 Value transfer Type reference (TYPE) IPM_BAPIRET-EXTEND2 IS-M: Enhancement 2 in Application Log 20081212
3 Importing LEVEL Value transfer Type reference (TYPE) BAL_S_MSG-DETLEVEL Application Log: Level of Detail 20081212
4 Importing LEVEL1 Value transfer Type reference (TYPE) IPM_BAPIRET-LEVEL1 IS-M: Level 1 in Application Log 20081212
5 Importing LEVEL2 Value transfer Type reference (TYPE) IPM_BAPIRET-LEVEL2 IS-M: Level 2 in Application Log 20081212
6 Importing LEVEL3 Value transfer Type reference (TYPE) IPM_BAPIRET-LEVEL3 IS-M: Level 3 in Application Log 20081212
7 Importing LEVEL4 Value transfer Type reference (TYPE) IPM_BAPIRET-LEVEL4 IS-M: Level 4 in Application Log 20081212
8 Importing MSGID Value transfer Type reference (TYPE) SY-MSGID SY-MSGID Messages, Message Class 20081212
9 Importing MSGNO Value transfer Type reference (TYPE) SY-MSGNO SY-MSGNO Messages, Message Number 20081212
10 Importing MSGTY Value transfer Type reference (TYPE) SY-MSGTY SY-MSGTY Messages, Message Type 20081212
11 Importing MSGV1 Value transfer Type reference (TYPE) SY-MSGV1 SY-MSGV1 Messages, Message Variable 20081212
12 Importing MSGV2 Value transfer Type reference (TYPE) SY-MSGV2 SY-MSGV2 Messages, Message Variable 20081212
13 Importing MSGV3 Value transfer Type reference (TYPE) SY-MSGV3 SY-MSGV3 Messages, Message Variable 20081212
14 Importing MSGV4 Value transfer Type reference (TYPE) SY-MSGV4 SY-MSGV4 Messages, Message Variable 20081212
15 Exporting NODE_ID Call by reference Type reference (TYPE) TV_NODEKEY ID of Node Created 20081212
16 Importing PARENT_ID Value transfer Type reference (TYPE) TV_NODEKEY ID of Parent Node 20081212
17 Importing USEREXITF Value transfer Type reference (TYPE) IPM_BAPIRET-USEREXITF Application Log: Callback: Routine name 20081212
18 Importing USEREXITP Value transfer Type reference (TYPE) IPM_BAPIRET-USEREXITP Application Log: Callback: Program name 20081212
19 Importing USEREXITT Value transfer Type reference (TYPE) IPM_BAPIRET-USEREXITT Application Log: Callback: Type (Ext. Perform, FM, etc.) 20081212

Method ADD_LEVEL on class CL_IPM_SD_LOGGING has no exception.

Method BUILD_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MESSAGE Call by reference Object reference (TYPE REF TO) CL_IPM_MESSAGE_CONTAINER IS-M: Messages 20081212

Method BUILD_TREE on class CL_IPM_SD_LOGGING has no exception.

Method CLEAR Signature

Method CLEAR on class CL_IPM_SD_LOGGING has no parameter.
Method CLEAR on class CL_IPM_SD_LOGGING has no exception.

Method COLLAPSE_ALL_NODES Signature

Method COLLAPSE_ALL_NODES on class CL_IPM_SD_LOGGING has no parameter.
Method COLLAPSE_ALL_NODES on class CL_IPM_SD_LOGGING has no exception.

Method COLLAPSE_SELECTED_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE Value transfer Type reference (TYPE) TV_NODEKEY Tree Control: Node Key 20081212

Method COLLAPSE_SELECTED_NODE on class CL_IPM_SD_LOGGING has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BATCH Call by reference Type reference (TYPE) CHAR01 Call in Batch (to Improve Performance)? 20081212
2 Importing EXPAND_LEVEL Call by reference Type reference (TYPE) I '8' Level to Which Hierarchy is to be Exploded 20081212
3 Importing EXTNUMBER Call by reference Type reference (TYPE) ANY External Number 20081212
4 Importing HEADER_TEXT Call by reference Type reference (TYPE) ANY Header in Log 20081212
5 Importing HIERARCHY Call by reference Type reference (TYPE) C 'X' Hierarchy Display 20081212
6 Importing I_CONTAINER Call by reference Object reference (TYPE REF TO) CL_GUI_CONTAINER Abstract Container for GUI Controls 20081212
7 Importing LOG_OBJECT Call by reference Type reference (TYPE) BAL_S_LOG-OBJECT Application Log: Object Name (Application Code) 20081212
8 Importing MESSAGE Call by reference Object reference (TYPE REF TO) CL_IPM_MESSAGE_CONTAINER Output 20081212
9 Importing NO_DUPLICATES Call by reference Type reference (TYPE) CHAR01 'X' Eliminate Duplicates? 20081212
10 Importing NO_SAVE Call by reference Type reference (TYPE) CHAR01 Data Cannot Be Saved 20081212
11 Importing REFRESH Call by reference Type reference (TYPE) C Refresh global log? 20081212

Method CONSTRUCTOR on class CL_IPM_SD_LOGGING has no exception.

Method CREATE_CONTAINER Signature

Method CREATE_CONTAINER on class CL_IPM_SD_LOGGING has no parameter.
Method CREATE_CONTAINER on class CL_IPM_SD_LOGGING has no exception.

Method CREATE_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LOG Call by reference Type reference (TYPE) BAL_S_LOG Application Log: Log header data 20081212

Method CREATE_LOG on class CL_IPM_SD_LOGGING has no exception.

Method CREATE_TREE Signature

Method CREATE_TREE on class CL_IPM_SD_LOGGING has no parameter.
Method CREATE_TREE on class CL_IPM_SD_LOGGING has no exception.

Method DESTROY Signature

Method DESTROY on class CL_IPM_SD_LOGGING has no parameter.
Method DESTROY on class CL_IPM_SD_LOGGING has no exception.

Method ELIMINATE_DUPLICATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IN_MSG_TAB Call by reference Type reference (TYPE) IPM_BAPIRET_WITH_INDEX_TABLE IS-M: Table Type for RJKSDCL_ISM_SD_LOG 20081212
2 Exporting OUT_MSG_TAB Call by reference Type reference (TYPE) IPM_BAPIRET_WITH_INDEX_TABLE IS-M: Table Type for RJKSDCL_ISM_SD_LOG 20081212

Method ELIMINATE_DUPLICATES on class CL_IPM_SD_LOGGING has no exception.

Method ELIMINATE_LEADING_ZEROS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IN_STR Call by reference Type reference (TYPE) IPM_BAPIRET-LEVEL1 IS-M: Level in Application Log 20081212
2 Exporting OUT_STR Value transfer Type reference (TYPE) C String Without Leading Zeros 20081212

Method ELIMINATE_LEADING_ZEROS on class CL_IPM_SD_LOGGING has no exception.

Method EXPAND_ALL_NODES Signature

Method EXPAND_ALL_NODES on class CL_IPM_SD_LOGGING has no parameter.
Method EXPAND_ALL_NODES on class CL_IPM_SD_LOGGING has no exception.

Method EXPAND_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXPAND_LEVEL Value transfer Type reference (TYPE) I Level to Which Nodes are to be Expanded 20081212

Method EXPAND_NODES on class CL_IPM_SD_LOGGING has no exception.

Method EXPAND_NO_CHILDREN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE Value transfer Type reference (TYPE) TV_NODEKEY Tree Control: Node Key 20081212

Method EXPAND_NO_CHILDREN on class CL_IPM_SD_LOGGING has no exception.

Method EXPAND_SELECTED_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE Value transfer Type reference (TYPE) TV_NODEKEY Tree Control: Node Key 20081212

Method EXPAND_SELECTED_NODE on class CL_IPM_SD_LOGGING has no exception.

Method GENERATE_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting KEY Call by reference Type reference (TYPE) TV_NODEKEY Generated Key for Item 20081212

Method GENERATE_KEY on class CL_IPM_SD_LOGGING has no exception.

Method GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20081212

Method GET on class CL_IPM_SD_LOGGING has no exception.

Method GET_DYNPRO_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DYNPRO_TAB Call by reference Type reference (TYPE) IPM_TREE_ITEM_DYNPRO_TABLE IS-M: Table Type for RJKSDTREEITEMDYNPRO 20081212
2 Importing NODE_TAB Call by reference Type reference (TYPE) IPM_TREE_ITEM_TABLE IS-M: Table Type for RJKSDTREEITEM 20081212

Method GET_DYNPRO_TAB on class CL_IPM_SD_LOGGING has no exception.

Method GLOBAL_MEMORY_REFRESH Signature

Method GLOBAL_MEMORY_REFRESH on class CL_IPM_SD_LOGGING has no parameter.
Method GLOBAL_MEMORY_REFRESH on class CL_IPM_SD_LOGGING has no exception.

Method INHERIT_ERROR_LEVEL Signature

Method INHERIT_ERROR_LEVEL on class CL_IPM_SD_LOGGING has no parameter.
Method INHERIT_ERROR_LEVEL on class CL_IPM_SD_LOGGING has no exception.

Method LOAD_LOG_FROM_DATABASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXTNUMBER Call by reference Type reference (TYPE) BALNREXT External Number 20081212
2 Importing FROM Call by reference Type reference (TYPE) SY-DATUM SY-DATUM Creation Date of Log From 20081212
3 Importing LOG_OBJECT Call by reference Type reference (TYPE) BAL_S_LOG-OBJECT Application Log: Object Name (Application Code) 20081212
4 Importing NO_MSG_FOUND Call by reference Type reference (TYPE) CHAR01 No Message Regarding Logs Not Found 20081212
5 Importing UNTIL Call by reference Type reference (TYPE) SY-DATUM SY-DATUM Creation Date of Log To 20081212

Method LOAD_LOG_FROM_DATABASE on class CL_IPM_SD_LOGGING has no exception.

Method MARK_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PARENT_TAB Value transfer Type reference (TYPE) TV_NODEKEYS Tree Control: Node Key 20081212

Method MARK_NODE on class CL_IPM_SD_LOGGING has no exception.

Method REPLACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MESSAGE Call by reference Object reference (TYPE REF TO) CL_IPM_MESSAGE_CONTAINER Output 20081212

Method REPLACE on class CL_IPM_SD_LOGGING has no exception.

Method RESET_EXPAND Signature

Method RESET_EXPAND on class CL_IPM_SD_LOGGING has no parameter.
Method RESET_EXPAND on class CL_IPM_SD_LOGGING has no exception.

Method SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting LOGNUMBERS Value transfer Type reference (TYPE) BAL_T_LGNM Application Log: Newly-Assigned LOGNUMBER Table 20081212

Method SAVE on class CL_IPM_SD_LOGGING has no exception.

Method SEND_SUBTREE_TO_DYNPRO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE Call by reference Type reference (TYPE) TV_NODEKEY Tree Control: Node Key 20081212

Method SEND_SUBTREE_TO_DYNPRO on class CL_IPM_SD_LOGGING has no exception.

Method SET_EXPAND Signature

Method SET_EXPAND on class CL_IPM_SD_LOGGING has no parameter.
Method SET_EXPAND on class CL_IPM_SD_LOGGING has no exception.

Method SET_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IN_MSG_TAB Call by reference Type reference (TYPE) IPM_BAPIRET_TABLE Non-Indexed Table 20081212
2 Exporting OUT_MSG_TAB Call by reference Type reference (TYPE) IPM_BAPIRET_WITH_INDEX_TABLE Indexed Table 20081212

Method SET_INDEX on class CL_IPM_SD_LOGGING has no exception.

Method SET_MINIMUM_IMAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IMAGE Call by reference Type reference (TYPE) IPM_TREE_ITEM-N_IMAGE Icon 20081212
2 Importing NODE Call by reference Type reference (TYPE) TV_NODEKEY Tree Control: Node Key 20081212

Method SET_MINIMUM_IMAGE on class CL_IPM_SD_LOGGING has no exception.

Method SHOW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXPAND Call by reference Type reference (TYPE) C 'X' Expand Node 20081212
2 Importing NO_INFORMATION_MSG Call by reference Type reference (TYPE) C Do Not Display Information Messages 20081212
3 Importing NO_SUCCESS_MSG Call by reference Type reference (TYPE) C Do Not Display Success Messages 20081212
4 Importing NO_WARNING_MSG Call by reference Type reference (TYPE) C Do Not Display Warning Messages 20081212

Method SHOW on class CL_IPM_SD_LOGGING has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in 605