SAP ABAP Class CL_GRAC_DT_UTIL (Utility class to do calculations)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷ GRC-AC (Application Component) Access Control
⤷ GRAC_UI_UTILITIES (Package) Access Control GRC Various UI supporting infrastructures
⤷ GRC-AC (Application Component) Access Control
⤷ GRAC_UI_UTILITIES (Package) Access Control GRC Various UI supporting infrastructures
Properties
Class | CL_GRAC_DT_UTIL | |
Short Description | Utility class to do calculations | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | GRAC_UI_UTILITIES | Access Control GRC Various UI supporting infrastructures |
Created | 20121026 | SAP |
Last change | 20141106 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_GRAC_DT_UTIL has no forward declaration.
Interfaces
Class CL_GRAC_DT_UTIL has no interface implemented.
Friends
Class CL_GRAC_DT_UTIL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MC_FAIL_MSG | Constant | Public | Type reference (TYPE) | STRING | '{ "success": "false" }' | JSON Fail msg. | 20121229 | |
2 | MC_SUCCESS_MSG | Constant | Public | Type reference (TYPE) | STRING | '{ "success": "true" }' | JSON Success msg. | 20121229 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSIDER_PARENT_APPROVER | Static method | Public | Method | Parent role's approver need to be considered or not. | 20130124 |
2 | ESCAPE_SPECIAL_CHARACTERS | Static method | Public | Method | This removes special characters which JSON does not like | 20130307 |
3 | FILTER_BP_BY_APPLICATION_AREA | Static method | Public | Method | Filter Business process by Application Area | 20121026 |
4 | FILTER_BY_ENVIRONMENT | Static method | Public | Method | Filter System Results based on environment | 20121026 |
5 | FILTER_CON_BY_APPLICATION_AREA | Static method | Public | Method | Filter Systems by Application Area | 20121026 |
6 | GET_ACTUAL_END_DATE | Static method | Public | Method | Get actual end date | 20121026 |
7 | GET_CON_GRP_RANGE | Static method | Public | Method | Get Range table for connector group | 20121120 |
8 | GET_ROLE_DESC_RESULTS | Static method | Public | Method | Gets role name results | 20121026 |
9 | GET_ROLE_NAME_RESULTS | Static method | Public | Method | Gets role name results | 20121026 |
10 | GET_ROLE_TYPE | Static method | Public | Method | Get role type for the Role | 20130123 |
11 | GET_TCODE_NAME_RESULTS | Static method | Public | Method | Gets role name results | 20121026 |
12 | GET_USER_ID_FROM_NAME | Static method | Public | Method | Will return user id from name string | 20130110 |
13 | GET_USER_NAME_RESULTS | Static method | Public | Method | Gets role name results | 20121026 |
14 | GET_USER_NAME_SET | Static method | Public | Method | Gets possible user name combinations | 20130124 |
15 | REMOVE_SPECIAL_CHARACTERS | Static method | Public | Method | This removes special characters which JSON does not like | 20121127 |
16 | SEARCH_ROLES_BY_KEYWORD | Static method | Public | Method | Test method to check whether functionality works as desired | 20121026 |
Events
Class CL_GRAC_DT_UTIL has no event.
Types
Class CL_GRAC_DT_UTIL has no local type.
Method Signatures
Method CONSIDER_PARENT_APPROVER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_ROLE_ID | Call by reference | Type reference (TYPE) | GRAC_ROLEID | Role ID | 20130124 | ||
2 | Returning | RV_CONSIDER_PARENT | Value transfer | Type reference (TYPE) | GRAC_BOOLEAN | Boolean | 20130124 |
Method CONSIDER_PARENT_APPROVER on class CL_GRAC_DT_UTIL has no exception.
Method ESCAPE_SPECIAL_CHARACTERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | NAME | Call by reference | Type reference (TYPE) | STRING | Description | 20130307 | ||
2 | Returning | RETURNVALUE | Value transfer | Type reference (TYPE) | STRING | 20130307 |
Method ESCAPE_SPECIAL_CHARACTERS on class CL_GRAC_DT_UTIL has no exception.
Method FILTER_BP_BY_APPLICATION_AREA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | LT_BUSPROC | Call by reference | Type reference (TYPE) | GRAC_T_BPROC | Table type for Business Process | 20121026 | ||
2 | Importing | LT_CONGRPRANGE | Call by reference | Type reference (TYPE) | TABLE | 20121026 |
Method FILTER_BP_BY_APPLICATION_AREA on class CL_GRAC_DT_UTIL has no exception.
Method FILTER_BY_ENVIRONMENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_CONNECTORS | Call by reference | Type reference (TYPE) | GRFN_T_CCICONNECTOR_LIST | CCI Connector List | 20121026 | ||
2 | Importing | IT_CONNECTORS | Call by reference | Type reference (TYPE) | GRFN_T_CCICONNECTOR_LIST | CCI Connector List | 20121026 | ||
3 | Importing | IV_ENVIRONMENT | Call by reference | Type reference (TYPE) | GRAC_SYS_TYPE | System Environment | 20121026 |
Method FILTER_BY_ENVIRONMENT on class CL_GRAC_DT_UTIL has no exception.
Method FILTER_CON_BY_APPLICATION_AREA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_APPLICATION_AREA | Call by reference | Type reference (TYPE) | GRFN_CONNGRPTYP | Connector Group type | 20121026 | ||
2 | Changing | LT_SYSTEM_LIST | Value transfer | Type reference (TYPE) | GRFN_T_CCICONNECTOR_LIST | CCI Connector List | 20121026 |
Method FILTER_CON_BY_APPLICATION_AREA on class CL_GRAC_DT_UTIL has no exception.
Method GET_ACTUAL_END_DATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ACTUAL_END_DATE | Value transfer | Type reference (TYPE) | GRAC_ACTUAL_END_DATE | Actual End Date | 20121026 | ||
2 | Importing | DAYS | Call by reference | Type reference (TYPE) | INT2 | 2 byte integer (signed) | 20121026 | ||
3 | Importing | MONTHS | Call by reference | Type reference (TYPE) | INT2 | 2 byte integer (signed) | 20121026 | ||
4 | Importing | TO_DATE | Call by reference | Type reference (TYPE) | GRAC_DATE | Date Description | 20121026 | ||
5 | Importing | YEARS | Call by reference | Type reference (TYPE) | INT2 | 2 byte integer (signed) | 20121026 |
Method GET_ACTUAL_END_DATE on class CL_GRAC_DT_UTIL has no exception.
Method GET_CON_GRP_RANGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_CONGRP_RANGE | Value transfer | Type reference (TYPE) | TABLE | 20121120 | |||
2 | Importing | LT_CONNGRP | Call by reference | Type reference (TYPE) | GRFN_T_CONNECTOR_GROUP | Connector Group | 20121120 |
Method GET_CON_GRP_RANGE on class CL_GRAC_DT_UTIL has no exception.
Method GET_ROLE_DESC_RESULTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RT_ROLES | Value transfer | Type reference (TYPE) | GRAC_T_DT_ROLE_SEARCH_RESULT | Table type for Role Search Result | 20121026 |
Method GET_ROLE_DESC_RESULTS on class CL_GRAC_DT_UTIL has no exception.
Method GET_ROLE_NAME_RESULTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RT_ROLES | Value transfer | Type reference (TYPE) | GRAC_T_DT_ROLE_SEARCH_RESULT | Table type for Role Search Result | 20121026 |
Method GET_ROLE_NAME_RESULTS on class CL_GRAC_DT_UTIL has no exception.
Method GET_ROLE_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_ROLE_ID | Call by reference | Type reference (TYPE) | GRAC_ROLEID | Role ID | 20130123 | ||
2 | Returning | RV_ROLE_TYPE | Value transfer | Type reference (TYPE) | GRAC_ROLE_TYPE | Role Type | 20130123 |
Method GET_ROLE_TYPE on class CL_GRAC_DT_UTIL has no exception.
Method GET_TCODE_NAME_RESULTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RT_ROLES | Value transfer | Type reference (TYPE) | GRAC_T_DT_ROLE_SEARCH_RESULT | Table type for Role Search Result | 20121026 |
Method GET_TCODE_NAME_RESULTS on class CL_GRAC_DT_UTIL has no exception.
Method GET_USER_ID_FROM_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_USERNAME | Call by reference | Type reference (TYPE) | STRING | 20130110 | |||
2 | Returning | RV_USERID | Value transfer | Type reference (TYPE) | STRING | 20130110 |
Method GET_USER_ID_FROM_NAME on class CL_GRAC_DT_UTIL has no exception.
Method GET_USER_NAME_RESULTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RT_ROLES | Value transfer | Type reference (TYPE) | GRAC_T_DT_ROLE_SEARCH_RESULT | Table type for Role Search Result | 20121026 |
Method GET_USER_NAME_RESULTS on class CL_GRAC_DT_UTIL has no exception.
Method GET_USER_NAME_SET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ET_USER_SEARCH_CRITERIA | Value transfer | Type reference (TYPE) | GRFN_T_SEARCH_CRITERIA | Table for setting search param | 20130124 | ||
2 | Importing | IV_SEARCH_VALUE | Call by reference | Type reference (TYPE) | STRING | 20130124 |
Method GET_USER_NAME_SET on class CL_GRAC_DT_UTIL has no exception.
Method REMOVE_SPECIAL_CHARACTERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | DESCRIPTION | Call by reference | Type reference (TYPE) | GRAC_DESCN | Description | 20121127 | ||
2 | Importing | LONGDESC | Call by reference | Type reference (TYPE) | GRAC_LONG_DESCN | Long Description | 20121127 | ||
3 | Returning | RETURNVALUE | Value transfer | Type reference (TYPE) | STRING | 20121127 | |||
4 | Importing | ROLENAME | Call by reference | Type reference (TYPE) | GRAC_ROLE_NAME | Role Name | 20121127 |
Method REMOVE_SPECIAL_CHARACTERS on class CL_GRAC_DT_UTIL has no exception.
Method SEARCH_ROLES_BY_KEYWORD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ROLE_RESULTS | Value transfer | Type reference (TYPE) | GRAC_T_DT_ROLE_SEARCH_RESULT | Table type for Role Search Result | 20121026 |
Method SEARCH_ROLES_BY_KEYWORD on class CL_GRAC_DT_UTIL has no exception.
History
Last changed by/on | SAP | 20141106 |
SAP Release Created in | V1100 |