SAP ABAP Class CL_GRRM_CLEANUP_MANAGER (Central singleton class for entity and dependency descript.)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷ GRC-RM (Application Component) GRC Risk Management
⤷ GRRM_UTIL_DELETE (Package) Service infrastructure of mass deletion
⤷ GRC-RM (Application Component) GRC Risk Management
⤷ GRRM_UTIL_DELETE (Package) Service infrastructure of mass deletion
Properties
Class | CL_GRRM_CLEANUP_MANAGER | |
Short Description | Central singleton class for entity and dependency descript. | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | GRRM_UTIL_DELETE | Service infrastructure of mass deletion |
Created | 20081110 | SAP |
Last change | 20141106 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | CL_GRFN_FREQUENCY_FROMD | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_GRRM_CLEANUP_MANAGER has no interface implemented.
Friends
Class CL_GRRM_CLEANUP_MANAGER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MC_DATAMART | Constant | Public | Type reference (TYPE) | STRING | 'DATAMART' | 20081118 | ||
2 | MC_DEP_ABS | Constant | Public | Type reference (TYPE) | CHAR1 | 'a' | Single-Character Flag | 20081124 | |
3 | MC_DEP_ENTITY | Constant | Public | Type reference (TYPE) | CHAR1 | 'e' | Single-Character Flag | 20081124 | |
4 | MC_DEP_LOGICAL | Constant | Public | Type reference (TYPE) | CHAR1 | 'l' | Single-Character Flag | 20081124 | |
5 | MC_DEP_NONE | Constant | Public | Type reference (TYPE) | CHAR1 | 'n' | Single-Character Flag | 20081124 | |
6 | MC_DEP_PART | Constant | Public | Type reference (TYPE) | CHAR1 | 'p' | Single-Character Flag | 20081124 | |
7 | MC_FACTSHEET | Constant | Public | Type reference (TYPE) | STRING | 'FACTSHEET' | 20081208 | ||
8 | MC_KRIHIST | Constant | Public | Type reference (TYPE) | STRING | 'KRI_HISTORY' | 20081118 | ||
9 | MC_SEL_ALL | Constant | Public | Type reference (TYPE) | CHAR1 | 'a' | Single-Character Flag | 20081124 | |
10 | MC_SEL_NONE | Constant | Public | Type reference (TYPE) | CHAR1 | 'n' | Single-Character Flag | 20081124 | |
11 | MC_SEL_PART | Constant | Public | Type reference (TYPE) | CHAR1 | 'p' | Single-Character Flag | 20081124 | |
12 | MC_VALIDATION | Constant | Public | Type reference (TYPE) | STRING | 'VALIDATION' | 20081203 | ||
13 | MC_WORKFLOW | Constant | Public | Type reference (TYPE) | STRING | 'WORKFLOW' | 20081118 | ||
14 | MO_INSTANCE | Static Attribute | Private | Object reference (TYPE REF TO) | CL_GRRM_CLEANUP_MANAGER | Central singleton class for entity and dependency descript. | 20081110 | ||
15 | MO_LOG | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GRRM_CLEANUP_LOG | The log. | 20081110 | ||
16 | MO_SESSION | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20081110 | ||
17 | MT_ENTITIES | Instance attribute | Private | Type reference (TYPE) | GRRM_T_TRANS_ENTITY_INFO | Contains entity information for cleanup report. | 20081110 | ||
18 | MT_ENTITY_DEPENDENCY | Instance attribute | Private | Type reference (TYPE) | GRRM_T_TRANS_ENTITY_DEPENDENCY | Models a dependency between two entity types. | 20081110 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_ENTITY | Instance method | Public | Method | Adds entity to the manager for deletion. | 20081110 |
2 | ADD_ENTITY_DEPENDENCY | Instance method | Public | Method | Creates a dependency between two entities. | 20081110 |
3 | ADD_LOGICAL_DEPENDENCY | Instance method | Public | Method | Adds a logical dependency (delete child before parent) | 20081121 |
4 | CHECK_LOGICAL_DEPENDENCIES | Instance method | Private | Method | Method to avoid cicular logical dependencies. | 20081128 |
5 | CONSTRUCTOR | Instance method | Private | Constructor | Creates the object, loads the session. | 20081110 |
6 | CREATE_DELETER_CLASS_NAME | Instance method | Private | Method | Returns the name of a deleter class. | 20081110 |
7 | EXECUTE_DELETION | Instance method | Public | Method | Executes the deletion. | 20081121 |
8 | GET_ENTITIES | Instance method | Public | Method | Returns the added entity information. | 20081110 |
9 | GET_ENTITY_INFO | Instance method | Public | Method | Returns entity information. | 20081118 |
10 | GET_ENTITY_TITLE | Instance method | Public | Method | Directly get the language dependent title of an entity. | 20081210 |
11 | GET_INSTANCE | Static method | Public | Method | Returns the singleton's instance. | 20081110 |
12 | GET_LOG | Instance method | Public | Method | Returns the log. | 20081110 |
13 | GET_SESSION | Instance method | Public | Method | Returns the session. | 20081110 |
14 | INITIALIZE | Instance method | Public | Method | Initializes the manager with standard entities. | 20081124 |
15 | QUERY_DEPENDENCIES | Instance method | Public | Method | Returns the dependencies of a specific entity. | 20081110 |
16 | QUERY_ENTITY_DELETER | Instance method | Public | Method | Returns an object used for deleting entities. | 20081110 |
17 | QUERY_PARENTS | Instance method | Public | Method | Queries entities that the given entity may depend on. | 20081110 |
18 | REFRESH_INSTANCE_COUNTS | Instance method | Public | Method | Refreshes the number of instances for each entity. | 20081110 |
19 | SAVE_LOG | Instance method | Public | Method | Saves the application log. | 20081112 |
20 | UPDATE_LOGICAL_DEPENDENCY | Instance method | Private | Method | Helper method to determine deletion order. | 20081121 |
Events
Class CL_GRRM_CLEANUP_MANAGER has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | YS_ENTITY_ORDER | Private | See coding | 20081121 | BEGIN OF ys_entity_order,
rank TYPE i,
data TYPE grrm_s_trans_entity_info,
END OF ys_entity_order
|
||
2 | YT_ENTITY_ORDER | Private | See coding | 20081121 | yt_entity_order TYPE STANDARD TABLE OF ys_entity_order
|
Method Signatures
Method ADD_ENTITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_ENTITY_INFO | Value transfer | Type reference (TYPE) | GRRM_S_TRANS_ENTITY_INFO | Contains entity information for the cleanup report. | 20081110 |
Method ADD_ENTITY on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method ADD_ENTITY_DEPENDENCY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_ENTITY_DEPENDENCY | Call by reference | Type reference (TYPE) | GRRM_S_TRANS_ENTITY_DEPENDENCY | Shows a dependency between transaction data entities. | 20081110 | ||
2 | Importing | IV_WITH_LOGICAL | Call by reference | Type reference (TYPE) | GRFN_XFLAG | ABAP_FALSE | New Input Values | 20081121 |
Method ADD_ENTITY_DEPENDENCY on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method ADD_LOGICAL_DEPENDENCY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_CHILD | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081121 | ||
2 | Importing | IV_PARENT | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081121 |
Method ADD_LOGICAL_DEPENDENCY on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method CHECK_LOGICAL_DEPENDENCIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_PARENT_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081128 | ||
2 | Returning | RT_ENTITY | Value transfer | Type reference (TYPE) | GRRM_T_TRANS_ENTITY_INFO | Contains entity information for cleanup report. | 20081128 |
Method CHECK_LOGICAL_DEPENDENCIES on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_GRRM_CLEANUP_MANAGER has no parameter.
Method CONSTRUCTOR on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method CREATE_DELETER_CLASS_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_DELETION_CLASS | Call by reference | Type reference (TYPE) | CHAR10 | Character Field Length = 10 | 20081110 | ||
2 | Returning | RV_FULL_NAME | Value transfer | Type reference (TYPE) | STRING | 20081110 |
Method CREATE_DELETER_CLASS_NAME on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method EXECUTE_DELETION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_ENTITY_DATA | Call by reference | Type reference (TYPE) | GRRM_T_TRANS_ENTITY_INFO | Contains entity information for cleanup report. | 20081121 |
Method EXECUTE_DELETION on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method GET_ENTITIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RT_ENTITIES | Value transfer | Type reference (TYPE) | GRRM_T_TRANS_ENTITY_INFO | Contains entity information for cleanup report. | 20081110 |
Method GET_ENTITIES on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method GET_ENTITY_INFO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_ENTITY_ID | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081118 | ||
2 | Returning | RS_ENTITY_INFO | Value transfer | Type reference (TYPE) | GRRM_S_TRANS_ENTITY_INFO | Contains entity information for the cleanup report. | 20081118 |
Method GET_ENTITY_INFO on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method GET_ENTITY_TITLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_ENTITY_ID | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081210 | ||
2 | Returning | RV_TITLE | Value transfer | Type reference (TYPE) | GRFN_TITLE | Title/Short Name | 20081210 |
Method GET_ENTITY_TITLE on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method GET_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_GRRM_CLEANUP_MANAGER | Central singleton class for entity and dependency descript. | 20081110 |
Method GET_INSTANCE on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method GET_LOG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RO_LOG | Value transfer | Object reference (TYPE REF TO) | CL_GRRM_CLEANUP_LOG | Log class for cleanup report. | 20081110 |
Method GET_LOG on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method GET_SESSION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RO_SESSION | Value transfer | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20081110 |
Method GET_SESSION on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method INITIALIZE Signature
Method INITIALIZE on class CL_GRRM_CLEANUP_MANAGER has no parameter.
Method INITIALIZE on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method QUERY_DEPENDENCIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_DEPENDENCIES | Call by reference | Type reference (TYPE) | GRRM_T_TRANS_ENTITY_DEPENDENCY | Whole Number with +/- Sign (-2.147.483.648 .. 2.147.483.647) | 20081110 | ||
2 | Importing | IV_PARENT_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081110 | ||
3 | Importing | IV_RECURSIVELY | Call by reference | Type reference (TYPE) | GRFN_XFLAG | ABAP_TRUE | New Input Values | 20081110 |
Method QUERY_DEPENDENCIES on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method QUERY_ENTITY_DELETER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_ENTITY_ID | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081110 | ||
2 | Importing | IV_PARENT_ENTITY_ID | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081110 | ||
3 | Importing | IV_PARENT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20081110 | ||
4 | Returning | RO_ENTITY_DELETER | Value transfer | Object reference (TYPE REF TO) | CL_GRRM_ENTITY_DELETER | Base class for deletion classes. | 20081110 |
Method QUERY_ENTITY_DELETER on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method QUERY_PARENTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_DEPENDENCIES | Call by reference | Type reference (TYPE) | GRRM_T_TRANS_ENTITY_DEPENDENCY | Models a dependency between two entity types. | 20081110 | ||
2 | Importing | IV_CHILD_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081110 | ||
3 | Importing | IV_RECURSIVELY | Call by reference | Type reference (TYPE) | GRFN_XFLAG | ABAP_TRUE | New Input Values | 20081110 |
Method QUERY_PARENTS on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method REFRESH_INSTANCE_COUNTS Signature
Method REFRESH_INSTANCE_COUNTS on class CL_GRRM_CLEANUP_MANAGER has no parameter.
Method REFRESH_INSTANCE_COUNTS on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method SAVE_LOG Signature
Method SAVE_LOG on class CL_GRRM_CLEANUP_MANAGER has no parameter.
Method SAVE_LOG on class CL_GRRM_CLEANUP_MANAGER has no exception.
Method UPDATE_LOGICAL_DEPENDENCY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CT_DATA | Call by reference | Type reference (TYPE) | YT_ENTITY_ORDER | 20081121 | |||
2 | Importing | IV_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081121 |
Method UPDATE_LOGICAL_DEPENDENCY on class CL_GRRM_CLEANUP_MANAGER has no exception.
History
Last changed by/on | SAP | 20141106 |
SAP Release Created in | 300 |