SAP ABAP Class /AIN/CL_APP_LOG (AIN Application log)
Hierarchy
AIN (Software Component) AIN 710: Add-On Installation
   AIE-AII (Application Component) Infrastructure
     /AIN/DM (Package) Auto-ID Data Management
Properties
Class /AIN/CL_APP_LOG  
Short Description AIN Application log    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package /AIN/DM   Auto-ID Data Management 
Created 20040427   SAP 
Last change 20141109   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /AIN/CL_APP_LOG has no forward declaration.
Interfaces
Class /AIN/CL_APP_LOG has no interface implemented.
Friends
Class /AIN/CL_APP_LOG has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_OBJECT Constant Protected Type reference (TYPE) BALOBJ_D '/AIN/' Application log: Object name (Application code) 20040427
2 CO_SUBOBJECT Constant Protected Type reference (TYPE) BALSUBOBJ 'MESSAGEPROC' Application Log: Subobject 20040427
3 CO_TRUE Constant Protected Type reference (TYPE) BOOLE_D 'X' Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20040427
4 MT_CCMS_ATTRIBUTE_BUF Instance attribute Private Type reference (TYPE) TTY_CCMS_BUF store ccms attribute for each message 20070213
5 MV_CURRENT_MSG_COUNT Instance attribute Private Type reference (TYPE) BALCNTCUM Application Log: Cumulated message count 20070213
6 MV_LOG_CCMS Instance attribute Private Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20070213
7 MY_HANDLE Instance attribute Public Type reference (TYPE) BALLOGHNDL Application Log: Log handle 20040427
8 MY_LEVEL Instance attribute Protected Type reference (TYPE) BALLEVEL Application Log: Level of detail 20040427
9 MY_LOG_LEVEL Instance attribute Protected Type reference (TYPE) /AIN/DM_LOG_LEVEL Application log level 20050512
10 MY_MSG_TYPE_ID Instance attribute Protected Type reference (TYPE) /AIN/DM_MSG_TYPE_ID Message Type ID 20050923
11 SAVE_LOG_ENTRIES Instance attribute Protected Type reference (TYPE) BOOLE_D Save log entries 20051027
12 TEXT Instance attribute Public Type reference (TYPE) STRING 20060707
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGE Instance method Public Method Add message to log 20040427
2 ADD_MESSAGE_CCMS Instance method Public Method Add message to CCMS 20040910
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20040427
4 CREATE_LOG Static method Public Method Create application log for AIN 20040427
5 GET_LOG Instance method Public Method Get log from memory for current log handle 20040930
6 GET_LOG_HEADER Instance method Public Method Get current log header 20050512
7 LOG Instance method Public Method Add message/last MESSAGE/bapirettab to log (with context) 20060707
8 SAVE_LOG Instance method Public Method Save log to the database and refresh global appl. log table 20040427
9 SET_LOG_HEADER Instance method Public Method Change current log header 20050512
Events
Class /AIN/CL_APP_LOG has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 STY_CCMS_BUF Private See coding 20070213 BEGIN OF sty_ccms_buf, msg_count TYPE balcntcum, attribute TYPE almtcusgen-mtnameshrt, END OF sty_ccms_buf
2 TTY_CCMS_BUF Private See coding 20070213 TTY_CCMS_BUF type sorted table of sty_ccms_buf with non-unique key msg_count
Method Signatures

Method ADD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CCMS_ATTRIBUTE Call by reference Type reference (TYPE) ALMTCUSGEN-MTNAMESHRT Alert: Short Name of Monitoring Type 20070214
2 Importing I_MSGID Call by reference Type reference (TYPE) SYMSGID 20040427
3 Importing I_MSGNO Call by reference Type reference (TYPE) SYMSGNO 20040427
4 Importing I_MSGTY Call by reference Type reference (TYPE) SYMSGTY 20040427
5 Importing I_MSGV1 Call by reference Type reference (TYPE) ANY 20040427
6 Importing I_MSGV2 Call by reference Type reference (TYPE) ANY 20040427
7 Importing I_MSGV3 Call by reference Type reference (TYPE) ANY 20040427
8 Importing I_MSGV4 Call by reference Type reference (TYPE) ANY 20040427
9 Importing I_PROBCLASS Call by reference Type reference (TYPE) BALPROBCL Application log: Message problem class 20040823
10 Returning RESULT Value transfer Type reference (TYPE) BOOLE_D 20040427

Method ADD_MESSAGE on class /AIN/CL_APP_LOG has no exception.

Method ADD_MESSAGE_CCMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ALWAYS_LOG_CCMS Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20070214
2 Importing I_CCMS_ATTRIBUTE Call by reference Type reference (TYPE) ALMTCUSGEN-MTNAMESHRT Alert: Short Name of Monitoring Type 20070214
3 Importing I_MSGID Call by reference Type reference (TYPE) SYMSGID 20040910
4 Importing I_MSGNO Call by reference Type reference (TYPE) SYMSGNO 20040910
5 Importing I_MSGTY Call by reference Type reference (TYPE) SYMSGTY 20040910
6 Importing I_MSGV1 Call by reference Type reference (TYPE) ANY 20040910
7 Importing I_MSGV2 Call by reference Type reference (TYPE) ANY 20040910
8 Importing I_MSGV3 Call by reference Type reference (TYPE) ANY 20040910
9 Importing I_MSGV4 Call by reference Type reference (TYPE) ANY 20040910
10 Importing I_PROBCLASS Call by reference Type reference (TYPE) BALPROBCL Application log: Message problem class 20040910
11 Returning RESULT Value transfer Type reference (TYPE) BOOLE_D 20040910

Method ADD_MESSAGE_CCMS on class /AIN/CL_APP_LOG has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EXTNUMBER Call by reference Type reference (TYPE) BALNREXT Application Log: External ID 20040427
2 Importing I_MSG_TYPE_ID Call by reference Type reference (TYPE) /AIN/DM_MSG_TYPE_ID Message Type ID 20050519
3 Importing I_OBJECT Call by reference Type reference (TYPE) BALOBJ Application log: objects 20060707
4 Importing I_SUBOBJECT Call by reference Type reference (TYPE) BALSUBOBJ Application Log: Subobject 20040427

Method CONSTRUCTOR on class /AIN/CL_APP_LOG has no exception.

Method CREATE_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_APP_LOG Value transfer Object reference (TYPE REF TO) /AIN/CL_APP_LOG AIN Application log 20040427
2 Importing I_EXTNUMBER Call by reference Type reference (TYPE) BALNREXT Application Log: External ID 20040519
3 Importing I_MSG_TYPE_ID Call by reference Type reference (TYPE) /AIN/DM_MSG_TYPE_ID Message Type ID 20050519
4 Importing I_OBJECT Call by reference Type reference (TYPE) BALOBJ Application log: objects 20060707
5 Importing I_SUBOBJECT Call by reference Type reference (TYPE) BALSUBOBJ Application Log: Subobject 20040623

Method CREATE_LOG on class /AIN/CL_APP_LOG has no exception.

Method GET_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MSG_DATA Call by reference Type reference (TYPE) /AIN/DM_T_BAL_S_MSG Table type for Application Log Message Data 20040930

Method GET_LOG on class /AIN/CL_APP_LOG has no exception.

Method GET_LOG_HEADER Signature

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

Method GET_LOG_HEADER on class /AIN/CL_APP_LOG has no exception.

Method LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_BAPIRETTAB Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20060707
2 Importing IV_CCMS_ATTRIBUTE Call by reference Type reference (TYPE) ALMTCUSGEN-MTNAMESHRT Alert: Short Name of Monitoring Type 20070214
3 Importing IV_CONTEXT_TYPE Call by reference Type reference (TYPE) BALTABNAME Application Log: Context: DDIC structure name 20060707
4 Importing IV_CONTEXT_VALUE Call by reference Type reference (TYPE) DATA Original type BALCVAL = CHAR256 20060707
5 Importing IV_GROUPING_SORTING Call by reference Type reference (TYPE) BALSORT Application log: Sort criterion/grouping 20060707
6 Importing IV_MSGID Call by reference Type reference (TYPE) SYMSGID Message Class 20060707
7 Importing IV_MSGNO Call by reference Type reference (TYPE) SYMSGNO Message Number 20060707
8 Importing IV_MSGTY Call by reference Type reference (TYPE) SYMSGTY Message Type 20060707
9 Importing IV_MSGV1 Call by reference Type reference (TYPE) DATA 20060707
10 Importing IV_MSGV2 Call by reference Type reference (TYPE) DATA 20060707
11 Importing IV_MSGV3 Call by reference Type reference (TYPE) DATA 20060707
12 Importing IV_MSGV4 Call by reference Type reference (TYPE) DATA 20060707
13 Importing IV_PROBCLASS Call by reference Type reference (TYPE) BALPROBCL Application log: Message problem class 20060707
14 Returning RT_BAPIRETTAB Value transfer Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20060714

Method LOG on class /AIN/CL_APP_LOG has no exception.

Method SAVE_LOG Signature

Method SAVE_LOG on class /AIN/CL_APP_LOG has no parameter.
Method SAVE_LOG on class /AIN/CL_APP_LOG has no exception.

Method SET_LOG_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_LOG_HEADER Call by reference Type reference (TYPE) BAL_S_LOG Application Log: Log header data 20050512
2 Returning RESULT Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20050512

Method SET_LOG_HEADER on class /AIN/CL_APP_LOG has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 200