SAP ABAP Class CL_LAW2_APPL_LOG (LAW Application Log)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-LIM (Application Component) License Measurement
     SLIM3 (Package) License Administration Workbench 2.0
Properties
Class CL_LAW2_APPL_LOG  
Short Description LAW Application Log    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SLIM3   License Administration Workbench 2.0 
Created 20110419   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_LAW2_APPL_LOG has no forward declaration.
Interfaces
Class CL_LAW2_APPL_LOG has no interface implemented.
Friends
Class CL_LAW2_APPL_LOG has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GO_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_LAW2_APPL_LOG LAW Application Log 20110419
2 MC_FALSE Instance attribute Private Type reference (TYPE) BOOLE_D SPACE falsch (= ' ') 20110419
3 MC_MSGTY_ABORT Instance attribute Private Type reference (TYPE) CHAR1 'A' Message Type Abort 20110419
4 MC_MSGTY_ERROR Instance attribute Private Type reference (TYPE) CHAR1 'E' Message Type Error 20110419
5 MC_MSGTY_INFO Instance attribute Private Type reference (TYPE) CHAR1 'I' Message Type Information 20110419
6 MC_MSGTY_SUCCESS Instance attribute Private Type reference (TYPE) CHAR1 'S' Message Type Success 20110419
7 MC_MSGTY_WARNING Instance attribute Private Type reference (TYPE) CHAR1 'W' Message Type Warning 20110419
8 MC_TRUE Instance attribute Private Type reference (TYPE) BOOLE_D 'X' wahr (= 'X') 20110419
9 MT_PROTOCOL Instance attribute Private Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20110419
10 MV_SAVE_APPLICATION_LOG Instance attribute Private Type reference (TYPE) XFELD Save protocol to the application log ? 20110503
11 MV_SEVERITY Instance attribute Private Type reference (TYPE) BAPI_MTYPE Message type: S Success, E Error, W Warning, I Info, A Abort 20110419
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGE Instance method Public Method Add a message to the application log protocol 20110419
2 CONSTRUCTOR Instance method Private Constructor 20110419
3 DELETE_PROTOCOL Instance method Public Method Delete the messages from the protocol buffer table 20110420
4 DETERMINE_SEVERITY Instance method Private Method Determine Severity 20110419
5 GET_INSTANCE Static method Public Method Get a protocol instance 20110419
6 GET_PROTOCOL Instance method Public Method Get the Message Protocol 20110419
7 GET_PROTOCOL_WD Instance method Public Method Get the Message Protocol 20110902
8 GET_PROTOCOL_WD_2 Instance method Public Method Get the Message Protocol 20120430
9 GET_SEVERITY Instance method Public Method Get the 'highest' severity of the existing messages 20110419
10 REMOVE_MESSAGE_DUPLICATES Instance method Public Method Remove message duplicates from the protocol table 20121227
11 SAVE_APPL_LOG Instance method Public Method Save the protocol to the application log 20110419
12 SAVE_MESSAGE_TO_LOG Static method Public Method Save the given message directly to the application log 20110718
Events
Class CL_LAW2_APPL_LOG has no event.
Types
Class CL_LAW2_APPL_LOG has no local type.
Method Signatures

Method ADD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FIELD Call by reference Type reference (TYPE) BAPI_FLD 20110419
2 Importing IV_MSG Call by reference Type reference (TYPE) BAPI_MSG 20110419
3 Importing IV_MSGID Call by reference Type reference (TYPE) SYMSGID 20110419
4 Importing IV_MSGNO Call by reference Type reference (TYPE) SYMSGNO 20110419
5 Importing IV_MSGTY Call by reference Type reference (TYPE) SYMSGTY 20110419
6 Importing IV_MSGV1 Call by reference Type reference (TYPE) SYMSGV 20110419
7 Importing IV_MSGV2 Call by reference Type reference (TYPE) SYMSGV 20110419
8 Importing IV_MSGV3 Call by reference Type reference (TYPE) SYMSGV 20110419
9 Importing IV_MSGV4 Call by reference Type reference (TYPE) SYMSGV 20110419
10 Importing IV_PARAM Call by reference Type reference (TYPE) BAPI_PARAM 20110419
11 Importing IV_ROW Call by reference Type reference (TYPE) BAPI_LINE 20110419

Method ADD_MESSAGE on class CL_LAW2_APPL_LOG has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_LAW2_APPL_LOG has no parameter.
Method CONSTRUCTOR on class CL_LAW2_APPL_LOG has no exception.

Method DELETE_PROTOCOL Signature

Method DELETE_PROTOCOL on class CL_LAW2_APPL_LOG has no parameter.
Method DELETE_PROTOCOL on class CL_LAW2_APPL_LOG has no exception.

Method DETERMINE_SEVERITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_SEVERITY Value transfer Type reference (TYPE) BAPI_MTYPE Message Type: S Success, E Error, W Warning, I Info, A Abort 20110419
2 Importing IP_MSGTY Call by reference Type reference (TYPE) SYMSGTY Nachrichten, Nachrichtentyp 20110419
3 Importing IS_MSG Call by reference Type reference (TYPE) BAPIRET2 20110419
4 Importing IT_PROT Call by reference Type reference (TYPE) BAPIRETTAB 20110419

Method DETERMINE_SEVERITY on class CL_LAW2_APPL_LOG has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EO_LOG Value transfer Object reference (TYPE REF TO) CL_LAW2_APPL_LOG LAW Application Log 20110419

Method GET_INSTANCE on class CL_LAW2_APPL_LOG has no exception.

Method GET_PROTOCOL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_PROTOCOL Value transfer Type reference (TYPE) BAPIRETTAB Message Protocol 20110419

Method GET_PROTOCOL on class CL_LAW2_APPL_LOG has no exception.

Method GET_PROTOCOL_WD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLEAR_PROTOCOL Call by reference Type reference (TYPE) XFELD 'X' Clear the protocol 20110902
2 Returning RT_WD_PROTOCOL Value transfer Type reference (TYPE) LAW2_T_WD_MESSAGE Message Protocol 20110902

Method GET_PROTOCOL_WD on class CL_LAW2_APPL_LOG has no exception.

Method GET_PROTOCOL_WD_2 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLEAR_PROTOCOL Call by reference Type reference (TYPE) XFELD 'X' Clear the protocol 20120430
2 Returning RT_PROTOCOL Value transfer Type reference (TYPE) BAPIRETTAB Message Protocol 20120430

Method GET_PROTOCOL_WD_2 on class CL_LAW2_APPL_LOG has no exception.

Method GET_SEVERITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SEVERITY Value transfer Type reference (TYPE) BAPI_MTYPE Message type: S Success, E Error, W Warning, I Info, A Abort 20110419

Method GET_SEVERITY on class CL_LAW2_APPL_LOG has no exception.

Method REMOVE_MESSAGE_DUPLICATES Signature

Method REMOVE_MESSAGE_DUPLICATES on class CL_LAW2_APPL_LOG has no parameter.
Method REMOVE_MESSAGE_DUPLICATES on class CL_LAW2_APPL_LOG has no exception.

Method SAVE_APPL_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BALOBJ Call by reference Type reference (TYPE) BALOBJ_D 'SLAW2' Application log: Object name (Application code) 20110419
2 Importing IV_BALSUBOBJ Call by reference Type reference (TYPE) BALSUBOBJ Application Log: Subobject 20110419

Method SAVE_APPL_LOG on class CL_LAW2_APPL_LOG has no exception.

Method SAVE_MESSAGE_TO_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BALOBJ Call by reference Type reference (TYPE) BALOBJ_D 'SLAW2' Application log: Object name (Application code) 20110718
2 Importing IV_BALSUBOBJ Call by reference Type reference (TYPE) BALSUBOBJ Application Log: Subobject 20110718
3 Importing IV_FIELD Call by reference Type reference (TYPE) BAPI_FLD 20110718
4 Importing IV_MSG Call by reference Type reference (TYPE) BAPI_MSG 20110718
5 Importing IV_MSGID Call by reference Type reference (TYPE) SYMSGID 20110718
6 Importing IV_MSGNO Call by reference Type reference (TYPE) SYMSGNO 20110718
7 Importing IV_MSGTY Call by reference Type reference (TYPE) SYMSGTY 20110718
8 Importing IV_MSGV1 Call by reference Type reference (TYPE) SYMSGV 20110718
9 Importing IV_MSGV2 Call by reference Type reference (TYPE) SYMSGV 20110718
10 Importing IV_MSGV3 Call by reference Type reference (TYPE) SYMSGV 20110718
11 Importing IV_MSGV4 Call by reference Type reference (TYPE) SYMSGV 20110718
12 Importing IV_PARAM Call by reference Type reference (TYPE) BAPI_PARAM 20110718
13 Importing IV_ROW Call by reference Type reference (TYPE) BAPI_LINE 20110718

Method SAVE_MESSAGE_TO_LOG on class CL_LAW2_APPL_LOG has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 732