SAP ABAP Class CL_GRFN_MODEL_EXT_DATA_DB (Extension Data for Datebase)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷
GRC (Application Component) Governance, Risk and Compliance
⤷
GRFN_CATALOGUES (Package) GRCFoundation catalogue
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_GRFN_API_MODEL | Interface for handling of GRC API models | 20090818 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_GRFN_MODEL_EXTENSION | Extension Model | 20100813 |
Properties
| Class | CL_GRFN_MODEL_EXT_DATA_DB | |
| Short Description | Extension Data for Datebase | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRFN_CATALOGUES | GRCFoundation catalogue |
| Created | 20090818 | SAP |
| Last change | 20141106 | |
| 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_GRFN_API_MODEL | Interface for handling of GRC API models | 20090818 | ||
| 2 | IF_GRFN_MODEL_EXTENSION | Extension Model | 20100813 |
Friends
Class CL_GRFN_MODEL_EXT_DATA_DB has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | FIELDNAME | 'EXT' | Field Name | 20091228 | ||
| 2 | Constant | Private | Type reference (TYPE) | STRUKNAME | 'GRFN_S_EXT' | Name of a structure | 20090910 | ||
| 3 | Constant | Private | Type reference (TYPE) | NAME_KOMP | 'VALIDFROM' | Component name | 20090910 | ||
| 4 | Constant | Private | Type reference (TYPE) | NAME_KOMP | 'VALIDTO' | Component name | 20090910 | ||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | Internal table for extension data | 20091228 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | 20090818 | ||
| 2 | Static method | Private | Method | Convert table field to FLD | 20091117 | |
| 3 | Static method | Private | Method | Covert FLD to table field | 20100305 | |
| 4 | Static method | Private | Method | Generate where clause by key fields and key value | 20090908 | |
| 5 | Instance method | Public | Method | Get extension data | 20090910 | |
| 6 | Static method | Private | Method | Query DB, all records | 20090824 | |
| 7 | Instance method | Public | Method | Query extension data | 20090910 | |
| 8 | Static method | Private | Method | Read record from DB | 20090818 | |
| 9 | Static method | Private | Method | Set records to DB | 20090818 | |
| 10 | Instance method | Public | Method | Set extension data | 20100304 | |
| 11 | Static method | Private | Method | Get field by extension | 20091117 | |
| 12 | Static method | Private | Method | Get key fields by table name | 20090910 | |
| 13 | Static method | Private | Method | Get composite key fields from all the tables | 20091117 | |
| 14 | Static method | Private | Method | Get Key field configured in field HR | 20091221 | |
| 15 | Static method | Private | Method | Get line type by extension | 20091117 | |
| 16 | Static method | Private | Method | Get line type for table, change the table field as FLD | 20091117 | |
| 17 | Static method | Private | Method | Get normal field | 20100602 | |
| 18 | Static method | Private | Method | Get related field | 20100305 | |
| 19 | Static method | Private | Method | Get tables by extension | 20091218 |
Events
Class CL_GRFN_MODEL_EXT_DATA_DB has no event.
Types
Class CL_GRFN_MODEL_EXT_DATA_DB has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_GRFN_MODEL_EXT_DATA_DB has no parameter.
Method CONSTRUCTOR on class CL_GRFN_MODEL_EXT_DATA_DB has no exception.
Method CONVERT_FIELD_TO_FLD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20091222 | ||||
| 2 | ETR_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Data after change | 20091222 | |||
| 3 | IR_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20091222 | ||||
| 4 | ITR_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Data before change | 20091222 | |||
| 5 | IV_EXT | Value transfer | Type reference (TYPE) | GRFN_EXT | Extension object type | 20091218 | |||
| 6 | IV_TABLE | Value transfer | Type reference (TYPE) | TABNAME | Table Name | 20091117 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091217 |
Method CONVERT_FLD_TO_FIELD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20100305 | ||||
| 2 | ETR_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20100305 | ||||
| 3 | IR_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20100305 | ||||
| 4 | ITR_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20100305 | ||||
| 5 | IV_EXT | Call by reference | Type reference (TYPE) | GRFN_EXT | Extension object type | 20100305 | |||
| 6 | IV_TABLE | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20100305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100305 |
Method GENE_WHERE_CLAUSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_KEY_FIELD | Call by reference | Type reference (TYPE) | DDFIELDS | DD: Field List | 20090908 | |||
| 2 | IV_DATA | Call by reference | Type reference (TYPE) | DATA | 20090908 | ||||
| 3 | RV_WHERE_CLAUSE | Value transfer | Type reference (TYPE) | STRING | 20090908 |
Method GENE_WHERE_CLAUSE on class CL_GRFN_MODEL_EXT_DATA_DB has no exception.
Method GET_EXTENSION_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_LINE_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20090910 | |||
| 2 | ER_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20091229 | ||||
| 3 | IS_EXT | Call by reference | Type reference (TYPE) | GRFN_S_EXT | Extension object | 20090910 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091217 |
Method QUERY_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20090824 | ||||
| 2 | IV_TABLE_NAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20090824 |
Method QUERY_DB on class CL_GRFN_MODEL_EXT_DATA_DB has no exception.
Method QUERY_EXTENSION_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_LINE_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20090910 | |||
| 2 | ET_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20091223 | ||||
| 3 | IV_EXT | Call by reference | Type reference (TYPE) | GRFN_EXT | Extension object type | 20090910 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091217 |
Method READ_DB_BY_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20090922 | ||||
| 2 | IS_EXT | Call by reference | Type reference (TYPE) | GRFN_S_EXT | Extension object | 20091207 | |||
| 3 | IV_TABLE_NAME | Call by reference | Type reference (TYPE) | TABNAME | 20090818 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091217 |
Method SET_DB_BY_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20090922 | ||||
| 2 | IV_TABLE_NAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20090818 |
Method SET_DB_BY_KEY on class CL_GRFN_MODEL_EXT_DATA_DB has no exception.
Method SET_EXTENSION_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_EXT | Call by reference | Type reference (TYPE) | GRFN_S_EXT | Extension object | 20100304 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100304 |
Method UTIL_GET_DBFLD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXT | Value transfer | Type reference (TYPE) | GRFN_EXT | 20091117 | ||||
| 2 | IV_TABLE | Value transfer | Type reference (TYPE) | TABNAME | Control Structure for Testing the Table Name (Apart fr. SAA) | 20091218 | |||
| 3 | IV_WITH_KEY | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20091221 | |||
| 4 | RT_EXT_DB_FLD | Value transfer | Type reference (TYPE) | GRFN_T_EXT_DB_FLD | 20091117 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091217 |
Method UTIL_GET_KEY_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TABLE_NAME | Call by reference | Type reference (TYPE) | TABNAME | 20090910 | ||||
| 2 | RT_KEY_FIELDS | Value transfer | Type reference (TYPE) | DDFIELDS | 20090910 |
Method UTIL_GET_KEY_FIELDS on class CL_GRFN_MODEL_EXT_DATA_DB has no exception.
Method UTIL_GET_KEY_FIELDS_TOTAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DISTINCT_NEEDED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20091117 | ||||
| 2 | IV_EXT | Value transfer | Type reference (TYPE) | GRFN_EXT | Extension object type | 20091117 | |||
| 3 | RT_KEY_FIELDS | Value transfer | Type reference (TYPE) | DDFIELDS | 20091117 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091217 |
Method UTIL_GET_KEY_FLD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXT | Call by reference | Type reference (TYPE) | GRFN_EXT | Extension object type | 20091221 | |||
| 2 | RT_FLD_HR | Value transfer | Type reference (TYPE) | GRFN_T_FLD_HR | Field HR info table | 20091221 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091221 |
Method UTIL_GET_LINE_TYPE_EXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXT | Call by reference | Type reference (TYPE) | GRFN_EXT | 20091117 | ||||
| 2 | IV_WITH_KEY | Call by reference | Type reference (TYPE) | BOOLEAN | 20091222 | ||||
| 3 | RO_LINE_TYPE | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | 20091117 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091217 |
Method UTIL_GET_LINE_TYPE_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXT | Value transfer | Type reference (TYPE) | GRFN_EXT | Extension object type | 20091218 | |||
| 2 | IV_TABLE | Value transfer | Type reference (TYPE) | TABNAME | Table Name | 20091117 | |||
| 3 | RO_LINE_TYPE | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20091117 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091217 |
Method UTIL_GET_NORMAL_FLD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXT | Call by reference | Type reference (TYPE) | GRFN_EXT | 20100602 | ||||
| 2 | RT_EXT_NORMAL_FLD | Value transfer | Type reference (TYPE) | GRFN_T_FLD | Field metadata table | 20100602 |
Method UTIL_GET_NORMAL_FLD on class CL_GRFN_MODEL_EXT_DATA_DB has no exception.
Method UTIL_GET_RELATED_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXT | Call by reference | Type reference (TYPE) | GRFN_EXT | Extension object type | 20100305 | |||
| 2 | IV_FIELD | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20100305 | |||
| 3 | IV_TABLENAME | Call by reference | Type reference (TYPE) | TABNAME | Control Structure for Testing the Table Name (Apart fr. SAA) | 20100305 | |||
| 4 | RV_FIELD | Value transfer | Type reference (TYPE) | FIELDNAME | Field Name | 20100305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100305 |
Method UTIL_GET_TABLES_BY_EXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXT | Call by reference | Type reference (TYPE) | GRFN_EXT | 20091218 | ||||
| 2 | RT_EXT_DB_META | Value transfer | Type reference (TYPE) | GRFN_T_EXT_DB_META | 20091218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091218 |
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 600 |