SAP ABAP Class CL_SHP_LOG (Log helper class)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
LE-SHP-GF-ES (Application Component) Enterprise Services in Shipping
⤷
OPS_SE_SHP_XI_PROXY (Package) Web Service Proxies Delivery
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SHP_ES_LOG | Log | 20081106 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SHP_ES_LOG_C | Log: Types and Constants | 20081106 |
Properties
| Class | CL_SHP_LOG | |
| Short Description | Log helper class | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | OPS_SE_SHP_XI_PROXY | Web Service Proxies Delivery |
| Created | 20080214 | SAP |
| Last change | 20100310 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SHP_ES_LOG | Log | 20081106 | ||
| 2 | IF_SHP_ES_LOG_C | Log: Types and Constants | 20081106 |
Friends
Class CL_SHP_LOG has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | BAPIRETTAB | Reference to log table | 20080215 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | BAPIRET2 | 1st error message in log | 20080215 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | BAPIRET2 | Return Parameter | 20080219 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | BAPIRETTAB | Local log table | 20080221 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | I | Number of entries in log | 20080215 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | CHAR10 | All message types in log | 20080215 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add single message | 20080218 | |
| 2 | Instance method | Public | Method | Add message from exception | 20080215 | |
| 3 | Instance method | Public | Method | Add messages from another log | 20080214 | |
| 4 | Instance method | Private | Method | Ensure reference to log table is still bound | 20080219 | |
| 5 | Instance method | Public | Constructor | CONSTRUCTOR | 20080215 | |
| 6 | Static method | Public | Method | Create instance | 20080221 | |
| 7 | Instance method | Public | Method | Get first error message | 20080215 | |
| 8 | Instance method | Public | Method | Get last message | 20080219 | |
| 9 | Instance method | Public | Method | Get message types | 20080215 | |
| 10 | Instance method | Public | Method | Get log table | 20080220 | |
| 11 | Instance method | Private | Method | Update attributes | 20080215 | |
| 12 | Static method | Public | Method | Return instance using a given table | 20080221 |
Events
Class CL_SHP_LOG has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | GTY_INST_S | Private | See coding | 20080218 | BEGIN OF gty_inst_s,
tab TYPE REF TO bapirettab,
log TYPE REF TO cl_shp_log,
END OF gty_inst_s
|
||
| 2 | GTY_INST_T | Private | See coding | Instances | 20080218 | gty_inst_t TYPE TABLE OF gty_inst_s
|
|
| 3 | GTY_PROT_T | Public | See coding | PROTT table | 20080214 | gty_prot_t type STANDARD TABLE OF prott
|
|
| 4 | GTY_SYMSG | Private | See coding | SY-MSG fields | 20080214 | BEGIN OF gty_symsg,
msgty TYPE symsgty,
msgid TYPE symsgid,
msgno TYPE symsgno,
msgv1 TYPE symsgv,
msgv2 TYPE symsgv,
msgv3 TYPE symsgv,
msgv4 TYPE symsgv,
END OF gty_symsg
|
|
| 5 | GTY_VBFS_T | Public | See coding | VBFS table | 20080214 | gty_vbfs_t type STANDARD TABLE OF vbfs
|
Method Signatures
Method ADD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_CREATE_DEFAULT_MESSAGE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20080218 | |||
| 2 | IS_MESSAGE | Call by reference | Type reference (TYPE) | BAPIRET2 | Message | 20080218 |
Method ADD on class CL_SHP_LOG has no exception.
Method ADD_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IX_ROOT | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20080215 |
Method ADD_EXCEPTION on class CL_SHP_LOG has no exception.
Method ADD_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_BADI | Call by reference | Type reference (TYPE) | SHP_BADI_ERROR_LOG_T | Messages from BAdI Processing Delivery | 20080407 | |||
| 2 | IT_LOG | Call by reference | Type reference (TYPE) | BAPIRETTAB | 20080214 | ||||
| 3 | IT_PROT | Call by reference | Type reference (TYPE) | GTY_PROT_T | 20080215 | ||||
| 4 | IT_VBFS | Call by reference | Type reference (TYPE) | GTY_VBFS_T | 20080215 | ||||
| 5 | RF_CONTAINS_ERRORS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20080214 |
Method ADD_LOG on class CL_SHP_LOG has no exception.
Method CHECK_REFERENCE Signature
Method CHECK_REFERENCE on class CL_SHP_LOG has no parameter.
Method CHECK_REFERENCE on class CL_SHP_LOG has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_LOG | Call by reference | Object reference (TYPE REF TO) | BAPIRETTAB | Table with BAPI Return Information | 20080215 |
Method CONSTRUCTOR on class CL_SHP_LOG has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_LOG | Value transfer | Object reference (TYPE REF TO) | CL_SHP_LOG | Log helper class | 20080221 |
Method CREATE on class CL_SHP_LOG has no exception.
Method GET_ERROR_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_ERROR | Value transfer | Type reference (TYPE) | BAPIRET2 | Return Parameter | 20080215 |
Method GET_ERROR_MESSAGE on class CL_SHP_LOG has no exception.
Method GET_LAST_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_MESSAGE | Value transfer | Type reference (TYPE) | BAPIRET2 | Return Parameter | 20080219 |
Method GET_LAST_MESSAGE on class CL_SHP_LOG has no exception.
Method GET_MESSAGE_TYPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_MSGTYPES | Value transfer | Type reference (TYPE) | CHAR10 | Character Field Length = 10 | 20080215 |
Method GET_MESSAGE_TYPES on class CL_SHP_LOG has no exception.
Method GET_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_LOG | Value transfer | Object reference (TYPE REF TO) | BAPIRETTAB | Table with BAPI Return Information | 20080220 |
Method GET_TABLE on class CL_SHP_LOG has no exception.
Method UPDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_LOG | Call by reference | Type reference (TYPE) | BAPIRET2 | Return Parameter | 20080215 |
Method UPDATE on class CL_SHP_LOG has no exception.
Method USE_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_LOG | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20080221 | |||
| 2 | EO_LOG | Call by reference | Object reference (TYPE REF TO) | CL_SHP_LOG | Log helper class | 20080221 |
Method USE_TABLE on class CL_SHP_LOG has no exception.
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in | 604 |