SAP ABAP Class CL_CRM_UI_ROLE_LOG (Role assignement log)
Hierarchy
WEBCUIF (Software Component) SAP Web UI Framework
   CA-WUI-APF (Application Component) Application Frame
     CRM_BSP_UI_FRAME_CORE (Package) Application Frame DDIC, Services and Utilities
Properties
Class CL_CRM_UI_ROLE_LOG  
Short Description Role assignement log    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class CRM_UI_ROLE_LOG    
Program status     
Category 0   
Package CRM_BSP_UI_FRAME_CORE   Application Frame DDIC, Services and Utilities 
Created 20060418   SAP 
Last change 20081007   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_CRM_UI_ROLE_LOG has no forward declaration.
Interfaces
Class CL_CRM_UI_ROLE_LOG has no interface implemented.
Friends
Class CL_CRM_UI_ROLE_LOG has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 DEFAULT_MSGID Instance attribute Protected Type reference (TYPE) SYMSGID '' 20060418
2 LOG_HANDLE Instance attribute Protected Type reference (TYPE) BALLOGHNDL '' 20060418
3 MAX_PROBCLASS Instance attribute Protected Type reference (TYPE) BALPROBCL '' 20060418
Methods
# Method Level Visibility Method type Description Created on
1 ADD_BAPIRET2_TABLE Instance method Public Method Adds messages to the log from a BAPIRET2 table 20060418
2 ADD_MESSAGE Instance method Public Method Adds a message to the application log 20060418
3 ADD_MESSAGE_STRUCT Instance method Public Method Adds a BAL_S_MSG messag to the application log 20060418
4 ADD_MESSAGE_TABLE Instance method Public Method Adds messages to the log from a table 20060418
5 ADD_SYSTEM_MESSAGE Instance method Public Method Creates log entry for system message fields 20060418
6 CLOSE Instance method Public Method Writes the application log to the database 20060418
7 DISPLAY Instance method Public Method Displays the saved log 20060418
8 MESSAGE_FROM_BAPIRET2 Static method Public Method Converts a BAPIRET2 message into the message log structure 20060418
9 MESSAGE_FROM_BAPIRETURN Static method Public Method Converts a BAPIRETURN message into the message log structure 20060418
10 MESSAGE_FROM_SYSTEM_FIELDS Static method Public Method Create message reading the system fields 20060418
11 OPEN Instance method Public Method Opens a new log 20060418
Events
Class CL_CRM_UI_ROLE_LOG has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_BAL_S_MSG_TAB Public See coding 20060418 ty_bal_s_msg_tab TYPE STANDARD TABLE OF bal_s_msg
2 TY_BAPIRET2_TAB Public See coding 20060421 ty_bapiret2_tab TYPE STANDARD TABLE OF bapiret2
Method Signatures

Method ADD_BAPIRET2_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MESSAGE_BAPIRET2_TABLE Call by reference Type reference (TYPE) TY_BAPIRET2_TAB BAPIRET2 Table with Messages 20060418
# Exception Resumable Description Created on
1 LOGGING_ERROR Logging API returned an error 20060418

Method ADD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DETAIL_LEVEL Call by reference Type reference (TYPE) BALLEVEL '' Message Detail Level (1-9) 20060418
2 Importing MSGID Call by reference Type reference (TYPE) SYMSGID '' Message Id 20060418
3 Importing MSGNO Call by reference Type reference (TYPE) SYMSGNO Message Number 20060418
4 Importing MSGTY Call by reference Type reference (TYPE) SYMSGTY 'I' Message Type (A, E, W, S, I) 20060418
5 Importing MSGV1 Call by reference Type reference (TYPE) SYMSGV '' Message Variable 1 20060418
6 Importing MSGV2 Call by reference Type reference (TYPE) SYMSGV '' Message Variable 2 20060418
7 Importing MSGV3 Call by reference Type reference (TYPE) SYMSGV '' Message Variable 3 20060418
8 Importing MSGV4 Call by reference Type reference (TYPE) SYMSGV '' Message Variable 4 20060418
# Exception Resumable Description Created on
1 LOGGING_ERROR Logging API returned an error 20060418

Method ADD_MESSAGE_STRUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LOG_MESSAGE Call by reference Type reference (TYPE) BAL_S_MSG Application Log: Message Data 20060418
# Exception Resumable Description Created on
1 LOGGING_ERROR Logging API returned an error 20060418

Method ADD_MESSAGE_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MESSAGE_TABLE Call by reference Type reference (TYPE) TY_BAL_S_MSG_TAB Application Log: Table with Messages 20060418
# Exception Resumable Description Created on
1 LOGGING_ERROR Logging API returned an error 20060418

Method ADD_SYSTEM_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DETAIL_LEVEL Value transfer Type reference (TYPE) BALLEVEL '5' Application Log: Level of detail 20060418
# Exception Resumable Description Created on
1 LOGGING_ERROR Logging API returned an error 20060418

Method CLOSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting LOG_NUMBER Value transfer Type reference (TYPE) BALOGNR Database id of the new log 20060418
# Exception Resumable Description Created on
1 LOGGING_ERROR Logging API returned an error 20060418

Method DISPLAY Signature

Method DISPLAY on class CL_CRM_UI_ROLE_LOG has no parameter.
# Exception Resumable Description Created on
1 DISPLAY_ERROR Call to Application log display function failed 20060418

Method MESSAGE_FROM_BAPIRET2 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BAPI_MESSAGE Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20060418
2 Exporting LOG_MESSAGE Call by reference Type reference (TYPE) BAL_S_MSG Application Log: Message Data 20060418

Method MESSAGE_FROM_BAPIRET2 on class CL_CRM_UI_ROLE_LOG has no exception.

Method MESSAGE_FROM_BAPIRETURN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BAPI_MESSAGE Call by reference Type reference (TYPE) BAPIRETURN Return Parameter 20060418
2 Exporting LOG_MESSAGE Call by reference Type reference (TYPE) BAL_S_MSG Application Log: Message Data 20060418

Method MESSAGE_FROM_BAPIRETURN on class CL_CRM_UI_ROLE_LOG has no exception.

Method MESSAGE_FROM_SYSTEM_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting LOG_MESSAGE Call by reference Type reference (TYPE) BAL_S_MSG Application Log: Message Data 20060418

Method MESSAGE_FROM_SYSTEM_FIELDS on class CL_CRM_UI_ROLE_LOG has no exception.

Method OPEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DEFAULT_MSGID Value transfer Type reference (TYPE) SYMSGID '' Default message id 20060418
2 Importing EXTNUMBER Value transfer Type reference (TYPE) BALNREXT '' External identification for the log 20060418
3 Importing LOG_OBJECT Value transfer Type reference (TYPE) BALOBJ_D Log object type 20060418
4 Importing LOG_SUBOBJECT Value transfer Type reference (TYPE) BALSUBOBJ '' Log subobject type 20060418
5 Importing MAX_PROBCLASS Value transfer Type reference (TYPE) BALPROBCL '2' Maximal log level (1-4) 20060418
# Exception Resumable Description Created on
1 LOGGING_ERROR Logging API returned an error 20060418
History
Last changed by/on SAP  20081007 
SAP Release Created in 700