SAP ABAP Class CL_TFW_RATING (Object Rating Implementation)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-TFW (Application Component) Tagging Framework
⤷
STFW_CORE (Package) Tagging Framework Core
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_TFW_OBJECT_MAINT | Central Object Maintenance | 20130412 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_TFW_RATING | Rating Interface | 20130412 |
Properties
| Class | CL_TFW_RATING | |
| Short Description | Object Rating Implementation | |
| Super Class | CL_TFW_OBJECT_MAINT | Central Object Maintenance |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | STFW_CORE | Tagging Framework Core |
| Created | 20130412 | SAP |
| Last change | 20140121 | 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) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_TFW_RATING | Rating Interface | 20130412 |
Friends
Class CL_TFW_RATING has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | SEQG3-GNAME | 'TFW_OBJECT_RATNG' | Elementary Lock of Lock Entry (Table Name) | 20130517 | ||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_TFW_FEAT_LOOKUP | Interface for Rating Feature lookup | 20130416 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_TFW_RATING_DB | Rating DB interface | 20130419 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | S_BUFFER | Buffer data | 20130416 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Load buffer from DB | 20130416 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | TFW_TMSTMP | Creation Timestamp | 20130522 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | TFW_UNAM | Tag Author | 20130416 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20130416 | |
| 2 | Instance method | Private | Method | Update buffer from DB data | 20130416 | |
| 3 | Instance method | Private | Method | Save the buffer to the DB | 20130416 | |
| 4 | Instance method | Private | Method | Set the temporary buffer | 20130416 |
Events
Class CL_TFW_RATING has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_BUFFER | Private | See coding | Type for buffer data | 20130416 | BEGIN OF s_buffer,
rating_tab TYPE ts_rating_int,
END OF s_buffer
|
|
| 2 | S_RATING_INT | Private | See coding | Type for internal rating info | 20130515 | BEGIN OF s_rating_int,
seqnr TYPE n LENGTH 6,
rating TYPE tfw_rating,
featurekey TYPE tfw_feat_key,
comment_txt TYPE tfw_cmnt_txt,
created_by TYPE tfw_unam,
created_on TYPE tfw_tmstmp,
END OF s_rating_int
|
|
| 3 | TS_RATING_INT | Private | See coding | Table type for internal rating info | 20130515 | ts_rating_int TYPE SORTED TABLE OF s_rating_int
WITH UNIQUE KEY seqnr
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_KEY_VALUE | Call by reference | Type reference (TYPE) | IF_TFW_TYPES=>TS_OBJ_KEY_VAL | Table Type for Object Key-Value pair | 20130416 | |||
| 2 | IV_OBJECT_TYPE_ID | Call by reference | Type reference (TYPE) | IF_TFW_TYPES=>OBJECT_TYPE_ID | TFW: Object Type Identifier | 20130416 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | TFW: Runtime Exception Class | 20130515 |
Method LOAD_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_BUFFER | Value transfer | Type reference (TYPE) | S_BUFFER | 20130416 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | TFW: Runtime Exception Class | 20130613 |
Method SAVE_BUFFER_DB Signature
Method SAVE_BUFFER_DB on class CL_TFW_RATING has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | TFW: Runtime Exception Class | 20130613 |
Method SET_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_BUFFER | Call by reference | Type reference (TYPE) | S_BUFFER | 20130416 |
Method SET_BUFFER on class CL_TFW_RATING has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |