SAP ABAP Class CL_WBBHPR_APPLICATION_LOG (Application Log Class for the Assortment List)
Hierarchy
☛
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
⤷
LO-MD-RA-ASL (Application Component) Assortment List
⤷
WBBCN (Package) Assortment List: Enterprise AddOn
⤷
⤷
Properties
| Class | CL_WBBHPR_APPLICATION_LOG | |
| Short Description | Application Log Class for the Assortment List | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WBBCN | Assortment List: Enterprise AddOn |
| Created | 20001208 | SAP |
| Last change | 20010116 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_WBBHPR_APPLICATION_LOG has no forward declaration.
Interfaces
Class CL_WBBHPR_APPLICATION_LOG has no interface implemented.
Friends
Class CL_WBBHPR_APPLICATION_LOG 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 | 'W' | Application log: Object name (Application code) | 20001211 | ||
| 2 | Constant | Public | Type reference (TYPE) | WBB_MSG_FILTER | '3' | All messages | 20001208 | ||
| 3 | Constant | Public | Type reference (TYPE) | WBB_MSG_FILTER | '1' | Only Error Messages | 20001208 | ||
| 4 | Constant | Public | Type reference (TYPE) | WBB_MSG_FILTER | '2' | Errors and warnings only | 20001208 | ||
| 5 | Constant | Public | Type reference (TYPE) | WBB_MSG_FILTER | '0' | No messages | 20001208 | ||
| 6 | Constant | Public | Type reference (TYPE) | WBB_LOG_LEVEL | '0' | General Level | 20001208 | ||
| 7 | Constant | Public | Type reference (TYPE) | WBB_LOG_LEVEL | '2' | IDoc Level | 20001208 | ||
| 8 | Constant | Public | Type reference (TYPE) | WBB_LOG_LEVEL | '1' | Package Level | 20001208 | ||
| 9 | Constant | Public | Type reference (TYPE) | SYMSGID | 'WB' | Message ID for Assortment List | 20001219 | ||
| 10 | Constant | Public | Type reference (TYPE) | SYMSGTY | 'E' | Message Type - Error | 20001219 | ||
| 11 | Constant | Public | Type reference (TYPE) | SYMSGTY | 'I' | Message Type - Information | 20001219 | ||
| 12 | Constant | Public | Type reference (TYPE) | SYMSGTY | 'W' | Message Type - Warning | 20001219 | ||
| 13 | Constant | Public | Type reference (TYPE) | BALPROBCL | '4' | Additional Information | 20001219 | ||
| 14 | Constant | Public | Type reference (TYPE) | BALPROBCL | '2' | Important Problem | 20001219 | ||
| 15 | Constant | Public | Type reference (TYPE) | BALPROBCL | '3' | Less Important Problem | 20001219 | ||
| 16 | Constant | Public | Type reference (TYPE) | BALPROBCL | '1' | Very Important Problem | 20001219 | ||
| 17 | Constant | Public | Type reference (TYPE) | GESST | 'W' | IDoc Status "Data Missing" | 20001212 | ||
| 18 | Constant | Public | Type reference (TYPE) | WSL_ERR_VAL | '3' | IDoc Status "Data Missing" | 20001212 | ||
| 19 | Constant | Public | Type reference (TYPE) | GESST | 'E' | IDoc Status "IDoc Missing" | 20001212 | ||
| 20 | Constant | Public | Type reference (TYPE) | WSL_ERR_VAL | '4' | IDoc Status "IDoc Missing" | 20001212 | ||
| 21 | Constant | Public | Type reference (TYPE) | GESST | 'X' | IDoc Status OK | 20001212 | ||
| 22 | Constant | Public | Type reference (TYPE) | WSL_ERR_VAL | '1' | IDoc Status OK | 20001212 | ||
| 23 | Constant | Public | Type reference (TYPE) | GESST | 'H' | IDoc Status "Note for User" | 20001212 | ||
| 24 | Constant | Public | Type reference (TYPE) | WSL_ERR_VAL | '2' | IDoc Status "Note for User" | 20001212 | ||
| 25 | Constant | Public | Type reference (TYPE) | WBB_STATUS_LEVEL | '2' | Status Level: Article | 20010104 | ||
| 26 | Constant | Public | Type reference (TYPE) | WBB_STATUS_LEVEL | '3' | Status Level: Article/Language | 20010104 | ||
| 27 | Constant | Public | Type reference (TYPE) | WBB_STATUS_LEVEL | '4' | Status level: Article/Store | 20010104 | ||
| 28 | Constant | Public | Type reference (TYPE) | WBB_STATUS_LEVEL | '0' | Status Level: General | 20010104 | ||
| 29 | Constant | Public | Type reference (TYPE) | WBB_STATUS_LEVEL | '1' | Status Level: Store (or IDoc) | 20010108 | ||
| 30 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'W_DOWNLOAD' | Application Log: Subobject | 20001211 | ||
| 31 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'W_WBBDLD' | Application Log: Subobject | 20001211 | ||
| 32 | Instance attribute | Private | Type reference (TYPE) | DLDNR | POS Outbound Log | 20001208 | |||
| 33 | Instance attribute | Private | Type reference (TYPE) | DLPOS | POS Outbound Log: Item | 20001208 | |||
| 34 | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Log Handle For General Messages | 20001208 | |||
| 35 | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Log Handle For IDoc Messages | 20001208 | |||
| 36 | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Log Handle For Package Messages | 20001208 | |||
| 37 | Instance attribute | Private | Type reference (TYPE) | WBB_MSG_FILTER | Message Filtering For Writing Data To Application Log | 20001208 | |||
| 38 | Instance attribute | Private | Type reference (TYPE) | PACKET_NR | Package Number | 20001208 | |||
| 39 | Instance attribute | Private | See coding | Table Of Logs Generated For Each IDoc | 20001208 | ||||
| 40 | Instance attribute | Private | See coding | Table Of Level Status | 20010104 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Calculate the IDoc Status for Article | 20010104 | |
| 2 | Instance method | Public | Constructor | Initialization Of Object When It Is Generated | 20001208 | |
| 3 | Instance method | Private | Method | Check If Application Log Must Be Generated | 20001211 | |
| 4 | Instance method | Public | Method | Get IDoc Status and Log Handle Number | 20001208 | |
| 5 | Instance method | Private | Method | Check If Message For Application Log Is Relevant | 20001208 | |
| 6 | Instance method | Public | Method | Set Status Level For Specific Level To "No Errors" | 20010104 | |
| 7 | Instance method | Public | Method | Save All Open Logs to Database | 20001208 | |
| 8 | Instance method | Public | Method | Inform Object About IDoc Currently Being Processed | 20001208 | |
| 9 | Instance method | Private | Method | Set Status Value For A Specific Level | 20010104 | |
| 10 | Instance method | Public | Method | Write A Message To The Application Log | 20001208 | |
| 11 | Instance method | Public | Method | Write A Single Status To The Application Log | 20010112 |
Events
Class CL_WBBHPR_APPLICATION_LOG has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_LOG_IDOC | Private | See coding | Log Information For Each IDoc | 20001208 | |
|
| 2 | TY_STATUS_LEVEL | Private | See coding | Status For Each Level | 20010104 | |
Method Signatures
Method CALCULATE_IDOC_STATUS Signature
Method CALCULATE_IDOC_STATUS on class CL_WBBHPR_APPLICATION_LOG has no parameter.
Method CALCULATE_IDOC_STATUS on class CL_WBBHPR_APPLICATION_LOG has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_MSG_FILTER | Call by reference | Type reference (TYPE) | WBB_MSG_FILTER | To filter the messages to be written in the application log | 20001208 | |||
| 2 | IM_PACKET_NR | Call by reference | Type reference (TYPE) | PACKET_NR | Nummer eines Paketes | 20001208 |
Method CONSTRUCTOR on class CL_WBBHPR_APPLICATION_LOG has no exception.
Method CREATE_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_CREATED_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Anwendungs-Log: Handle eines Protokolls | 20010105 | |||
| 2 | IM_EXTNUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Anwendungs-Log: Externe Identifikation | 20001211 | |||
| 3 | IM_LOG_LEVEL | Call by reference | Type reference (TYPE) | WBB_LOG_LEVEL | Application log level for the assortment list | 20001211 | |||
| 4 | IM_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Anwendungs-Log: Unterobjekt | 20001211 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unable to create log header | 20001211 |
Method GET_IDOC_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_IDOC_STATUS | Call by reference | Type reference (TYPE) | GESST | Status der IDoc-Erzeugung | 20001208 | |||
| 2 | EX_LOG_HANDLE_PACKET | Call by reference | Type reference (TYPE) | BALLOGHNDL | Anwendungs-Log: Handle eines Protokolls | 20001208 | |||
| 3 | EX_NB_LINES_LOG | Call by reference | Type reference (TYPE) | ANZLOZ | Anzahl Logzeilen | 20010109 | |||
| 4 | IM_DOWNLOAD_ITEM_NR | Call by reference | Type reference (TYPE) | INT4 | POS-Ausgangs-Protokollposition | 20001208 | |||
| 5 | IM_DOWNLOAD_NR | Call by reference | Type reference (TYPE) | DLDNR | POS-Ausgangs-Protokoll | 20001208 |
Method GET_IDOC_STATUS on class CL_WBBHPR_APPLICATION_LOG has no exception.
Method IS_MESSAGE_RELEVANT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_MESSAGE_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Nachrichten, Nachrichtentyp | 20001208 | |||
| 2 | RE_MESSAGE_RELEVANT | Value transfer | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20001208 |
Method IS_MESSAGE_RELEVANT on class CL_WBBHPR_APPLICATION_LOG has no exception.
Method RESET_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_AT_STATUS_LEVEL | Call by reference | Type reference (TYPE) | WBB_STATUS_LEVEL | Assortment list: Status level for the application log | 20010104 |
Method RESET_STATUS on class CL_WBBHPR_APPLICATION_LOG has no exception.
Method SAVE_LOGS Signature
Method SAVE_LOGS on class CL_WBBHPR_APPLICATION_LOG has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Problem during the save operation | 20001212 |
Method SET_CURRENT_LFDNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_DOWNLOAD_ITEM_NR | Call by reference | Type reference (TYPE) | INT4 | POS-Ausgangs-Protokollposition | 20001208 | |||
| 2 | IM_DOWNLOAD_NR | Call by reference | Type reference (TYPE) | DLDNR | POS-Ausgangs-Protokoll | 20001208 |
Method SET_CURRENT_LFDNR on class CL_WBBHPR_APPLICATION_LOG has no exception.
Method SET_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_AT_STATUS_LEVEL | Call by reference | Type reference (TYPE) | WBB_STATUS_LEVEL | Assortment list: Status level for the application log | 20010104 | |||
| 2 | IM_ERROR_STATUS_VALUE | Call by reference | Type reference (TYPE) | WSL_ERR_VAL | Sortimentsliste: Fehler-Status-Wert | 20010104 |
Method SET_STATUS on class CL_WBBHPR_APPLICATION_LOG has no exception.
Method WRITE_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_AT_STATUS_LEVEL | Call by reference | Type reference (TYPE) | WBB_STATUS_LEVEL | Assortment list: Status level for the application log | 20010104 | |||
| 2 | IM_ERROR_STATUS_VALUE | Call by reference | Type reference (TYPE) | WSL_ERR_VAL | Sortimentsliste: Fehler-Status-Wert | 20001208 | |||
| 3 | IM_I_MSG | Call by reference | Type reference (TYPE) | BAL_S_MSG | Anwendungs-Log: Daten einer Meldung | 20001208 | |||
| 4 | IM_LOG_LEVEL | Call by reference | Type reference (TYPE) | WBB_LOG_LEVEL | Application log level for the assortment list | 20001208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unable to create log header | 20001211 | ||
| 2 | Unable to write a message in the application log | 20001211 |
Method WRITE_STATUS_ONLY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_AT_STATUS_LEVEL | Call by reference | Type reference (TYPE) | WBB_STATUS_LEVEL | Assortment list: Status level for the application log | 20010112 | |||
| 2 | IM_ERROR_STATUS_VALUE | Call by reference | Type reference (TYPE) | WSL_ERR_VAL | Sortimentsliste: Fehler-Status-Wert | 20010112 | |||
| 3 | IM_MSG_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Nachrichten, Nachrichtentyp | 20010112 |
Method WRITE_STATUS_ONLY on class CL_WBBHPR_APPLICATION_LOG has no exception.
History
| Last changed by/on | SAP | 20010116 |
| SAP Release Created in | 46C |