SAP ABAP Class CL_GRFN_IO_ID_NAME (ID and Name related logic for IO)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷
GRC (Application Component) Governance, Risk and Compliance
⤷
GRFN_CLM (Package) Shared infrastructure for CLM integration
⤷
⤷
Properties
| Class | CL_GRFN_IO_ID_NAME | |
| Short Description | ID and Name related logic for IO | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRFN_CLM | Shared infrastructure for CLM integration |
| Created | 20101101 | 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) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_GRFN_IO_ID_NAME has no interface implemented.
Friends
Class CL_GRFN_IO_ID_NAME has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | See coding | 20111116 | |||||
| 2 | Static Attribute | Private | Type reference (TYPE) | T_FLD_MAP | 20101112 | ||||
| 3 | Static Attribute | Private | Type reference (TYPE) | T_NAME | 20101101 | ||||
| 4 | Static Attribute | Private | Type reference (TYPE) | T_NAME_SEQ | 20101102 | ||||
| 5 | Static Attribute | Private | Type reference (TYPE) | T_NAME_SEQ | 20101102 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check whether name exists | 20101102 | |
| 2 | Static method | Public | Method | Check unique name | 20101101 | |
| 3 | Static method | Public | Method | Clear all names | 20111116 | |
| 4 | Static method | Public | Method | Generate ID | 20110630 | |
| 5 | Static method | Public | Method | Get field and ID/Name map | 20101112 | |
| 6 | Static method | Public | Method | Get ID | 20110630 | |
| 7 | Static method | Public | Method | Report duplicated name | 20101102 | |
| 8 | Static method | Public | Method | Report non existent name | 20101102 | |
| 9 | Static method | Public | Method | Set field and ID/Name map | 20101112 |
Events
Class CL_GRFN_IO_ID_NAME has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | STATUS | Public | Type reference (TYPE) | I | 20111116 | |
|
| 2 | S_FLD | Public | See coding | 20101112 | begin of s_fld,
entity_id type grfn_api_entity_id,
id type string,
name type string,
fld type string,
value type string,
end of s_fld
|
||
| 3 | S_NAME | Public | See coding | 20101102 | begin of s_name,
name type string,
entity_id type grfn_api_entity_id,
id type string,
count type i,
status type status,
end of s_name
|
||
| 4 | T_FLD_MAP | Public | See coding | 20101112 | t_fld_map type hashed table of s_fld with unique key entity_id fld value
|
||
| 5 | T_ID | Public | See coding | 20120612 | t_id type hashed table of s_name with unique key id entity_id
|
||
| 6 | T_NAME | Public | See coding | 20101102 | t_name type hashed table of s_name with unique key name entity_id
|
||
| 7 | T_NAME_SEQ | Public | See coding | 20101102 | t_name_seq type table of s_name
|
Method Signatures
Method CHECK_NAME_EXISTENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENTITY_ID | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20101102 | |||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20101104 | ||||
| 3 | RV_EXISTENT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20101102 |
Method CHECK_NAME_EXISTENCE on class CL_GRFN_IO_ID_NAME has no exception.
Method CHECK_UNIQUE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENTITY_ID | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20101102 | |||
| 2 | IV_ID | Call by reference | Type reference (TYPE) | STRING | ID can be provided optionally | 20120530 | |||
| 3 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20101101 | ||||
| 4 | RV_UNIQUE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20101101 |
Method CHECK_UNIQUE_NAME on class CL_GRFN_IO_ID_NAME has no exception.
Method CLEAR Signature
Method CLEAR on class CL_GRFN_IO_ID_NAME has no parameter.
Method CLEAR on class CL_GRFN_IO_ID_NAME has no exception.
Method GENERATE_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_NAME | Call by reference | Type reference (TYPE) | T_NAME_SEQ | 20111116 | ||||
| 2 | IV_ENTITY_ID | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20110630 | |||
| 3 | IV_FIND_ID_BY_NAME | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110630 |
Method GENERATE_ID on class CL_GRFN_IO_ID_NAME has no exception.
Method GET_FLD_MAP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ID | Call by reference | Type reference (TYPE) | STRING | 20101112 | ||||
| 2 | EV_NAME | Call by reference | Type reference (TYPE) | STRING | 20101112 | ||||
| 3 | IV_ENTITY_ID | Call by reference | Type reference (TYPE) | STRING | 20101112 | ||||
| 4 | IV_FLD | Call by reference | Type reference (TYPE) | STRING | 20101112 | ||||
| 5 | IV_VALUE | Call by reference | Type reference (TYPE) | STRING | 20101112 |
Method GET_FLD_MAP on class CL_GRFN_IO_ID_NAME has no exception.
Method GET_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENTITY_ID | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | 20110630 | ||||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20110630 | ||||
| 3 | RV_ID | Value transfer | Type reference (TYPE) | STRING | Object ID | 20110630 |
Method GET_ID on class CL_GRFN_IO_ID_NAME has no exception.
Method REPORT_DUPLICATED_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_NAME | Call by reference | Type reference (TYPE) | T_NAME_SEQ | 20101102 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20101102 |
Method REPORT_NON_EXISTENT_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_NAME | Call by reference | Type reference (TYPE) | T_NAME_SEQ | 20101102 | ||||
| 2 | IV_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | IF_GRFN_MESSAGE_CLM=>GC_MESSAGE-NON_EXISTENT_NAME | Message Number | 20101223 | ||
| 3 | IV_MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20101223 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20101102 |
Method SET_FLD_MAP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENTITY_ID | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20101112 | |||
| 2 | IV_FLD | Call by reference | Type reference (TYPE) | STRING | 20101112 | ||||
| 3 | IV_ID | Call by reference | Type reference (TYPE) | STRING | 20101112 | ||||
| 4 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20101112 | ||||
| 5 | IV_VALUE | Call by reference | Type reference (TYPE) | STRING | 20101112 |
Method SET_FLD_MAP on class CL_GRFN_IO_ID_NAME has no exception.
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | V1000 |