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 CO_APPLICATION Constant Public Type reference (TYPE) BALOBJ_D 'W' Application log: Object name (Application code) 20001211
2 CO_FLT_ALL_MESSAGES Constant Public Type reference (TYPE) WBB_MSG_FILTER '3' All messages 20001208
3 CO_FLT_ERROR_ONLY Constant Public Type reference (TYPE) WBB_MSG_FILTER '1' Only Error Messages 20001208
4 CO_FLT_ERROR_WARNING_ONLY Constant Public Type reference (TYPE) WBB_MSG_FILTER '2' Errors and warnings only 20001208
5 CO_FLT_NO_MESSAGE Constant Public Type reference (TYPE) WBB_MSG_FILTER '0' No messages 20001208
6 CO_LEVEL_GENERAL Constant Public Type reference (TYPE) WBB_LOG_LEVEL '0' General Level 20001208
7 CO_LEVEL_IDOC Constant Public Type reference (TYPE) WBB_LOG_LEVEL '2' IDoc Level 20001208
8 CO_LEVEL_PACKET Constant Public Type reference (TYPE) WBB_LOG_LEVEL '1' Package Level 20001208
9 CO_MSGID_REPL_LIST Constant Public Type reference (TYPE) SYMSGID 'WB' Message ID for Assortment List 20001219
10 CO_MSGTP_ERROR Constant Public Type reference (TYPE) SYMSGTY 'E' Message Type - Error 20001219
11 CO_MSGTP_INFO Constant Public Type reference (TYPE) SYMSGTY 'I' Message Type - Information 20001219
12 CO_MSGTP_WARNING Constant Public Type reference (TYPE) SYMSGTY 'W' Message Type - Warning 20001219
13 CO_PROBCLASS_ADD_INFO Constant Public Type reference (TYPE) BALPROBCL '4' Additional Information 20001219
14 CO_PROBCLASS_IMPORTANT Constant Public Type reference (TYPE) BALPROBCL '2' Important Problem 20001219
15 CO_PROBCLASS_LESS_IMPORTANT Constant Public Type reference (TYPE) BALPROBCL '3' Less Important Problem 20001219
16 CO_PROBCLASS_VERY_IMPORTANT Constant Public Type reference (TYPE) BALPROBCL '1' Very Important Problem 20001219
17 CO_STATUS_DATA_MISSING Constant Public Type reference (TYPE) GESST 'W' IDoc Status "Data Missing" 20001212
18 CO_STATUS_DATA_MISSING_VALUE Constant Public Type reference (TYPE) WSL_ERR_VAL '3' IDoc Status "Data Missing" 20001212
19 CO_STATUS_IDOC_MISSING Constant Public Type reference (TYPE) GESST 'E' IDoc Status "IDoc Missing" 20001212
20 CO_STATUS_IDOC_MISSING_VALUE Constant Public Type reference (TYPE) WSL_ERR_VAL '4' IDoc Status "IDoc Missing" 20001212
21 CO_STATUS_OK Constant Public Type reference (TYPE) GESST 'X' IDoc Status OK 20001212
22 CO_STATUS_OK_VALUE Constant Public Type reference (TYPE) WSL_ERR_VAL '1' IDoc Status OK 20001212
23 CO_STATUS_USER_HINT Constant Public Type reference (TYPE) GESST 'H' IDoc Status "Note for User" 20001212
24 CO_STATUS_USER_HINT_VALUE Constant Public Type reference (TYPE) WSL_ERR_VAL '2' IDoc Status "Note for User" 20001212
25 CO_STSLVL_ARTICLE Constant Public Type reference (TYPE) WBB_STATUS_LEVEL '2' Status Level: Article 20010104
26 CO_STSLVL_ARTICLE_LANGUAGE Constant Public Type reference (TYPE) WBB_STATUS_LEVEL '3' Status Level: Article/Language 20010104
27 CO_STSLVL_ARTICLE_SITE Constant Public Type reference (TYPE) WBB_STATUS_LEVEL '4' Status level: Article/Store 20010104
28 CO_STSLVL_GENERAL Constant Public Type reference (TYPE) WBB_STATUS_LEVEL '0' Status Level: General 20010104
29 CO_STSLVL_SITE Constant Public Type reference (TYPE) WBB_STATUS_LEVEL '1' Status Level: Store (or IDoc) 20010108
30 CO_SUBOBJ_GEN Constant Public Type reference (TYPE) BALSUBOBJ 'W_DOWNLOAD' Application Log: Subobject 20001211
31 CO_SUBOBJ_REPL Constant Public Type reference (TYPE) BALSUBOBJ 'W_WBBDLD' Application Log: Subobject 20001211
32 G_DLDNR Instance attribute Private Type reference (TYPE) DLDNR POS Outbound Log 20001208
33 G_LFDNR Instance attribute Private Type reference (TYPE) DLPOS POS Outbound Log: Item 20001208
34 G_LOG_HANDLE_GEN Instance attribute Private Type reference (TYPE) BALLOGHNDL Log Handle For General Messages 20001208
35 G_LOG_HANDLE_IDOC Instance attribute Private Type reference (TYPE) BALLOGHNDL Log Handle For IDoc Messages 20001208
36 G_LOG_HANDLE_PACKET Instance attribute Private Type reference (TYPE) BALLOGHNDL Log Handle For Package Messages 20001208
37 G_MSG_FILTER Instance attribute Private Type reference (TYPE) WBB_MSG_FILTER Message Filtering For Writing Data To Application Log 20001208
38 G_PACKET_NR Instance attribute Private Type reference (TYPE) PACKET_NR Package Number 20001208
39 G_T_LOG_PER_IDOC Instance attribute Private See coding Table Of Logs Generated For Each IDoc 20001208
40 G_T_STATUS_PER_LEVEL Instance attribute Private See coding Table Of Level Status 20010104
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE_IDOC_STATUS Instance method Public Method Calculate the IDoc Status for Article 20010104
2 CONSTRUCTOR Instance method Public Constructor Initialization Of Object When It Is Generated 20001208
3 CREATE_LOG Instance method Private Method Check If Application Log Must Be Generated 20001211
4 GET_IDOC_STATUS Instance method Public Method Get IDoc Status and Log Handle Number 20001208
5 IS_MESSAGE_RELEVANT Instance method Private Method Check If Message For Application Log Is Relevant 20001208
6 RESET_STATUS Instance method Public Method Set Status Level For Specific Level To "No Errors" 20010104
7 SAVE_LOGS Instance method Public Method Save All Open Logs to Database 20001208
8 SET_CURRENT_LFDNR Instance method Public Method Inform Object About IDoc Currently Being Processed 20001208
9 SET_STATUS Instance method Private Method Set Status Value For A Specific Level 20010104
10 WRITE_MESSAGE Instance method Public Method Write A Message To The Application Log 20001208
11 WRITE_STATUS_ONLY 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 Importing 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 Importing 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 Exporting EX_CREATED_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Anwendungs-Log: Handle eines Protokolls 20010105
2 Importing IM_EXTNUMBER Call by reference Type reference (TYPE) BALNREXT Anwendungs-Log: Externe Identifikation 20001211
3 Importing IM_LOG_LEVEL Call by reference Type reference (TYPE) WBB_LOG_LEVEL Application log level for the assortment list 20001211
4 Importing IM_SUBOBJECT Call by reference Type reference (TYPE) BALSUBOBJ Anwendungs-Log: Unterobjekt 20001211
# Exception Resumable Description Created on
1 LOG_HEADER_INCONSISTENT 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 Exporting EX_IDOC_STATUS Call by reference Type reference (TYPE) GESST Status der IDoc-Erzeugung 20001208
2 Exporting EX_LOG_HANDLE_PACKET Call by reference Type reference (TYPE) BALLOGHNDL Anwendungs-Log: Handle eines Protokolls 20001208
3 Exporting EX_NB_LINES_LOG Call by reference Type reference (TYPE) ANZLOZ Anzahl Logzeilen 20010109
4 Importing IM_DOWNLOAD_ITEM_NR Call by reference Type reference (TYPE) INT4 POS-Ausgangs-Protokollposition 20001208
5 Importing 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 Importing IM_MESSAGE_TYPE Call by reference Type reference (TYPE) SYMSGTY Nachrichten, Nachrichtentyp 20001208
2 Returning 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 Importing 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 LOGS_NOT_SAVED 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 Importing IM_DOWNLOAD_ITEM_NR Call by reference Type reference (TYPE) INT4 POS-Ausgangs-Protokollposition 20001208
2 Importing 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 Importing IM_AT_STATUS_LEVEL Call by reference Type reference (TYPE) WBB_STATUS_LEVEL Assortment list: Status level for the application log 20010104
2 Importing 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 Importing IM_AT_STATUS_LEVEL Call by reference Type reference (TYPE) WBB_STATUS_LEVEL Assortment list: Status level for the application log 20010104
2 Importing IM_ERROR_STATUS_VALUE Call by reference Type reference (TYPE) WSL_ERR_VAL Sortimentsliste: Fehler-Status-Wert 20001208
3 Importing IM_I_MSG Call by reference Type reference (TYPE) BAL_S_MSG Anwendungs-Log: Daten einer Meldung 20001208
4 Importing 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 LOG_HEADER_INCONSISTENT Unable to create log header 20001211
2 LOG_ITEM_INCONSISTENT 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 Importing IM_AT_STATUS_LEVEL Call by reference Type reference (TYPE) WBB_STATUS_LEVEL Assortment list: Status level for the application log 20010112
2 Importing IM_ERROR_STATUS_VALUE Call by reference Type reference (TYPE) WSL_ERR_VAL Sortimentsliste: Fehler-Status-Wert 20010112
3 Importing 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