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 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | 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 | Constant | Public | Type reference (TYPE) | BALOBJ_D | 'ERP_PURCH_VENDOR_API' | Application Log: Object Name (Application Code) | 20070628 | ||
| 2 | Constant | Private | Type reference (TYPE) | BOOLEAN | 'X' | Boolean Variable (X=True, -=False, Space=Unknown) | 20070629 | ||
| 3 | Static Attribute | Protected | Type reference (TYPE) | ERP_VEND_APPLOG_T | Vendor API Application log configuration table type | 20070613 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | L_TYP_GUID_MESSAGES_T | Messages | 20070601 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Add messages to an application log | 20070628 | |
| 2 | Instance method | Public | Method | Clear last message, method, timestamp | 20070625 | |
| 3 | Instance method | Public | Method | Add message to log | 20070601 | |
| 4 | Instance method | Private | Method | Create an application log handle | 20070628 | |
| 5 | Static method | Public | Method | Disable log for a user or for all users (UNAME='*') | 20070613 | |
| 6 | Instance method | Public | Method | Return the last message | 20070601 | |
| 7 | Instance method | Public | Method | Return the last methodname | 20070625 | |
| 8 | Instance method | Public | Method | Return the last timestamp | 20070625 | |
| 9 | Instance method | Public | Method | Get stored messages | 20070601 | |
| 10 | Static method | Public | Method | Check if application log is activated for the user | 20070629 | |
| 11 | Static method | Public | Method | Return the current log settings | 20070530 | |
| 12 | Static method | Public | Method | Enable log for a user, or for all users (UNAME='*') | 20070613 | |
| 13 | Static method | Public | Method | Read Current Log Customizing | 20070530 | |
| 14 | Instance method | Public | Method | Remove all messages related to a guid | 20070628 | |
| 15 | 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 | IT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20070628 | |||
| 2 | IV_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log header data | 20070628 | |||
| 3 | IV_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | Message Class | 20070628 | |||
| 4 | IV_MSGNUMBER | Call by reference | Type reference (TYPE) | SYMSGNO | Message Number | 20070628 | |||
| 5 | IV_MSGTYPE | Call by reference | Type reference (TYPE) | BAPI_MTYPE | Message type: S Success, E Error, W Warning, I Info, A Abort | 20070628 | |||
| 6 | IV_MSGV1 | Call by reference | Type reference (TYPE) | ANY | Message Variable | 20070628 | |||
| 7 | IV_MSGV2 | Call by reference | Type reference (TYPE) | ANY | Message Variable | 20070628 | |||
| 8 | IV_MSGV3 | Call by reference | Type reference (TYPE) | ANY | Message Variable | 20070628 | |||
| 9 | IV_MSGV4 | Call by reference | Type reference (TYPE) | ANY | Message Variable | 20070628 | |||
| 10 | 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 | IV_GUID | Call by reference | Type reference (TYPE) | GUID_16 | GUID in 'RAW' format | 20070625 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20070625 | |||
| 2 | 20070625 |
Method COLLECT_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_TMSTMP | Call by reference | Type reference (TYPE) | TZNTSTMPL | UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) | 20070625 | |||
| 2 | IT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20070601 | |||
| 3 | IV_GUID | Call by reference | Type reference (TYPE) | GUID_16 | GUID in 'RAW' format | 20070601 | |||
| 4 | IV_METHODNAME | Call by reference | Type reference (TYPE) | SEOCPDNAME | Full Component Name | 20070613 | |||
| 5 | IV_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | Message Class | 20070601 | |||
| 6 | IV_MSGNUMBER | Call by reference | Type reference (TYPE) | SYMSGNO | Message Number | 20070601 | |||
| 7 | IV_MSGTYPE | Call by reference | Type reference (TYPE) | BAPI_MTYPE | Message type: S Success, E Error, W Warning, I Info, A Abort | 20070601 | |||
| 8 | IV_MSGV1 | Call by reference | Type reference (TYPE) | ANY | Message Variable | 20070601 | |||
| 9 | IV_MSGV2 | Call by reference | Type reference (TYPE) | ANY | Message Variable | 20070601 | |||
| 10 | IV_MSGV3 | Call by reference | Type reference (TYPE) | ANY | Message Variable | 20070601 | |||
| 11 | IV_MSGV4 | Call by reference | Type reference (TYPE) | ANY | Message Variable | 20070601 | |||
| 12 | IV_TMSTMP | Call by reference | Type reference (TYPE) | TZNTSTMPL | UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) | 20070613 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20070601 |
Method CREATE_APPLOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXTNUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20070628 | |||
| 2 | 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 | IV_SUBOBJECT | Call by reference | Type reference (TYPE) | SUBOBJECT | Number range sub-object | 20070628 | |||
| 4 | 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 | IV_LOGUSER | Call by reference | Type reference (TYPE) | UNAME | User Name | 20070613 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter error | 20070613 |
Method GET_LAST_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_RET_MESSAGE | Call by reference | Type reference (TYPE) | BAPIRET2 | Return Parameter | 20070601 | |||
| 2 | EV_ID | Call by reference | Type reference (TYPE) | SYMSGID | Message Class | 20070601 | |||
| 3 | EV_MESSAGE | Call by reference | Type reference (TYPE) | BAPI_MSG | Message Text | 20070601 | |||
| 4 | EV_MESSAGE_V1 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20070601 | |||
| 5 | EV_MESSAGE_V2 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20070601 | |||
| 6 | EV_MESSAGE_V3 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20070601 | |||
| 7 | EV_MESSAGE_V4 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20070601 | |||
| 8 | EV_METHODNAME | Call by reference | Type reference (TYPE) | SEOCPDNAME | Full Component Name | 20070625 | |||
| 9 | EV_NUMBER | Call by reference | Type reference (TYPE) | SYMSGNO | Message Number | 20070601 | |||
| 10 | EV_TMSTMP | Call by reference | Type reference (TYPE) | TZNTSTMPL | UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) | 20070625 | |||
| 11 | EV_TYPE | Call by reference | Type reference (TYPE) | BAPI_MTYPE | Message type: S Success, E Error, W Warning, I Info, A Abort | 20070601 | |||
| 12 | IV_GUID | Call by reference | Type reference (TYPE) | GUID_16 | GUID in 'RAW' format | 20070601 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20070601 | |||
| 2 | 20070601 | |||
| 3 | 20070601 |
Method GET_LAST_METHOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_METHODNAME | Call by reference | Type reference (TYPE) | SEOCPDNAME | Full Component Name | 20070625 | |||
| 2 | IV_GUID | Call by reference | Type reference (TYPE) | GUID_16 | GUID in 'RAW' format | 20070625 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20070625 | |||
| 2 | 20070625 | |||
| 3 | 20070625 |
Method GET_LAST_TIMESTAMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_TMSTMP | Call by reference | Type reference (TYPE) | TZNTSTMPL | UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) | 20070625 | |||
| 2 | IV_GUID | Call by reference | Type reference (TYPE) | GUID_16 | GUID in 'RAW' format | 20070625 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20070625 | |||
| 2 | 20070625 | |||
| 3 | 20070625 |
Method GET_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20070601 | |||
| 2 | IV_GUID | Call by reference | Type reference (TYPE) | GUID_16 | GUID in 'RAW' format | 20070601 | |||
| 3 | IV_METHODNAME | Call by reference | Type reference (TYPE) | SEOCPDNAME | Full Component Name | 20070613 | |||
| 4 | IV_TMSTMP | Call by reference | Type reference (TYPE) | TZNTSTMPL | UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) | 20070625 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20070601 | |||
| 2 | 20070601 |
Method IS_APPLOG_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BYPASSBUFFER | Call by reference | Type reference (TYPE) | XFELD | ' ' | Checkbox | 20070629 | ||
| 2 | IV_METHODNAME | Call by reference | Type reference (TYPE) | SEOCPDNAME | Full Component Name | 20070629 | |||
| 3 | IV_USER | Call by reference | Type reference (TYPE) | UNAME | SY-UNAME | User Name | 20070629 | ||
| 4 | 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 | ET_APPLOG_CUSTOMIZED | Call by reference | Type reference (TYPE) | ERP_VEND_APPLOG_T | Vendor API Application log configuration table type | 20070613 | |||
| 2 | IV_LOGUSER | Call by reference | Type reference (TYPE) | UNAME | User Name | 20070613 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Nothing found | 20070613 |
Method MAINTAIN_LOG_CUSTOMIZATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LOGUSER | Call by reference | Type reference (TYPE) | UNAME | '*' | User Name | 20070613 | ||
| 2 | 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 | IV_DELETE_GUID | Call by reference | Type reference (TYPE) | XFELD | Delete also the GUID | 20070628 | |||
| 2 | IV_GUID | Call by reference | Type reference (TYPE) | GUID_16 | GUID in 'RAW' format | 20070628 | |||
| 3 | IV_METHODNAME | Call by reference | Type reference (TYPE) | SEOCPDNAME | Full Component Name | 20070628 | |||
| 4 | IV_TMSTMP | Call by reference | Type reference (TYPE) | TZNTSTMPL | UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) | 20070628 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20070628 |
Method SAVE_APPLOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 |