SAP ABAP Class CL_ERP_VENDOR_MSGLOG (Message log for vendor)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-MD-BP-VM (Application Component) Vendor Master
     ERP_PURCH_VENDOR_API (Package) Vendor Maintenance API
Properties
Class CL_ERP_VENDOR_MSGLOG  
Short Description Message log for vendor    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package ERP_PURCH_VENDOR_API   Vendor Maintenance API 
Created 20070530   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_ERP_VENDOR_API Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 CL_ERP_VENDOR_MSGLOG Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_ERP_VENDOR_MSGLOG has no interface implemented.
Friends
Class CL_ERP_VENDOR_MSGLOG has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_DEF_APPLOG_OBJECT Constant Public Type reference (TYPE) BALOBJ_D 'ERP_PURCH_VENDOR_API' Application Log: Object Name (Application Code) 20070628
2 GC_TRUE Constant Private Type reference (TYPE) BOOLEAN 'X' Boolean Variable (X=True, -=False, Space=Unknown) 20070629
3 GT_APPLOG_CUSTOMIZING Static Attribute Protected Type reference (TYPE) ERP_VEND_APPLOG_T Vendor API Application log configuration table type 20070613
4 GT_GUID_MESSAGES Instance attribute Private Type reference (TYPE) L_TYP_GUID_MESSAGES_T Messages 20070601
Methods
# Method Level Visibility Method type Description Created on
1 ADD_APPLOG Instance method Private Method Add messages to an application log 20070628
2 CLEAR_LAST Instance method Public Method Clear last message, method, timestamp 20070625
3 COLLECT_MESSAGE Instance method Public Method Add message to log 20070601
4 CREATE_APPLOG Instance method Private Method Create an application log handle 20070628
5 DELETE_LOG_CUSTOMIZATION Static method Public Method Disable log for a user or for all users (UNAME='*') 20070613
6 GET_LAST_MESSAGE Instance method Public Method Return the last message 20070601
7 GET_LAST_METHOD Instance method Public Method Return the last methodname 20070625
8 GET_LAST_TIMESTAMP Instance method Public Method Return the last timestamp 20070625
9 GET_MESSAGES Instance method Public Method Get stored messages 20070601
10 IS_APPLOG_ACTIVE Static method Public Method Check if application log is activated for the user 20070629
11 LIST_LOG_CUSTOMIZATION Static method Public Method Return the current log settings 20070530
12 MAINTAIN_LOG_CUSTOMIZATION Static method Public Method Enable log for a user, or for all users (UNAME='*') 20070613
13 REFRESH_LOG_CUSTOMIZING Static method Public Method Read Current Log Customizing 20070530
14 REMOVE_MESSAGES Instance method Public Method Remove all messages related to a guid 20070628
15 SAVE_APPLOG Instance method Private Method Save current message to the application log database 20070628
Events
Class CL_ERP_VENDOR_MSGLOG has no event.
Types
Class CL_ERP_VENDOR_MSGLOG has no local type.
Method Signatures

Method ADD_APPLOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070628
2 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log header data 20070628
3 Importing IV_MSGID Call by reference Type reference (TYPE) SYMSGID Message Class 20070628
4 Importing IV_MSGNUMBER Call by reference Type reference (TYPE) SYMSGNO Message Number 20070628
5 Importing IV_MSGTYPE Call by reference Type reference (TYPE) BAPI_MTYPE Message type: S Success, E Error, W Warning, I Info, A Abort 20070628
6 Importing IV_MSGV1 Call by reference Type reference (TYPE) ANY Message Variable 20070628
7 Importing IV_MSGV2 Call by reference Type reference (TYPE) ANY Message Variable 20070628
8 Importing IV_MSGV3 Call by reference Type reference (TYPE) ANY Message Variable 20070628
9 Importing IV_MSGV4 Call by reference Type reference (TYPE) ANY Message Variable 20070628
10 Importing IV_TMSTMP Call by reference Type reference (TYPE) TZNTSTMPL UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) 20070628

Method ADD_APPLOG on class CL_ERP_VENDOR_MSGLOG has no exception.

Method CLEAR_LAST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_GUID Call by reference Type reference (TYPE) GUID_16 GUID in 'RAW' format 20070625
# Exception Resumable Description Created on
1 GUID_NOT_FOUND 20070625
2 PARAMETER_ERROR 20070625

Method COLLECT_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_TMSTMP Call by reference Type reference (TYPE) TZNTSTMPL UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) 20070625
2 Importing IT_MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070601
3 Importing IV_GUID Call by reference Type reference (TYPE) GUID_16 GUID in 'RAW' format 20070601
4 Importing IV_METHODNAME Call by reference Type reference (TYPE) SEOCPDNAME Full Component Name 20070613
5 Importing IV_MSGID Call by reference Type reference (TYPE) SYMSGID Message Class 20070601
6 Importing IV_MSGNUMBER Call by reference Type reference (TYPE) SYMSGNO Message Number 20070601
7 Importing IV_MSGTYPE Call by reference Type reference (TYPE) BAPI_MTYPE Message type: S Success, E Error, W Warning, I Info, A Abort 20070601
8 Importing IV_MSGV1 Call by reference Type reference (TYPE) ANY Message Variable 20070601
9 Importing IV_MSGV2 Call by reference Type reference (TYPE) ANY Message Variable 20070601
10 Importing IV_MSGV3 Call by reference Type reference (TYPE) ANY Message Variable 20070601
11 Importing IV_MSGV4 Call by reference Type reference (TYPE) ANY Message Variable 20070601
12 Importing IV_TMSTMP Call by reference Type reference (TYPE) TZNTSTMPL UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) 20070613
# Exception Resumable Description Created on
1 PARAMETER_ERROR 20070601

Method CREATE_APPLOG 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 20070628
2 Importing IV_OBJECT Call by reference Type reference (TYPE) BALOBJ_D CL_ERP_VENDOR_MSGLOG=>GC_DEF_APPLOG_OBJECT Application Log: Object Name (Application Code) 20070628
3 Importing IV_SUBOBJECT Call by reference Type reference (TYPE) SUBOBJECT Number range sub-object 20070628
4 Returning RV_LOG_HANDLE Value transfer Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20070628

Method CREATE_APPLOG on class CL_ERP_VENDOR_MSGLOG has no exception.

Method DELETE_LOG_CUSTOMIZATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LOGUSER Call by reference Type reference (TYPE) UNAME User Name 20070613
# Exception Resumable Description Created on
1 PARAMETER_ERROR Parameter error 20070613

Method GET_LAST_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RET_MESSAGE Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20070601
2 Exporting EV_ID Call by reference Type reference (TYPE) SYMSGID Message Class 20070601
3 Exporting EV_MESSAGE Call by reference Type reference (TYPE) BAPI_MSG Message Text 20070601
4 Exporting EV_MESSAGE_V1 Call by reference Type reference (TYPE) SYMSGV Message Variable 20070601
5 Exporting EV_MESSAGE_V2 Call by reference Type reference (TYPE) SYMSGV Message Variable 20070601
6 Exporting EV_MESSAGE_V3 Call by reference Type reference (TYPE) SYMSGV Message Variable 20070601
7 Exporting EV_MESSAGE_V4 Call by reference Type reference (TYPE) SYMSGV Message Variable 20070601
8 Exporting EV_METHODNAME Call by reference Type reference (TYPE) SEOCPDNAME Full Component Name 20070625
9 Exporting EV_NUMBER Call by reference Type reference (TYPE) SYMSGNO Message Number 20070601
10 Exporting EV_TMSTMP Call by reference Type reference (TYPE) TZNTSTMPL UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) 20070625
11 Exporting EV_TYPE Call by reference Type reference (TYPE) BAPI_MTYPE Message type: S Success, E Error, W Warning, I Info, A Abort 20070601
12 Importing IV_GUID Call by reference Type reference (TYPE) GUID_16 GUID in 'RAW' format 20070601
# Exception Resumable Description Created on
1 GUID_NOT_FOUND 20070601
2 NO_ERROR 20070601
3 PARAMETER_ERROR 20070601

Method GET_LAST_METHOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_METHODNAME Call by reference Type reference (TYPE) SEOCPDNAME Full Component Name 20070625
2 Importing IV_GUID Call by reference Type reference (TYPE) GUID_16 GUID in 'RAW' format 20070625
# Exception Resumable Description Created on
1 GUID_NOT_FOUND 20070625
2 NO_METHOD 20070625
3 PARAMETER_ERROR 20070625

Method GET_LAST_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_TMSTMP Call by reference Type reference (TYPE) TZNTSTMPL UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) 20070625
2 Importing IV_GUID Call by reference Type reference (TYPE) GUID_16 GUID in 'RAW' format 20070625
# Exception Resumable Description Created on
1 GUID_NOT_FOUND 20070625
2 NO_TIMESTAMP 20070625
3 PARAMETER_ERROR 20070625

Method GET_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070601
2 Importing IV_GUID Call by reference Type reference (TYPE) GUID_16 GUID in 'RAW' format 20070601
3 Importing IV_METHODNAME Call by reference Type reference (TYPE) SEOCPDNAME Full Component Name 20070613
4 Importing IV_TMSTMP Call by reference Type reference (TYPE) TZNTSTMPL UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) 20070625
# Exception Resumable Description Created on
1 GUID_NOT_FOUND 20070601
2 PARAMETER_ERROR 20070601

Method IS_APPLOG_ACTIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BYPASSBUFFER Call by reference Type reference (TYPE) XFELD ' ' Checkbox 20070629
2 Importing IV_METHODNAME Call by reference Type reference (TYPE) SEOCPDNAME Full Component Name 20070629
3 Importing IV_USER Call by reference Type reference (TYPE) UNAME SY-UNAME User Name 20070629
4 Returning RV_LOG_IS_ACTIVE Value transfer Type reference (TYPE) XFELD Checkbox 20070629

Method IS_APPLOG_ACTIVE on class CL_ERP_VENDOR_MSGLOG has no exception.

Method LIST_LOG_CUSTOMIZATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_APPLOG_CUSTOMIZED Call by reference Type reference (TYPE) ERP_VEND_APPLOG_T Vendor API Application log configuration table type 20070613
2 Importing IV_LOGUSER Call by reference Type reference (TYPE) UNAME User Name 20070613
# Exception Resumable Description Created on
1 NOTHING_FOUND Nothing found 20070613

Method MAINTAIN_LOG_CUSTOMIZATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LOGUSER Call by reference Type reference (TYPE) UNAME '*' User Name 20070613
2 Importing IV_METHODNAME Call by reference Type reference (TYPE) SEOCPDNAME '*' Full Component Name 20070613

Method MAINTAIN_LOG_CUSTOMIZATION on class CL_ERP_VENDOR_MSGLOG has no exception.

Method REFRESH_LOG_CUSTOMIZING Signature

Method REFRESH_LOG_CUSTOMIZING on class CL_ERP_VENDOR_MSGLOG has no parameter.
Method REFRESH_LOG_CUSTOMIZING on class CL_ERP_VENDOR_MSGLOG has no exception.

Method REMOVE_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DELETE_GUID Call by reference Type reference (TYPE) XFELD Delete also the GUID 20070628
2 Importing IV_GUID Call by reference Type reference (TYPE) GUID_16 GUID in 'RAW' format 20070628
3 Importing IV_METHODNAME Call by reference Type reference (TYPE) SEOCPDNAME Full Component Name 20070628
4 Importing IV_TMSTMP Call by reference Type reference (TYPE) TZNTSTMPL UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) 20070628
# Exception Resumable Description Created on
1 NOT_FOUND 20070628

Method SAVE_APPLOG Signature

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

Method SAVE_APPLOG on class CL_ERP_VENDOR_MSGLOG has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in 600