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
⤷
⤷
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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | 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 | Constant | Public | Type reference (TYPE) | STRING | 'DATAMART' | 20081118 | |||
| 2 | Constant | Public | Type reference (TYPE) | CHAR1 | 'a' | Single-Character Flag | 20081124 | ||
| 3 | Constant | Public | Type reference (TYPE) | CHAR1 | 'e' | Single-Character Flag | 20081124 | ||
| 4 | Constant | Public | Type reference (TYPE) | CHAR1 | 'l' | Single-Character Flag | 20081124 | ||
| 5 | Constant | Public | Type reference (TYPE) | CHAR1 | 'n' | Single-Character Flag | 20081124 | ||
| 6 | Constant | Public | Type reference (TYPE) | CHAR1 | 'p' | Single-Character Flag | 20081124 | ||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'FACTSHEET' | 20081208 | |||
| 8 | Constant | Public | Type reference (TYPE) | STRING | 'KRI_HISTORY' | 20081118 | |||
| 9 | Constant | Public | Type reference (TYPE) | CHAR1 | 'a' | Single-Character Flag | 20081124 | ||
| 10 | Constant | Public | Type reference (TYPE) | CHAR1 | 'n' | Single-Character Flag | 20081124 | ||
| 11 | Constant | Public | Type reference (TYPE) | CHAR1 | 'p' | Single-Character Flag | 20081124 | ||
| 12 | Constant | Public | Type reference (TYPE) | STRING | 'VALIDATION' | 20081203 | |||
| 13 | Constant | Public | Type reference (TYPE) | STRING | 'WORKFLOW' | 20081118 | |||
| 14 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_GRRM_CLEANUP_MANAGER | Central singleton class for entity and dependency descript. | 20081110 | |||
| 15 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GRRM_CLEANUP_LOG | The log. | 20081110 | |||
| 16 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20081110 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | GRRM_T_TRANS_ENTITY_INFO | Contains entity information for cleanup report. | 20081110 | |||
| 18 | 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 | Instance method | Public | Method | Adds entity to the manager for deletion. | 20081110 | |
| 2 | Instance method | Public | Method | Creates a dependency between two entities. | 20081110 | |
| 3 | Instance method | Public | Method | Adds a logical dependency (delete child before parent) | 20081121 | |
| 4 | Instance method | Private | Method | Method to avoid cicular logical dependencies. | 20081128 | |
| 5 | Instance method | Private | Constructor | Creates the object, loads the session. | 20081110 | |
| 6 | Instance method | Private | Method | Returns the name of a deleter class. | 20081110 | |
| 7 | Instance method | Public | Method | Executes the deletion. | 20081121 | |
| 8 | Instance method | Public | Method | Returns the added entity information. | 20081110 | |
| 9 | Instance method | Public | Method | Returns entity information. | 20081118 | |
| 10 | Instance method | Public | Method | Directly get the language dependent title of an entity. | 20081210 | |
| 11 | Static method | Public | Method | Returns the singleton's instance. | 20081110 | |
| 12 | Instance method | Public | Method | Returns the log. | 20081110 | |
| 13 | Instance method | Public | Method | Returns the session. | 20081110 | |
| 14 | Instance method | Public | Method | Initializes the manager with standard entities. | 20081124 | |
| 15 | Instance method | Public | Method | Returns the dependencies of a specific entity. | 20081110 | |
| 16 | Instance method | Public | Method | Returns an object used for deleting entities. | 20081110 | |
| 17 | Instance method | Public | Method | Queries entities that the given entity may depend on. | 20081110 | |
| 18 | Instance method | Public | Method | Refreshes the number of instances for each entity. | 20081110 | |
| 19 | Instance method | Public | Method | Saves the application log. | 20081112 | |
| 20 | 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 | 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 | IS_ENTITY_DEPENDENCY | Call by reference | Type reference (TYPE) | GRRM_S_TRANS_ENTITY_DEPENDENCY | Shows a dependency between transaction data entities. | 20081110 | |||
| 2 | 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 | IV_CHILD | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081121 | |||
| 2 | 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 | IV_PARENT_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081128 | |||
| 2 | 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 | IV_DELETION_CLASS | Call by reference | Type reference (TYPE) | CHAR10 | Character Field Length = 10 | 20081110 | |||
| 2 | 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 | 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 | 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 | IV_ENTITY_ID | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081118 | |||
| 2 | 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 | IV_ENTITY_ID | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081210 | |||
| 2 | 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 | 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 | 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 | 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 | 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 | IV_PARENT_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081110 | |||
| 3 | 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 | IV_ENTITY_ID | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081110 | |||
| 2 | IV_PARENT_ENTITY_ID | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081110 | |||
| 3 | IV_PARENT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20081110 | |||
| 4 | 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 | ET_DEPENDENCIES | Call by reference | Type reference (TYPE) | GRRM_T_TRANS_ENTITY_DEPENDENCY | Models a dependency between two entity types. | 20081110 | |||
| 2 | IV_CHILD_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20081110 | |||
| 3 | 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 | CT_DATA | Call by reference | Type reference (TYPE) | YT_ENTITY_ORDER | 20081121 | ||||
| 2 | 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 |